salto
03-27-2007, 06:53 PM
1) Script Title: DHTML Window Widget
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
3) Describe problem:
My DHTML window loads automatically as the webpage loads
var awin=dhtmlwindow.open("abox", "iframe", "page_a.htm", "title", "width=270px,height=330px,resize=1,scrolling=1,center=1", "recal")
Is it possible to load page_b.htm when awin is closed and after that allow the user to close the window?
I have been playing around with several awin.close functions and false returns, but it either does not work or I get errors on missing objects, so maybe it is not possible as an onClose event or I am too inexperienced, which is quite likely :( Therefore any help most welcome!
Thank you very much for your attention
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
3) Describe problem:
My DHTML window loads automatically as the webpage loads
var awin=dhtmlwindow.open("abox", "iframe", "page_a.htm", "title", "width=270px,height=330px,resize=1,scrolling=1,center=1", "recal")
Is it possible to load page_b.htm when awin is closed and after that allow the user to close the window?
I have been playing around with several awin.close functions and false returns, but it either does not work or I get errors on missing objects, so maybe it is not possible as an onClose event or I am too inexperienced, which is quite likely :( Therefore any help most welcome!
Thank you very much for your attention