opera.general
[Top] [All Lists]

Re: Opera not displaying image as it should... Please test.

Subject: Re: Opera not displaying image as it should... Please test.
From: "Steven V. Gunhouse"
Date: Fri, 08 Jul 2005 12:43:56 GMT
Newsgroups: opera.general
On Fri, 08 Jul 2005 07:42:14 -0400, Marko Matic <maticmarko@xxxxxxxxxxxxx> wrote:



http://www.sibinj.com/oTest.htm

It's small page and code look like this:

<span
        onmouseout="
        hidelayer('intl_help');
        image3.src='files/ctx_question_inactive.gif'"

        onmouseover="
        showlayer('intl_help');
        image3.src='files/ctx_question_active.gif'"

<img src="files/ctx_question_inactive.gif" name="image3" width="17" height="17" border="0">
        
</span>



- onmouseover is executed but only "showlayer" function...



It's a naming problem. Prior to this code you have the following:

<SCRIPT language=JavaScript type=text/javascript>
        <!--
        image3 = new Image();
        //-->
</SCRIPT>

Opera is somehow not identifying the "image3" in this block with the "image3" in the other section, if you remove this script then it works as desired. (No, I'm not a Javascript expert, I just tried different changes to your code and removing this section is what worked.)


--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

<Prev in Thread] Current Thread [Next in Thread>