Certainly. You can access the main window from within the popup window via JavaScript. Supposedly you've opened a DHTML window on the main page using the following:
Code:
var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://google.com", "Google Web site", "width=700px,height=450px,resize=1,scrolling=1,center=1", "recal")
Inside the popup window window, to refer back to the main window, you'd use the code:
So to do what you're trying to do, you may create a call a function such as the following within your popup window:
Code:
function goto(){
parent.googlewin.close()
parent.location='http://google.com'
}
Bookmarks