/ Published in: jQuery
Expand |
Embed | Plain Text
<script src="http://jquery.com/src/jquery-latest.js"></script> <script type="text/javascript"> function init() { $(".showing").toggle( function() { $(this).prev().show("slow"); $(this).text("Show"); return false; }, function() { $(this).prev().hide("fast"); $(this).text("Hide"); return false; } ); } $(document).ready(init); </script>
You need to login to post a comment.
