HI ALL!! first of all congrats with the web and the windows widget script!![]()
1) DHTML Window widget
2)http://www.dynamicdrive.com/dynamici...ndow/index.htm
3)I´m using Window 4 (Content from a DIV on the page) way of creating popups.
I need that inner div to have a button.
That button should run some code, and, here is my difficulty, close the window.
I´m creating my windows in this way:
this code is inside a function, which is called when the page is loaded. Depending several things, 1 or more windows will popup, and the user should be able to close them using that button inside the DIV.Code:divwin=dhtmlwindow.open(datosAlerta.ventana, 'div', 'somediv', literalTitulo, 'width=450px,height=220px,left='+leftInicial+'px,top='+topInicial+'px,resize=0,scrolling=0',"recal"); return false;
My problem is that i dont know how to close a window, using a custom button inside the popUp.
As you may guess, i´m a humble newbie in javascript & dhtml
Thank you very much JS EXPERTS!!!!




Reply With Quote

Bookmarks