Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 04-18-2008, 07:26 PM One File Navigation
Shayman's Avatar
Junior Talker

Posts: 4
Name: Shay Jones
Trades: 0
I am a newbie.
I want to build a side-bar navigation that is scripted so that I can enlarge the side navigation by just going to one file and not having to update every page on the site.
Can you help me?
Please keep it simple, I ain't to bright !
Shayman is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-18-2008, 07:32 PM Re: One File Navigation
nyef's Avatar
Ultra Talker

Posts: 265
Name: Lucas
Trades: 0
Use ASP or PHP include files
nyef is offline
Reply With Quote
View Public Profile Visit nyef's homepage!
 
Old 04-18-2008, 07:54 PM Re: One File Navigation
Gilligan's Avatar
Website Designer

Posts: 1,670
Name: Stefan
Location: London, UK
Trades: 0
Server Side Include (SSI) are your way to go
__________________

Please login or register to view this content. Registration is FREE
Gilligan is offline
Reply With Quote
View Public Profile
 
Old 04-19-2008, 02:23 AM Re: One File Navigation
Webmaster Talker

Posts: 560
Trades: 0
Haha as mentioned before in other threads recently, this topic has been VERY "hot" - as in there have been mant posts on it. I suggest putting the navigation html/css code that you want to go on every page inside a file, lets say "nav.php" then put whereever you want the navigation code to go, on the other pages the following:

<?php
include 'nav.php'
?>

See here for more info: http://us2.php.net/include/

Matt
__________________

Please login or register to view this content. Registration is FREE
170 Designs is offline
Reply With Quote
View Public Profile
 
Old 04-19-2008, 04:56 AM Re: One File Navigation
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.webmaster-talk.com/coding...all-pages.html
http://www.webmaster-talk.com/html-f...ple-pages.html
http://www.webmaster-talk.com/html-f...tml#post707254
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-19-2008, 05:23 PM Re: One File Navigation
Lpspider's Avatar
Seniority Minority

Posts: 1,534
Trades: 0
A php include (as seen in 170 designs) is the most common way and is what I'd recommend.
__________________
AdminAddict.com -
Please login or register to view this content. Registration is FREE
Lpspider is offline
Reply With Quote
View Public Profile Visit Lpspider's homepage!
 
Old 04-20-2008, 07:20 PM Re: One File Navigation
Gilligan's Avatar
Website Designer

Posts: 1,670
Name: Stefan
Location: London, UK
Trades: 0
ASP can be used though

I prefer PHP includes though
__________________

Please login or register to view this content. Registration is FREE
Gilligan is offline
Reply With Quote
View Public Profile
 
Old 04-21-2008, 08:52 PM Re: One File Navigation
Shayman's Avatar
Junior Talker

Posts: 4
Name: Shay Jones
Trades: 0
Thank you for your help. This is a great forum !
Shayman is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to One File Navigation
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.55553 seconds with 12 queries