PDA

View Full Version : Like A Frame


Arbitus
10-19-2003, 12:15 PM
Well I dont know what language this woul take so ill post here

I have been working on my new ROM/Emulator site and I have discoved that it takes alot of files. I have also noiced that I have been editing my navagation bar aot adding and deleting. That means that I have to go through abou 40-50 differet files changing the script. So I was wondering if it is possible to make it the my navagation bar is a frame, without that ugly scroller on the site. I want it so the navagation bar has its own file called links, and I only have to edit this to change all of the other files. Thanks Arbitus.


www.emu-land.tk

oracleguy
10-19-2003, 09:48 PM
Try searching for the forums for shtml it should do what you want.

Using a server side include you can have just one file that contains your navigation that is inserted by the server before it is sent to the browser on all the pages that call the afore mentioned file.

Len Whistler
10-20-2003, 12:17 AM
With frames you can easily hide the scroll bar. My site is at www.stubby.ca and I have hidden the scroll bar with the code below.


<frameset cols="180,*" border="0" frameborder="0" framespacing="0">
<frame src="nav.htm" name="No Name" scrolling="no" framespacing="0" marginheight="0" marginwidth="0">
<frame src="infoset.htm" name="content">

And with php you can create one navigation file and include it in all your pages with the include statement.

<?php

include ("nav.php");

?>


Leonard Whistler
www.stubby.ca