HighDots Forums  

Hiding a part of html content

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss Hiding a part of html content in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paulo da Silva
 
Posts: n/a

Default Hiding a part of html content - 12-03-2007 , 08:19 PM






Hi.

How do I hide/show part of an html?

For ex.:

....
<div id=div1>
Content to be hidden (or, if hidden, shown)
</div>


....
if (some condition)
hide_div1()
else
show_div1()

Thanks

Reply With Quote
  #2  
Old   
Paulo da Silva
 
Posts: n/a

Default Re: Hiding a part of html content - 12-04-2007 , 07:14 PM






Paulo da Silva escreveu:
Quote:
Hi.

How do I hide/show part of an html?

For ex.:

....
div id=div1
Content to be hidden (or, if hidden, shown)
/div


....
if (some condition)
hide_div1()
else
show_div1()

Thanks
The here posted "toggle_visibility function and cookies" resolves my
problem.

Thanks for any other comments however ...


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.