iFrame script
 

SimplytheBest
Scripts

ASP scripts
PERL scripts
PHP scripts
JavaScripts & Ajax
Snippets
Online scripts

Ajax, DHTML
& JavaScripts

Animation
Background
Bookmarks
Buttons
Calculators
Cookies
Data handling
E-mail
Enhancements
Forms
Image rotation
Menus
Messages
Miscellaneous
Music
Password protection
Redirection
Scrollers
Tables
Time & date
Windows

Publishers
Add script
Account login
Publisher list



 

Home > Scripts > DHTML scripts & JavaScripts > Enhancements > iFrame script

 

Inside frame script

AUTHOR: Public domain
TYPE: Freeware
BROWSERS:
IE 4+, IE 6+, NS 4+, NS 6+

A script that lets you use an iFrame within your HTML document.


EXAMPLE


1)
Insert the following code in the <BODY> section where you want the frame to appear in the page.

then copy (CTRL-C) & paste (CTRL-V)

2) Define the page to display inside the frame and the size of the frame in this section of the code:

<IFRAME name=stbbox src="iframe.html" width="265" height="325">

Define the message to appear with browsers that don't support frames:

<p>Your browser doesn't support frames. Click <a href="iframe.html" target="_blank">here</a> to view the page.</p>


[BACK] [TOP]

 


Copyright © 1997-2009 SimplytheBest Inc. Terms of Use and Legal Disclaimer.
All copyrights are acknowledged. All rights reserved.