Yep, inside the first window, you'd have something like this:
Code:
<a href='javascript:parent.testwin2.load("iframe", "anotherpage.htm", "New Page Title")'>Load a Page</a>
Where testwin2 is the variable name you assigned to the second window when you opened it, and assumed to be an iframe window, something like:
Code:
var testwin2=dhtmlwindow.open("testbox", "iframe", "apage.htm", "Page Title", "width=590px,height=350px,resize=1,scrolling=1,center=1", "recal")
If the second window is of another type (ie: ajax), your link would instead be:
Code:
<a href='javascript:parent.testwin2.load("ajax", "anotherpage.htm", "New Page Title")'>Load a Page</a>
Bookmarks