OZONE Asylum
FAQ
How do I toggle the visibility of layers?
This page's ID:
5260
Search
QuickChanges
Forums
FAQ
Archives
Register
You are editing "How do I toggle the visibility of layers?"
Who can edit an FAQ?
Anyone registered may edit an FAQ.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Changing the visibility of a layer can be a very useful tool for swapping pages very quickly. There are 2 styles which will do the trick: [b]display[/b] - this will toggle the layer and remove it from the page (the space collapses) but is not supported by older browsers. [b]visibility[/b] - this will make the layer appear and disappear but the space where the layer was remains and this is more widely supported. ------------------------------ Relevant links: [url=http://www.max.co.yu/ozone/multi_divs.html]MAX's "Layers as Pages" Demo[/url] ------------------------------ Relevant threads: [url=http://www.ozoneasylum.com/Archives/Archive-000003/HTML/20001015-2-000137.html]making layers disappear [/url] [url=http://www.ozoneasylum.com/Archives/Archive-000003/HTML/20011029-2-000726.html]DHTML Hide and Unhide onLoad Question[/url] [url=http://www.ozoneasylum.com/Archives/Archive-000003/HTML/20001001-2-000094.html]Layer Visibility/onMouseover...[/url] [url=http://www.ozoneasylum.com/Archives/Archive-000003/HTML/20000607-2-000025.html]layer visibiltiy help[/url] [url=http://www.ozoneasylum.com/Forum2/HTML/001043.html]Visibilety and z-index[/url] [url=http://www.ozoneasylum.com/Forum2/HTML/001757.html]Using JavaScript to display/hide a form element?[/url] _______________________ [internallink=4626]Emperor[/internallink] [small][i](Added by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Emperor]Emperor [/url] on Tue 03-Sep-2002)[/i][/small] [small][i](Edited by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Emperor]Emperor [/url] on Thu 05-Sep-2002)[/i][/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »