If you extract just that part out of the code , does this still happen?
Like this it's pretty hard to see what's going on.
Always worth a try in NS4, is using a setTimeout, to delay the setHTML, or
the animation a little.
Often to much happening at the same time causes problems in NS4.
Otherwise you could try using <span></span> with the background image set
instead of <img>
Or <div> with absolute positioning.
Or separate child DynLayers, with setBgImage(), or setHTML(<img>)
..
Richard.
----- Original Message -----
From: "Nuno Ferreira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 21 May, 2001 15:18
Subject: [Dynapi-Help] Problems with Netscape and setHTML
>
> Hi people,
>
> I'm trying to clean up the site of my company (the one you guys
> generously praised!) so it works on Netscape 4+.
>
> I cleaned the obvious bugs but now I have a problem that I don't
> know why it happens, and I can't seem to be able to solve it.
>
> go to: http://www.wiz.pt/users/nf/wiztest/index.html
>
> If you click on any option of the sub-menu (ex: Interactive Design)
> sometimes, some of the images load ok, sometimes it just shows the
> broken image link). It's random, as long as I can tell, which is
> driving me nuts!!
>
> I've tried preloading the images, but to no avail, I've even tried
> to put the images as <IMG> tags inside the body, with 1x1 size, so
> they load before the DynAPI.onLoad fires up, but the problem remains.
>
> When you do a reload, or close and open the same menu the images load
> correctly or at least some of them.
>
> I'm using the setHTML method to change the content of a layer, and I'm
> using an array to store the content for each menu.
>
> detailText.setHTML(subnavcode["interactive"]);
>
> Is there any thing I'm doing wrong??
> Is this a Netscape bug?(IE seems happy with it)
> Is this a DynAPI thing?
>
> I really really need some help on this!
>
> best,
>
> NunoF
>
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help