Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > How to load an html page inside a frame?

How to load an html page inside a frame?
Thread Tools
Mac Elite
Join Date: Feb 2002
Location: Hilton Head, SC
Status: Offline
Reply With Quote
Aug 23, 2003, 05:59 PM
 
I've got a page on my website that I want to load another HTML page inside a frame of.... Do you guys know the code off hand? (or have an example page that I can veiw source on?)

Thanks!
     
Registered User
Join Date: Jul 2003
Location: San Jose
Status: Offline
Reply With Quote
Aug 23, 2003, 09:11 PM
 
[php]
<frameset name="window" border="0" frameborder="0" rows="90,60">
<frame src="top.htm" name="frame1" noresize frameborder="0" marginwidth="0" marginheight="0" scrolling="no" border="0">
<frame src="bottom.htm" name="frame2" noresize frameborder="0" marginwidth="0" marginheight="0" scrolling="no" border="0">
</frameset>
[/php]

this is for one frame on top of the other. if you want side-to-side, switch 'rows=' to 'cols='...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:20 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2