Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessibility and Layers

Status
Not open for further replies.

britbrat5uk

Programmer
Oct 22, 2004
2
GB
Hi,

I need some advice as to which direction to go in with regards to creating pages that will display bits of information but without using JavaScript as I am trying to ensure that the website is accessible as possible to those who do not have JS enabled.

I want the information to appear once a link has been clicked on and to go away when another link is clicked on. Very much like the JS way.

I thought about using CSS but have no idea how to implement that without some form of JS. Any advice would be appreciated.

Thanks

BB5
 
Nope, CSS cannot do this. CSS only has hover (when you are over with the mouse) and focus (when you select something) to work with. While focus might do, the information will disappear if you click another link or click anywhere else in the screen (i.e. element will lose the focus). Focus is also not widely supported yet.

My suggestion is to go server side if you can. Have a script that shows data according to the variable passed in the query string. That will display your different data to the largest possible audience.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top