be*********@gmail.com wrote:
I have a css tabbed text menu (Home - Services - About - Contact) and
would like to show appropriate text formatted in <divblocks on the
webpage when clicking on the menu. Is it possible to do without
javascript? I was experimenting for a day, but found no solution. So
far it seems the only way is to use js to hide/show <divblocks with
an ID.
many thanks, Bela
Well, any browser that supports the :target pseudo-class (Wikipedia
tells me that FF >= 1.5, Safari (unknown version), Konqueror >=3.4,
Opera >= 9.5, and MS's non-IE layout engine >= 0.9 support it) can use
clever targeting to do the job. However, :target is in CSS 3, so
practical usage is impossible...
--
Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth