cancer10
02-02-2009, 05:41 PM
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>
Question: Is there anyway I can slide a DIV from left to right and vice-versa?
Please help.
Thanx in advance
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>
Question: Is there anyway I can slide a DIV from left to right and vice-versa?
Please help.
Thanx in advance