Show Dropdown menu from Iframe in main window

Discuss coding issues, and scripts related to PHP and MySQL.
User avatar
JanMolendijk
Posts: 169
Location: Holland Rotterdam

Show Dropdown menu from Iframe in main window

Well I have some new problem I`m rebuilding a comment system
& succesfully placed it as Iframe addon but for the smilies I want
to use a dropdownbutton....

My Iframe heigth is 40 but I can not find out how
to show the drop-down-list outer the Iframe ????
Now my results are swown only into the Iframe self

Admin
The content from iframe cannot be displayed outside it.
To display the menu it the parent window, it must be created in that page.
From iframe you can access JS functions defined in main page, using this sintax:

Code: Select all

top.function_in_mainPage();
- But then, it is complicated to make the elements from that menu to interact with the iframe content.

- You can search on the internet for "display content outside iframe".

Similar Topics