Jquery toggle always open div's / open at start?

If I've understood your question correctly, you want the first content element to stay visible when the others are initially hidden. To do that you can use the :not and :first pseudo-selectors to exclude the first element.

If I've understood your question correctly, you want the first . Content element to stay visible when the others are initially hidden. To do that you can use the :not and :first pseudo-selectors to exclude the first element: jQuery(".

Content:not(:first)").hide(); Here's a working example.

Thank you for the quick reply! This was indeed what I was looking for, thank you for reformulating the original question (English is not my native language). I'm gladd it's actually that simple by using the pseudo-selectors that you provided.

Thank you again! – Kiwi1 Sep 5 at 13:07 You're welcome, glad I could help. There should be a tick to the left of my answer which you can click to accept this answer as the correct one as it helped you!

– James Allardice Sep 5 at 13:09.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions