Tutorial:
- Upload an external page or photo gallery to your remote server. Note the file location.
- Place a text box in your NOF page layout area.
- Click inside the box as if to type a letter and hit Ctrl+T to bring up an HTML insertion box.
- Copy and paste the following code inside the HTML box.
<iframe name="Frame1" id="Frame1" src="http://yoursite.com/PhotoGallery/index.html" width="100%" height="425" align="left" frameborder="0" scrolling="auto">Your broswer doesn't support inline frames, please upgrade to a modern browser that does.</iframe>
- Change the SRC= to an absolute URL of the page on your server.
- Change the height and width in pixels or % to fit your layout.
- Keep Scrolling set to "auto." This is important as some visitors to your web site may have increased their browser text size and will need the scrollbar. If it isn't there, they won't be able to see all the conent on that page.
- Hit OK.
- Ctrl+S to save.
- Do a local publish and test in the major browsers.
HINT: If your Iframe page is not aligned correctly, try placing it on a Zero Margins page (no MasterBorder).
Links to open pages in Iframes:
- In your link properties box, where it says TARGET, select EXISTING from the drop list.
- Click the ADD button
- Type the name of your frame and hit OK.
It is possible to have more than one Iframe on a page. In this case you might wish to name each iframe FRAME1, FRAME2, FRAME3, etc...
That's all there is to it. We hope you found this tutorial useful. For more information on the use of Iframes in html pages, visit the W3Schools.com
|