|
-
Feb 24th, 2001, 07:06 PM
#1
Thread Starter
PowerPoster
In CSS, say i have something like this:
Code:
A.mylinks:hover{
properties
properties
}
How would i do something simular, but with mousedown?
like, for exapmle:
Code:
A.mylinks:MOUSEDOWN{
properties
properties
}
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Feb 25th, 2001, 07:36 AM
#2
that isn't possible..
"A" has only got three subheads..
:link
:visited
:hover
You cannot declare more... may be some scripting may help
-
Feb 25th, 2001, 04:08 PM
#3
Fanatic Member
You could set a class for the onmousedown event and swap classes in the event through a script.
<style>
.pressed { color:red; }
.norm {color:yellow; }
</style>
<a HREF = "mypage.htm" CLASS = "norm" ONMOUSEDOWN = "this.className = 'pressed';">Click Me</a>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|