1) Script Title:
DHTML Modal window v1.1
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm
3) Describe problem:
We're using this in a fashion where we can have popups within popups. The problem is, in a 2nd level popup we need to be able to manually close the popup just one level up. We also need to be able to execute the javascript methods that are included in just one level up. Currently, the following snippet will work if there is not more than one level:
if (parent != null && parent.IsFormDirtyParent() == false) {
parent.modalPopupVar.hideforce();
return true;
}
But any idea how to access just one level up (as parent is going all the way to the top). I hope this makes since and there is a way.
Bookmarks