Thanks Raymond,
I will look at it later.
-
Kevin
----- Original Message -----
From: "Raymond Irving" <xw...@ya...>
To: "Dynapi-Dev" <Dyn...@li...>
Sent: Tuesday, June 10, 2003 4:32 PM
Subject: Re: [Dynapi-Dev] NS4 image teaser - fixed
> Hi Kevin,
>
> Here the fix for NS4 image rollover bug.
>
> This should now work in nested layers
>
> --
> Raymond Irving
>
> --- Kevin <ke...@ke...> wrote:
> > Hi Raymond,
> >
> > I'm a bit stuck and wonder if you can help and spot
> > a bug in the api.
> > I'm sure adding coverup layers is not the solution
> > in this case.
> >
> > I've had a good look in event.js, mouse_ns4.js and
> > dynlayer_ns4.js
> > as it looks like if a dynapi.functions.image is not
> > a direct child of the
> > main document (as the examples) the rollover/click
> > images do not
> > have correct references.
> >
> > Looking in functions.image.js _imageGetHTML the
> > third parameter to
> > c='return dynapi._imageHook(...
> > is
> > this._dynobj.doc (where 'this' is the anchor
> > wrapper) doesn't contain
> > the real rendered image array i.e.
> > elm.document.images['Ximage0']
> > I couldn't find an image.length==1 on any layer
> > document. Though I
> > did find a link.length==1.
> >
> > Attached an example. Comment out the insertChild and
> > it will work -
> > very strange situation? Uncommenting my anchored
> > label layer lines
> > has no bearing on the problem but you can see the
> > simple idea I was
> > trying (though I was using ilayers). Anyway any help
> > getting normal
> > ns4 nested image rollover/click layers working would
> > be appreciated.
> >
> > Thanks,
> >
> > -
> > Kevin
> >
> >
>
> > ATTACHMENT part 2 application/x-zip-compressed
> name=getimage2.zip
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
|