The example in this article describes the usage of jQuery content folding effect plug-in. Share it with everyone for your reference, the details are as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>jQuery Collapsible Fieldset</title>
<script src="js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="js/jquery.coolfieldset.js"></script>
<link rel="stylesheet" type="text/css" href="css/jquery.coolfieldset.css" />
</head>
<body>
<h1>jQuery Collapsible Fieldset</h1>
<br/>
<fieldset id="fieldset1" class="coolfieldset">
<legend>Default</legend>
<div>
<p>By default the <b>fieldset</b> is opened or expanded at start. Click on its <b>legend</b> to close or collapse it.</p>
<p>The code is simply like below</p>
<pre class="brush:php;toolbar:false">
$('#fieldset1').coolfieldset();