Page 1 of 1

Show Dropdown menu from Iframe in main window

Posted: 03 Oct 2018, 09:46
by JanMolendijk
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

Show Dropdown menu from Iframe in main window

Posted: 03 Oct 2018, 13:46
by 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".