/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript" src="/operascroce/misc/ui/ui.core.js"></script> <script type="text/javascript" src="/operascroce/misc/ui/ui.accordion.js"></script> <p> <link rel="stylesheet" href="/operascroce/misc/demos.css" type="text/css" /> <script type="text/javascript"> jQuery(document).ready(function(){ $("#accordion h5").click(function() { $(this).next().toggle("slow"); }).next().hide(); }); </script></p>