[jQuery] Toggle
[jQuery] Toggle
Multiple Toggle Sections.
I wanted to take my toggle world to the next level and create a couple sections.
My instinct tells me I can create a couple more sets in the script to make it happen.
<script type="text/javascript">
$(document).ready(function(){
$("#jQLink").toggle(function(){
$(this).html(" +/-");
$("#jQNews").slideUp("slow");
},function(){
$(this).html(" -/+");
$("#jQNews").slideDown("slow");
});
/* $("#jQJSNews").slideUp("slow");
$("#jQJSNews").slideUp("slow");
*/
/* $("#jQFAQ").slideUp("slow");
$("#jQFAQ").slideUp("slow");
*/
});
</script>
But Would there also have to be a new variable name for jQLink ?
Thanks. p.s. refering to my page. <a href="http://www.jojowebdesign.com/skills/javascript/javascript_content.asp">
http://www.jojowebdesign.com/skills/javascript/javascript_content.asp</a>
<br clear="all">
--
Dan Acuff
Sr. Web Designer, Sr. Web Developer
<a href="http://www.jojowebdesign.com">www.jojowebdesign.com</a>
203.733.6336
<a href="mailto:jojowebdev@gmail.com">jojowebdev@gmail.com</a>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/