[jQuery] Re: help with menu and show/hide divs

2009-03-15 Thread mkmanning
    id = $(this).attr('id'); > >                 $('#' + id + 'Div').show(); > >         ); > > > }); > > > Untested but you get the idea :) > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:jquery.

[jQuery] Re: help with menu and show/hide divs

2009-03-14 Thread kevinm
').hide(); >                 id = $(this).attr('id'); >                 $('#' + id + 'Div').show(); >         ); > > }); > > Untested but you get the idea :) > > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@goog

[jQuery] Re: help with menu and show/hide divs

2009-03-14 Thread Adam Jessop
$('#' + id + 'Div').show(); ); }); Untested but you get the idea :) -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Paul Hutson Sent: 14 March 2009 11:44 To: jQuery (English) Subject: [jQuery] Re: help with menu and sh

[jQuery] Re: help with menu and show/hide divs

2009-03-14 Thread Paul Hutson
Kevin, You could always go back to basics... i.e. the following (you'll have to use your existing hide show code..) - and I know this isn't elegant... if (ClickedItem == "firstdiv") { ShowFirstDiv; HideSecondDiv; HideThirdDiv; } elseif (ClickedItem == "firstdi