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 you assign same class to all the paragraph. so on
clicking on menu you have to hide to the class element and show
the part
If you assign same class to all the paragraph. so on clicking on menu you
have to hide to the class element and show the particular paragraph.
Home
About
Contact
Gallery
:: : :
:: : :
$(document).ready(function{
f
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 s
Hi Stefan What i am getting is that, on click you have to display a
paragraph and hide another.
Home
About
Contact
Gallery
$(.changepara).click(function(){$(.hangepara).hide();
$("#"+this.id).show();
})
})
I think this code will help you.
On Tue, Aug 4, 2009 at 5:29 AM, Stefa
4 matches
Mail list logo