Log in

View Full Version : Navigation help!



jameswat1
05-25-2008, 01:46 PM
Hey is there a way for me to make navigation on my site but also make it so I only have to update one point, not have to put each new page in every page I already have made?

I used two frames for a while but that just got annoying, i also am trying and iframe but how can I make those links effect the whole page?

here is my site:

http://www.freewebs.com/watlingtonbros

:confused:Thanks!:confused:
James

molendijk
05-25-2008, 02:53 PM
Don't put your navigation menu in (i)frames. Use PHP to include your menu on every page. If you cannot use it, this (http://www.dynamicdrive.com/forums/showthread.php?t=28620) may be of useful.
---
Arie Molendijk.

jameswat1
05-25-2008, 05:59 PM
I don't get that, I tried it with putting my navigation's URL in the src=" box but it doesn't work.

Can you run through it real quick?

molendijk
05-25-2008, 07:06 PM
I don't get that, I tried it with putting my navigation's URL in the src=" box but it doesn't work.

Can you run through it real quick?
Then I guess something went wrong. Can you give me the code you tried, or a link to what you tried?
---
Arie.

jameswat1
05-31-2008, 04:15 PM
never mind thanks though, i used the iframes to code it.
It would be helpful with yours though, just to confusing haha.

ratih
06-04-2008, 03:34 PM
hi, i read but i don't understand how to do it. is iframe easier? im also annoyed having to change each pages, every time i make changes, hope you could help

Medyman
06-05-2008, 01:01 PM
hi, i read but i don't understand how to do it. is iframe easier? im also annoyed having to change each pages, every time i make changes, hope you could help

Using iframes can be easier but you sacrifice your search engine rankings. If that's ok with you, then use iframes, i guess.

The other way to do it would be to use PHP includes. Here (http://dynamicdrive.com/forums/showthread.php?t=28260) is a tutorial by tech_support on how that's done. This doesn't come with the SEO problems of the first method. However, you do need PHP on your server. This usually isn't a problem unless you're using a free host.