iFrame Loader

This is a simple JavaScript that will load pages in an iFrame. The sample script I have provided can be edited and changed to meet your needs. This version of the script will load ALL links on the index.php in the iFrame; after the page is loaded, you may use links in the iFrame to navigate. The links will not “break frame”.

Server Requirements

  • Javascript

How to install

  • Upload all files
  • Edit (loadiframes.js) if needed
  • Edit (index.php)
  • Edit (page1.php, page2.php, page3.php)
  • File – (frame1.php) is the load page; this is what shows up first before (page1.php)

Zip file Download iFrame Loader V-1 (3 KB)

Live Demo

iFrame Demo Version 1