View Single Post
Old 02-24-2012, 11:44 AM   PM User | #2
Lerura
Regular Coder

 
Lerura's Avatar
 
Join Date: Aug 2005
Location: Denmark
Posts: 869
Thanks: 0
Thanked 112 Times in 111 Posts
Lerura will become famous soon enough
I am affraid not!

Css can alter the appearance of the hovered element and or it's child element.
It cannot alter the apperance nor content of outside elements

For this you will need a bit of javascript like:
Code:
onmouseover="document.getElementById('TextBox').innerHTML='Newtext' return true"
and
Code:
onmuseout="document.getElementById('TextBox').innerHTML='' return true"
added to the image tag.
Lerura is offline   Reply With Quote