Maybe this example is what you have in mind. Just something recycled from another thread, so please excuse the text only supersite.
Please also note that this example won't work when started directly from hard disk in anything but FireFox. But it works when published or when both files are exported to the same directory and then the main site is viewed in preview.
It works almost the same as the above example by egg, but all the code is at the main site.
The placeholder body code contains an iframe with an ID, this ID needs to be updated in the button codes and in the website head code section if changed.
Don't hesitate to ask if something needs explanation.
Bookmarks