Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 28, 2012 06:35 AM by shivalthakur
Member
153 Points
62 Posts
May 27, 2012 08:27 PM|LINK
can someone tell me the jquery code that would fadein the div when its not showing and fade it out when its showing.
thanks..
260 Points
80 Posts
May 28, 2012 06:22 AM|LINK
try the following:-
$('#div').fadeOut(5000)
$('#div').delay(5000).fadeOut(400)
<script type="text/javascript"> $(document).ready(function() { $("#toolbar").fadeIn("slow"); }); </script>
Hope this would help you out.
Participant
1861 Points
541 Posts
May 28, 2012 06:35 AM|LINK
you can use
for more info
http://api.jquery.com/fadeToggle/
Khalid Khan
Member
153 Points
62 Posts
fading in and fading out with the same button
May 27, 2012 08:27 PM|LINK
can someone tell me the jquery code that would fadein the div when its not showing and fade it out when its showing.
thanks..
snh_algorith...
Member
260 Points
80 Posts
Re: fading in and fading out with the same button
May 28, 2012 06:22 AM|LINK
try the following:-
$('#div').fadeOut(5000)
$('#div').delay(5000).fadeOut(400)
<script type="text/javascript">
$(document).ready(function() {
$("#toolbar").fadeIn("slow");
});
</script>
Hope this would help you out.
shivalthakur
Participant
1861 Points
541 Posts
Re: fading in and fading out with the same button
May 28, 2012 06:35 AM|LINK
you can use
.fadeToggle()
for more info
http://api.jquery.com/fadeToggle/
Response.Write("Success");
Best Of Luck
Shival Thakur