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
getimage2.zip
Description: Zip compressed data