[jQuery] Re: Hide/Show glossary page require for website using jQuery

2009-03-06 Thread Sean O
Have you seen the listNav plugin? http://www.ihwy.com/Labs/jquery-listnav-plugin.aspx Sounds like it fits well with what you're looking to do. SEAN O http://www.sean-o.com http://twitter.com/seandotcom JP-47 wrote: > > > Hi There > > I am trying to implement a glossary page (A-Z) for a w

[jQuery] Re: Hide/Show glossary page require for website using jQuery

2009-03-06 Thread James
$(document).ready(function() { $(".codeButton").hide(); $(".codeButton").click(function() { // get text in clicked button var letter = $(this).text(); $(".code").hide(); // hide everything $(".code"+letter).show(); // show only selected })