I built a site that had to have an "onload function" change an image in
another frame.
Here is the frame source and onload code. It works crossbrowser.
<frameset rows="105,*" cols="*" border=0 frameborder="NO">
<frame src="banner.htm" name="banner" scrolling="NO" noresize
border="0" marginwidth="0" marginheight="0" frameborder="NO">
<frameset cols="200,*" rows="*">
<frame src="about:blank" name="toc" frameborder="NO">
<frame src="about:blank" name="content" frameborder="NO">
</frameset>
</frameset><noframes>
<BODY onLoad="parent.frames[0].location='banner02.htm';return true;">
the link is:
http://www.interrel.com
IE is all it was tested for visually.
wes currier
Nuno Ferreira wrote:
>
> Hi Guys,
>
> I'm building a site, using DynAPI in frames.
> That is, I have the DynAPI load into a hidden frame and then
> building all the layers in another frame.
>
> But (there's always a but), I discovered (DUH!) that to move
> a layer in a function that is called for instance from a <a href> tag
> I need to call the dom to that frame:
>
> top.framename.whateverLayer.moveTo(x,y);
>
> This line is ok in Explorer, but in Netscape it doesn't work...
>
> any ideas?
> Am I missing something here? (probably)...
>
> 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