[jQuery] Re: Check if element is shown with show()

2009-08-04 Thread StefanCandan
What I meant was I have a little menu, and a paragraph for each menu item. Once one of the links is clicked, it should do a check if the paragraphs of the other links are hidden, and if one is not, hide it using the hide(slow) animation to hide it. Then if all are hidden, use show(slow) to show

[jQuery] Re: Check if element is shown with show()

2009-08-04 Thread Charlie Tomlinson
or add an "acitve" class when one is opened, then do $("active").hide().removeClass("active") when click another one. Only "active" will be visible rupak mandal wrote: If youassignsame class to all the paragraph. so on clicking on menu you have to hide to the class element and show

[jQuery] Re: Check if element is shown with show()

2009-08-03 Thread rupak mandal
Hi Stefan What i am getting is that, on click you have to display a paragraph and hide another. lia href= id=home class=changepara Home/a/li lia href= id=about class=changeparaAbout/a/li lia href= id=contact class=changeparaContact/a/li lia href= id=gallery class=changeparaGallery/a/li