Quote:
Originally Posted by sunfighter
I did say "You need to work a little on this". because I wasn't gonna. Since it depends on hover and not onclick, my mind tells me it can be done with css and html and if I was doing it, I'd give it a shot.
|
Of course it can be done.
But to use the demo way, OP have to use a different document structure than originally planned.
Quote:
Originally Posted by footballer27
their both right. Although realistically, the only good way to do this is with javascript
|
You are oh so wrong.
If you can avoid using javascript, as you can do here, it is best to do it.
The CSS way will work even if the user have javascript disabled, (which many users have).
If there was anything in the document that required javascript, then you can just as well use javascript for this purpose.
But there isn't, and then there is no reason to make javascript
:enabled a requirement