Hi!
I have a span which includes some text..and I also have an image, what I simply want to do is to make so that the text in the span gets underlined once the mouse is over either the text or the image, and if its over the image it should underline the spans text..not the image…
What I simply did was connecting the onmouseover fuctions this js function..
where ID is the spans id…
function underlineme(id){
var idinc;
idinc = id;
idinc.style.textDecoration = “underline”;
}
The wierd thing is that this works great in IE, but doesnt works atall in Firefox….any ideas about what the problem could be?..
Its also worth to mention that the rest of the site is runned by an IIS server since Im using ASP.net…
Thanks in advance!