Forum Moderators: open

Message Too Old, No Replies

javascript/firefox issues

         

Avernus

7:44 am on Jun 28, 2005 (gmt 0)



hey all! i got this little problem with my site and firefox... now i dont have a great deal of knowledge in javascript so any help would be appreciated...

this is the area which firefox has an issue with but no other browsers have. basically my script is a mouseover a image link which shows a bit of text underneath about what the link is about etc. now firefox says that its not being defined properly on the second line below.

any help would be appreciated, cheers :)

-----------------------

function reset(){
if (!scriptmenu.contains(event.toElement))
descriptions.innerHTML=temphtml;

-----------------------

trickytrey

12:38 pm on Jun 28, 2005 (gmt 0)

10+ Year Member



I looked at your code and it looks like there is no bracket after the second line:

function reset(){
if (!scriptmenu.contains(event.toElement))}
descriptions.innerHTML=temphtml;

Tell me if this helps.

trickytrey

12:39 pm on Jun 28, 2005 (gmt 0)

10+ Year Member



change that bracket that I made in the last post into an opening bracket instead of a closing one. My Bad!