hypertext question
- Started
- Last post
- 14 Responses
- bandit
hey you guys, tricky question...
If you have a list of hypertext-links, is it possible to keep one highlighted/alternative to the others when clicked ??
(kind of 'button=active status' in CSS or something?)BECAUSE I CANT FIND IT!!
- bandit0
anyone?
(if you dont understand my question, then let me know and i'll rephrase)
- bandit0
*bump*
ok, again. Imagine, you have this list:-item1
-item2
-item3
(all plain hyperlinks)Is there a way to highlight one when clicked? maybe a css-trick?
Give it a try ...
- Stanton0
i'm sorry dude, i think it's possible but i'm not sure, i wouldn't know how to do it and with what browsers it would be capable.
- jox0
"alink" is whe the link is clicked, in your body tag.
- unknown0
just set up your css for your link, visited, hover, and active states.
- jevad0
meester vean does it at http://www.vena.net...look at source....
- schjetne0
"hey you guys, tricky question..."
You only wanted to know if there's possible to have "active" states on links? Hm. Thought that was pretty standard...
- unknown0
That CSS thing is alright... but not reliable!
- schjetne0
I've never had any problems with it. How is it unreliable?
- unknown0
It only stays active as long as you don't click on anything else... and since you'd be using multiple pages... there is a posibility of clicking elsewhere, that would then remove the active state.
- schjetne0
Yeah, that's true. Hm, I guess you would need some javascript stuff on your menu to fix that...
- unknown0
it's a weird element really... coz if you're not using framesets it just changes while the mouse is down (nice detail) but nothing else. Best used where the state is not vitally important.
- chad_allen0
(a href "http://www.google.com" ) Google(/a)
- chad_allen0
Sorry, bad post!