-
How to open div popup on parent iframe???
Hi,
I have created one tool. In which I want to show result in DIV popup. I have use “fancybox” to show it.
It’s working fine: http://dev.ir2.flife.de/data/test/hpl.php
Select HTML in Select format drop down and then click on “Show Data”.
But if I have to put this tools as iframe in some page like: http://dev.ir2.flife.de/data/test/test.html
So here when I click on “Show Data”. It will show inside iframe only.
Is there any way to show it outside of iframe and in main page?
-
-
Due to security restrictions in browsers, it is not really possible to do anything outside of the iframe.
One option is not using iframes-- maybe you could use ajax instead. Then it might work.
You could also try to communicate between the two windows, maybe with a cookie, or using "parent", but I don't know how well this would work.
The simple answer is: if you open a window within the firame it will always be within the iframe. If you open it on the main page, it can go anywhere.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
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