PDA

View Full Version : Remove Close X



mrsports
05-26-2009, 04:44 PM
1) Script Title: Window Widget

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm

3) Describe problem: I want to have a popup window that does not have a "close" X. I know I could change the dhtmlwindow.js but if I do so, the close X will not appear on any popup. What I want is to be able to set per popup whether the close x appears or not. Is this possible? Thanks.

xereu
05-26-2009, 09:08 PM
This is not probably the best way of doing it, but you can try having 2 dhtmlwindow.js documents, 1 for that single no-close-button window and another one for the rest of the windows. There should be a much better way of doing this probably giving the no-close-button window an id and filtering it with an IF clause, if you can show me the code post a proper link to it, I might be able to add the IF clause.
Xereu