$("div.content").siblings().hide();

On 6/26/07, SimDigital <[EMAIL PROTECTED]> wrote:

I need to hide all html elements inside <BODY>, except a div named
content, but don't know how to do that.

Example original content:
<html>
<body>
<div class="top">My Slogan</div>
<div class="content">Full text about my site</div>
</body>
</html>

After transform:

<html>
<body>
<div class="top" style="display:none;">My Slogan</div>
<div class="content">Full text about my site</div>
</body>
</html>

Then i could transform again and the original content bring back.

Somebody help-me?


Reply via email to