Menu
I’m using XHTML, strict DTD
this code is in my page:
[CODE]<object width=”751″ height=”372″ name=”main” data=”main.htm”></object>
Can I change the data of this object via JavaScript? For example by clicking on a link?
At the moment “main.htm” is shown in the object. I would like to show “page1.htm” in the object by clicking on a link in the page.
When I am in the object, I can manage this with window.document.location, but when I’m working OUTSIDE the object I’m kinda stuck…
I would appreciate any help.
Please do not propose to use an iframe, because I have to use the <object>.
Thanks for any help in advance!