View Full Version : Attempting the impossible...


smartie5602
06-23-2004, 10:01 AM
I really don't know if this is possible, I'm fairly experienced in HTML (self taught) but I never came accross it before.

I would like to be able to change HTML code that appears on every page to something different. For example, to create a menu bar made of links in a table, which will appear on every page. If I want to change one of the options in the menu bar and do it without going through every page!!

I dont know if I can do it using CSS, since that is for attributes rather than content.

I know its a long shot, but if anyone has any suggestions!

xxLiz

Cherchezlafemme
06-23-2004, 01:11 PM
You mean like a changing what exactly? Could you be more detailed please. Do you mean like being able to change the look of a site or something lol

pb&j
06-23-2004, 01:30 PM
by the sounds of it, you will want to look into one of these...

frames
iframes
ssi includes (if your host supports them)
php includes (if your host supports them)

jessi15
06-23-2004, 01:56 PM
I know what you mean. I had a layout up for like a week and I was already sick of having to change my sidebar (w/ my links, affiliates...) for every single page. I use freewebs so I can't use php. I used frames once, and I hated it, but then I went back. You just have to remember that for links to outside site to put target="blank" otherwise it looks really bad. That's what I forgot to do the first time. I'm so relieved now that I can just change the navigation.html page and everything's set.

[sorry for my rambling on]

smartie5602
06-23-2004, 07:18 PM
Yeh I know about frames, I used to use them but really find them quite annoying now I much prefer the looks I can achieve with tables I think they look more professional.

The main thing I want to be able to change on each page in one go is my navigation menu. With frames, it is simple to just change the nav page. My query is whether its possible to somehow be able to format pages so that things such as the nav bar can be changed easily without having to go through every page in the website (there is going to be a lot on my site!). I already use CSS to change the style of the site, but still have to change all the actual content manually.

I do not know anything about PHP or the other thing u mentioned, do they require a specific program, or a new language?

Thanks for your help,

xxLiz

pb&j
06-23-2004, 07:37 PM
ssi and php are serverside coding.
they are kinda like an add-on script.
you have to check with your host space to see if they allow these.
if so, do a search for some tutorials.
if not, (i)frames are still a viable option.

smartie5602
06-27-2004, 10:42 PM
I had never tried i-frames before, didn't know how they worked, didn't really know anything about them (heh and I call myself an advanced html speaker! lol)! After my issues with regular frames (can't stand 'em!) I steered away from all things frame. I have just discovered that i-frames were in fact the answer to my problems! lol

cheers!

xxLiz