|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Funny Prank - Need Help with CSS
I've seen it before but I really want to accomplish this and my friends are saying I need to you CSS to accomplish my task. I work for a support company maintaining the web app.
At random times I want to enable my "Magic Floating Button" Basically here is what I need help with. I want my submit button to move away from the user when they mouse over it. This way they can never click submit and they chase the button around all day. Please help me with how to accomplish this. Thanks, Chris |
|
#2
|
||||
|
||||
|
You'll have to use some JavaScript for that.
You could make the submit button an absolute positioned image, and use an onmouseover event tag to tell when the mouse is over it. When the mouse is over the image use a javascript function to move the absolute positioned image by altering the "top" and/or "left" value. Hope that was helpful. ![]()
__________________
DustyReagan.com |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Funny Prank - Need Help with CSS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|