Logo

Links, Tutorials And Scripts


Why iframes

So, Ok now. You have created a Network54 Index page.
There you have listed all of your boards.

Unfortunately all what you have written in the forum's Description (that text is hidden when you go to the forum's Post page) is to be seen too in your Index.

To hide the text from the Index page you'll have to put it to your forum's Header instead. But do you really want to have the text on ALL of your forum pages?

 

Have a look at my Forum Index Blue OverView. The RT-boards have a huge amount of text in their Descriptions.
Nothing of it is to be seen on Index.

Only the last Forum, the iFrame-Forum has a lot of text - in additon to the used iframe - to show what I'm talking about.


Let's have a look at the
"How-To" TestForum.
The Frontpage is really a set of Two sites:
a) the forum itself and
b) an extra *.html-file where all the stuff for the description box can be stored.
There are frameborders, you complain? Yes, I made it so that you can 'see' the frame. If you want an example for hidden borders you can see it here (RT SGT-Forum), and with borders: here (RT-1.Class-Forum)

How To Realize

• 1. First step - presumed you already have a forum - is to create a *.html-file and upload it to your Realm. (The one I've used is named n54_kopf.html)
(If you don't know how to do this I'd suggest a quick view at the N54 Turorials which will help you through the process of writing a webpage.)

• 2. Put a script to your Forum's Description-Box.
It is the command to open an internal window - the iFrame (internal Frame).
Your *html-page will appear within the iFrame window in your forum.

• 3. Let's have a look at the code I've used here:

<iframe src="/Realm/n54_files/n54_kopf.html" name="Kopf" width="100%" height="20em" align=center hspace=1 vspace=1 scrolling=no> YOUR BROWSER IS OLD, NO iFRAMES FOR YOU ;-) </iframe>
Explanation:

• Between iFRAME and /iFRAME will that html-file appear which you have uploaded afore.
• NAME = if you like to target from a link to your frame (does not any matter in this case. This is if you have another file to show in that frame-window you can use a link with target="Kopf". )
• WIDTH and HEIGHT = the iframe's size. If you have a larger file, you'll need to increase the lenght
• ALIGN = when you have some text right, left or above the frame it tells where to appear. align=left puts the frame to the left and your text aside to its right.
Options are CENTER RIGHT or LEFT etc..
• HSPACE and VSPACE = the space around your frame to its environment.
• SCROLLING = allows scrolling within the frame or .. not ;-) Options are YES or NO. If you have a large text and scrolling is disabled not all of the text can be seen.
• and finally some text for older browsers which do not know iframes. (Do such still exist?)  

_______________________________________________

Another easy way hiding text from you Index is using JavaScript:
Use it as usual in DescriptionBox, in your Forum-Edit-Options.
<script language="Javascript">
<!--//
if (location.href.indexOf("post") != -1){
document.write('');
}
 else document.write('<p>Here your Descriptional Text</p>');
//-->
</script>

_______________________________________________

And for the case you would like to have a descriptional text about your forum at the Index-page but not at the forum itself add style="display:none;" to your tag, which could be a Paragraph or a DIV-Layer or something.

    1/2004 © Ed Home/BilgeRat

Top