-
open the dhtml window from inside a frame
1) Script Title: DHTML Window widget
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm
3) Describe problem: Stuck trying to open the dhtmlwindow from a page inside an iframe, so that the page loads outside the iframe.
I have an index.php with a iframe which loads a page2.html. On page2.html i have a dhtmlwindow.open link.. But when i open the link the dhtmlwindow it opens inside the iframe, and i am struggling to open it outside the iframe, so that it can drag over the entire index.php page..
I have the script and css included on both pages IE: my index.php and the Page2.html. I would like to use this FIX. For both the iframe and div version of the dhtmlwindow.open
Best regards
Antony
-
-
The normal way to activate something outside the iframe is putting parent. before your javascript. In this case, you would do something like:
uniquevar=parent.dhtmlwindow.open(uniqueID, contenttype, contentsource, title, attributes, [recalonload])
I haven't tested it.
Arie Molendijk.
-
The Following User Says Thank You to molendijk For This Useful Post:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks