That seems to do the trick and works in IE6 and Mozilla 1.4 on Win2k.

Leif

----- Original Message ----- 
From: "Raymond Irving" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 05, 2003 11:57 AM
Subject: Re: [Dynapi-Help] Mouseover Bug? - 3.0.0 (Beta 1) -
dynapi.functions.getimage.html


> Hi,
>
> Yes you are correct. I didn't see the problem at first
> but after looking at the code that's when I realized
> the error.
>
> Please see the attached file for a fix to this
> problem. All should work now.
>
> Let me know if this works for you so I can then commit
> to cvs.
>
> --
> Raymond Irving
>
> --- Kevin Breynck <[EMAIL PROTECTED]>
> wrote:
> > Yes it all "seems" to work, but it doesn't.
> >
> > The problem:
> > The parameters of the second imageobject are
> > complete ignored.
> > You can write into the parameter "p2" whatever you
> > want.
> > On mouseover, the second image uses the parameters
> > ("p") of the first
> > imageobject.
> >
> > -k-
> >
> >
> >
> >
> >
> > Raymond Irving <[EMAIL PROTECTED]>
> > Sent by: [EMAIL PROTECTED]
> > 05.08.2003 17:26
> > Please respond to dynapi-help
> >
> >
> >         To:     [EMAIL PROTECTED]
> >         cc:
> >         Subject:        Re: [Dynapi-Help] Mouseover
> > Bug? - 3.0.0 (Beta 1) -
> > dynapi.functions.getimage.html
> >
> >
> >
> > Well, I copied the code and all seems to work well.
> >
> > What browser and version are you using?
> > Have you downloaded the lastest snapshot?
> >
> > PS. I'm unable to regenerate the errors. Please give
> > more info.
> >
> > --
> > Raymond Irving
> >
> > --- Leif W <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > I tried this example unmodified on DynAPI 3 beta 1
> > > and it seemed to work ok,
> > > unless the functionality I observed doesn't match
> > > the functionality you
> > > expect.  I'm not sure what to expect, that's why I
> > > say it seems to work.
> > > ;-)  What I did was make three icon files, a red
> > > block with a white 1
> > > (eicon1.gif), and a green block with a white 2
> > > (eicon2.gif) and a blue block
> > > with a white 3 (eicon3.gif).  What I observerd was
> > > that both behave exactly
> > > the same.  Maybe this is the error?  Both start
> > with
> > > the red-1, mouseover to
> > > the blue-3, and click to the green-2.  From the
> > > code, myImage2 should
> > > mouseover to green-2, and click to blue-3.  I'm
> > not
> > > too familiar with the
> > > Image functions, but I can reproduce the error so
> > > maybe it's a bug in DynAPI
> > > 3 beta 1.  Same thing happens in the updated CVS
> > > code, so it may be a new
> > > bug.  Will have to look into this some more.
> > >
> > > Leif
> > >
> > > ----- Original Message ----- 
> > > Wrom: NSKVFVWRKJVZC
> > > To: [EMAIL PROTECTED]
> > > Sent: Tuesday, August 05, 2003 9:08 AM
> > > Subject: [Dynapi-Help] Mouseover Bug? - 3.0.0
> > (Beta
> > > 1) -
> > > dynapi.functions.getimage.html
> > >
> > >
> > >
> > > Hi everyone,
> > >
> > > i have a problem with the example "Other
> > > Demonstrations" / "- Image
> > > rollovers"
> > >
> > > The shown example is very easy, but if i try to
> > > create a second image object
> > > with the same image path like the first image
> > > object, it doesn't work.
> > > I only changed the downsrc with the oversrc for
> > the
> > > second image object but
> > > it doesn't work.
> > > Am i doing something wrong or is this a bug? And
> > if
> > > it is a bug, how can i
> > > fix it?
> > >
> > >
> >
> ============================================================
> > > <html>
> > > <head>
> > > <title>DynAPI - Image Rollover</title>
> > > <script language="JavaScript"
> > > src="../src/dynapi.js"></script>
> > > <script language="Javascript">
> > >         dynapi.library.setPath('../src/');
> > >
> > > dynapi.library.include('dynapi.functions.Image');
> > > </script>
> > > <script language="Javascript">
> > >         var p =         {
> > >
> > oversrc:'images/eicon3.gif',
> > >
> > downsrc:'images/eicon2.gif'
> > >                 }
> > >
> > >         var p2 = {
> > >
> > oversrc:'images/eicon2.gif',
> > >
> > downsrc:'images/eicon3.gif'
> > >                 }
> > >
> > >         var myImage =
> > >
> >
> dynapi.functions.getImage('images/eicon1.gif',32,32,p);
> > >         var myImage2 =
> > >
> >
> dynapi.functions.getImage('images/eicon1.gif',32,32,p2);
> > > </script>
> > > </head>
> > > <body>
> > > Press move your mouse over the image below and
> > click
> > > on it<br><br>
> > > <script>
> > >         document.write(myImage.getHTML());
> > >         document.write(myImage2.getHTML());
> > > </script>
> > >
> > > </body>
> > > </html>
> > >
> > >
> >
> ============================================================
> > >
> > >
> > >
> > >
> > >
> >
> -------------------------------------------------------
> > > This SF.Net email sponsored by: Free pre-built
> > > ASP.NET sites including
> > > Data Reports, E-commerce, Portals, and Forums are
> > > available now.
> > > Download today and enter to win an XBOX or Visual
> > > Studio .NET.
> > >
> >
>
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > > _______________________________________________
> > > Dynapi-Help mailing list
> > > [EMAIL PROTECTED]
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/dynapi-help
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> > design software
> > http://sitebuilder.yahoo.com
> >
> >
> >
> -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built
> > ASP.NET sites including
> > Data Reports, E-commerce, Portals, and Forums are
> > available now.
> > Download today and enter to win an XBOX or Visual
> > Studio .NET.
> >
>
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> >
> https://lists.sourceforge.net/lists/listinfo/dynapi-help
> >
> >
> >
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to