User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 374,006 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,871 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser:
Views: 684 | Replies: 4
Reply
Join Date: Jan 2008
Posts: 2
Reputation: kellysweeney24 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kellysweeney24 kellysweeney24 is offline Offline
Newbie Poster

Editing a Nav Bar

  #1  
Jan 16th, 2008
I want to set up m y web page so that if I edit anything on a nav bar I only have to edit it in one place, and not on other pages. How do I do this?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2007
Location: Las Vegas, Nevada
Posts: 83
Reputation: johnsquibb is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 14
johnsquibb's Avatar
johnsquibb johnsquibb is offline Offline
Junior Poster in Training

Re: Editing a Nav Bar

  #2  
Jan 17th, 2008
You could go about this a couple of ways, depending on what scripting languages you are going to use. If you are using a server-side language such as PHP or ASP, you could use server side includes or database interaction to integrate your nav bar from a single location into multiple pages.

If you are using straight HTML, you could employ the 'old-school' method by using frames to create a navigation pane. The W3C has a good tutorial for learning about frames here.
Reply With Quote  
Join Date: Jan 2008
Posts: 2
Reputation: kellysweeney24 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kellysweeney24 kellysweeney24 is offline Offline
Newbie Poster

Re: Editing a Nav Bar

  #3  
Jan 17th, 2008
Thank you for your advice, I'm using Dreamweaver and Fireworks, so I think I'm going to use the Frame set way. Thanks again
Reply With Quote  
Join Date: Mar 2006
Location: Japan
Posts: 122
Reputation: HI2Japan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 12
HI2Japan HI2Japan is offline Offline
Junior Poster

Re: Editing a Nav Bar

  #4  
Jan 17th, 2008
Why not use a template within Dreamweaver. With that, you make how you want all o fyour pages to look (provided the design is the same). You make an editable region within the templated page that will house your page content. When you update your nav bar, you do it on the template and it will update all of the pages that the template is applied to.
Reply With Quote  
Join Date: Jun 2004
Location: Hemet, CA
Posts: 427
Reputation: FC Jamison is on a distinguished road 
Rep Power: 5
Solved Threads: 17
Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: Editing a Nav Bar

  #5  
Jan 23rd, 2008
I use javascript for my navigation and then simply call the script from each page.

That way I only need to update the javascript file.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Site Layout and Usability Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Site Layout and Usability Forum

All times are GMT -4. The time now is 10:37 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC