Follow the easy steps below to add Slide up and Slide down Effect to your blog.
1.Log in to your dashboard--> layout- ->Page Elements
2.Click on Add a Gadget on the sidebar.
3.Select HTML/Javascript and add the javascript code given below and click save.
$(document).ready(function(){ $('#butSlide').click(function () { $('#divSlide').slideToggle("slow"); }); }); </script> <button id="butSlide">Slide up/down</button> |
Note : Remember to replace 'Insert Your Content Here' with your real content.
You can change the value of height,width,background color,.....