a nice jquery toolbar ;)
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: a nice jquery toolbar ;)
Wow, nice stuff
I haven't gone through it yet, but it has inspired me to put my game on hold for now and learn how to use Javascript/AJAX. It just has so many useful applications for game development and can save a ton of bandwidth as well 
The indelible lord of tl;dr
Re: a nice jquery toolbar ;)
ok a quick alteration. i will make the change to the main tutorial after i have given a breif explanation here lol.
i have removed the queuing from the animation, so where as before it jumped up and down if u scrolled in and out to quick, it will now interupt the animation which is making it go up, and force it back down into place again.
you can see if you visit the test page again.
new final jQuery code.
$(document).ready(function(){
$('#bar').animate({bottom:'-40',opacity: 0.5},{},500,function(){});
$('#bar').mouseenter(function(){
$('#bar').animate({bottom:'0', opacity: 1},{queue:false,duration:800});
});
$('#bar').mouseleave(function(){
$('#bar').animate({bottom:'-40', opacity: 0.5},{queue:false,duration:800});
});
});
i have removed the queuing from the animation, so where as before it jumped up and down if u scrolled in and out to quick, it will now interupt the animation which is making it go up, and force it back down into place again.
you can see if you visit the test page again.
new final jQuery code.
$(document).ready(function(){
$('#bar').animate({bottom:'-40',opacity: 0.5},{},500,function(){});
$('#bar').mouseenter(function(){
$('#bar').animate({bottom:'0', opacity: 1},{queue:false,duration:800});
});
$('#bar').mouseleave(function(){
$('#bar').animate({bottom:'-40', opacity: 0.5},{queue:false,duration:800});
});
});
New Site Coming Soon! Stay tuned 
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: a nice jquery toolbar ;)
I am learning JS right now, and am planning to make use of Jquery as well when I get into AJAX. Once I get there, I will go through this tutorial to learn how to make the toolbar. Thanks 
The indelible lord of tl;dr
Re: a nice jquery toolbar ;)
tbh, i think looking @ jquery after u learn ajax is a pointless exercise (imo, but thts cuz i cnt get the hange of ajax lol)
jquery is just a library of ajax commands that make coding ajax easier and neater.
but again thts my opinion
jquery is just a library of ajax commands that make coding ajax easier and neater.
but again thts my opinion
New Site Coming Soon! Stay tuned 
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: a nice jquery toolbar ;)
I know what you mean, but I would like to try to get a good understanding of it, and then I would like to use JQuery to reduce the amount of work I have to do for effects. It does seem a bit backwards, but I would hope that understanding the underlying AJAX would allow me to use JQuery more effectively.
The indelible lord of tl;dr