Hi, I know how to Slide a DIV from top to bottom and vice-versa. The following code shows how to do it: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> <script> $().ready(function(){ $("#clicky").click(function(){ $("#slide").slideToggle("slow"); }); }); </script> <input name="" type="button" value="Click me" id="clicky"/> <div id="slide"> <h1>Hello World!</h1> </div> Code (markup): Question: Is there anyway I can slide a DIV from left to right and vice-versa? Please help. Thanx in advance
I do a google search and found this. http://answers.yahoo.com/question/index?qid=20081219045029AAkwyql "All you have to do is to add a toggle action, and add inside the animate action: $("#tmenu").toggle(function(){$('#sbco... -getWidth}, 0);}, function(){$('#sbcont').animate({left: +getWidth}, 0);}); }); PHP: for more information take a look in the API of jquery =P"