|
Sponsored Links
$1.99 Domain Names
With every new non-domain purchase thru ZappyHost, you get a domain name for only $1.99. |
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. |
Sponsored Links
Need Website Content?
Get unique, quality digital content for your website.
|