How to use a fold effect in Jquery ?

 Posted by Vivek.Ramapuram on 9/1/2014 | Category: jQuery Interview questions | Views: 1615 | Points: 40

In order to show /hides an element folding in the Html page ..
For example :
Here this code should be written with in Html and body tags
For this Fold effect we should give a link of Jquery Version to run this effect
Css should be written with in the script

This is the Link of Jquery version.
 <script src="//"></script>

<script src="//"></script>

 <link rel="stylesheet" href="//">


div {
width: 600px;
height: 150px;
background: blue;
border: 2px solid black;


$("button").click(function () {
$("div").toggle("fold", 1000);

Asked In: While Learning | Alert Moderator 

Comments or Responses

Login to post response