Got a MySpace Page?Get "www.yourname.com" for your MySpace page. Learn how >>. |
Hide and Display Text with DHTMLYou can hide and display text and other elements using the CSS visibility attribute.
I'm shy - let me hide in peace!
The following code can be used to perform the above miracle:
The text only appears when its visibility attribute is set to visible - clicking the Display Text button calls our display function which sets the visibility attribute to visible. It dissappears when its visibility attribute is set to hidden - clicking the Hide Text button calls our hide function which sets the visibility to hidden. The text was originally hidden is because we had set the style a default visibility of hidden. Enjoy this website?
Oh, and thank you for supporting Quackit! |
FREE Hosting!With every domain name you register with ZappyHost, you get FREE (ad supported) hosting.PLUS you get:
Featured Template:
(Build your websites in minutes!) |