jQuery fadeToggle slow
home
Run
screen_rotation
fullscreen
cloud_download
<!DOCTYPE html> <html> <head> <title>Fade Toggle -Slow- jQuery Example</title> <script type="text/javascript" src="http://code.jquery.com/jquery-2.1.4.min.js"> </script> <script type="text/javascript"> $(document).ready(function(){ $("#fadeInbutton").click(function(){ $("#demoDiv").fadeToggle("slow"); }); }); </script> </head> <body> <a href="javascript:void(0)" id="fadeInbutton"> Click to fade Toggle </a><br> <br> <p id="demoDiv" style="width:100%;display:block;background:yellow;height:180px">This id demo paragraph for show and hide functionality.</p> </body> </html>
<!DOCTYPE html> <html> <head> <title>Fade Toggle -Slow- jQuery Example</title> <script type="text/javascript" src="http://code.jquery.com/jquery-2.1.4.min.js"> </script> <script type="text/javascript"> $(document).ready(function(){ $("#fadeInbutton").click(function(){ $("#demoDiv").fadeToggle("slow"); }); }); </script> </head> <body> <a href="javascript:void(0)" id="fadeInbutton"> Click to fade Toggle </a><br> <br> <p id="demoDiv" style="width:100%;display:block;background:yellow;height:180px">This id demo paragraph for show and hide functionality.</p> </body> </html>
Copyrights@tutorialsplane.com