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

  • Buried in cloud files? We can help with Spring cleaning!

    Whether you use Dropbox, Drive, G-Suite, OneDrive, Gmail, Slack, Notion, or all of the above, Dokkio will organize your files for you. Try Dokkio (from the makers of PBworks) for free today.

  • Dokkio (from the makers of PBworks) was #2 on Product Hunt! Check out what people are saying by clicking here.



Page history last edited by PBworks 15 years, 11 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.