• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

loadIframe

Page history last edited by PBworks 17 years, 8 months ago

Load external page with a buffer Iframe

 

The contents below are two pages loaded in a hidden iframe one by one, then copied into the main page, with your users none the wiser. Go to "view source" at the bottom under "Page Information." The lines in the script relevant for changing are:

 

<div id="stuff"></div>
...
...
...
pages[0] = new Array("Music?raw=bare","stuff");
pages[1] = new Array("Poetry?raw=bare","stuff");

 

The first line defines a container element. The subsequent lines define a loaded page, the first field being the URL and the second field being the id of the container. If you define the same container, it appends to the previous data.


 

 

 

Comments (0)

You don't have permission to comment on this page.