|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Problem with image rollover and text change
I am trying to create an image that when on MouseOver, text on a different part of the page, that is also same link, will appear as if it is being rolled over as well. PLEASE help.... I dont have much hair left from pulling it out... heheeh
-Lucky |
|
#2
|
||||
|
||||
|
You need to write a function to trigger the rollover.
Give both the image and the DIV or SPAN wrapping the text a name or ID's (must be different). Then, trigger the function onmousover, and use the getElementById function to trigger the hover state. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Problem with image rollover and text change |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|