Network54 Tech Tips
Using Frames with your forum
Time: January 06 07:50am


Using Frames with your Network54 Forum:

Use the following code to put your forum within a frameset on your website with a header and a left column for links:
(Note, replace any text LIKE_THIS with the proper code for your website or forum)

<html>
<head>
<title>YOUR_FORUM_TITLE</title>
</head>
<frameset rows="80,*">
<frame name="banner" scrolling="no" noresize target="contents" src="YOUR_HEADER_URL">
<frameset cols="160,*">
<frame name="contents" target="main" src="YOUR_LEFT_COUMN_URL">
<frame name="main" src="http://www.network54.com/Forum/YOUR_FORUM_ID">
</frameset>
<noframes>
<body>

<p>PUT_TEXT_HERE_FOR_BROWSERS_THAT_DO_NOT_SUPPORT_FRAMES</p>

</body>
</noframes>
</frameset>

</html>
 

You can change the rows and columns to reflect the sizes you want. Leaving the * in there will automatically adjust that part of the frame to the existing page size.


Forcing your forum to open in the frames page:

In the header section of your forum, add the following lines, at or near the top of the section. Just be sure to replace YOUR_FRAMES_PAGE with the location of your frames page on your website. Please note that people who do not have JavaScript active will not go to your frames page, the forum will open normally for them.
<script type="text/javascript" language="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
if (window == top) top.location.href = "YOUR_FRAMES_PAGE";
// End -->
</script>

Have your forum open under your domain name using a frames page to embed it:

Use the following code to put your forum within a frameset on your website making it appear to be a page on your website:
(Note, replace any text LIKE_THIS with the proper code for your website or forum)
<html>
<head>
<title>MY_FORUM</title>
</head>

<frameset rows="*">
<frame name="main" src="http://www.network54.com/Forum/YOUR_FORUM_ID/">
<noframes>
<body>

<p>PUT_TEXT_HERE_FOR_BROWSERS_THAT_DO_NOT_SUPPORT_FRAMES</p>

</body>
</noframes>
</frameset>

</html>

[ Network 54 Tech Tips ] [ Adding a POST button ] [ Adding Content to Different Pages ]
[ Adding snow for the holidays }
[ PHP Redirect ] [ HTML Redirect ] [ Embed Forum in a Frame ] [ Smiley Generator ]
[ Using Frames with your forum ] [ Using Inline Frames with your forum ] [ Adding Image Maps to your forum ]
[ Adding images to your forum ] [ How to display a visitor's IP address ] [ How to Add Links to your forum ]
[ Adding a Marquee - (Scrolling Text Box) ] [ How to add Simple Scripts ] [ How to add Sound to your Forum ]
[ Adding a Sticky Message ] [ Adding Tables ] [ Adding Votelet Links ]
[ Browser Issues ] [ AOL Issues ]
[ How to post pictures ] [ How to post a link ]



If you came from a direct link, use the "Back Button".
If you came from a signature link, use "Close This Window".

OZ Website Services Website Services

Valid HTML 4.01 Transitional