HighDots Forums  

Re: conditional navigation bar

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: conditional navigation bar in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Stephen Poley
 
Posts: n/a

Default Re: conditional navigation bar - 07-03-2003 , 01:24 PM






On 3 Jul 2003 06:49:19 -0700, cindypsych (AT) yahoo (DOT) com (Cynthia Parker)
wrote:

Quote:
I am a newbie to web programming so please bear with me. I have
created a navigation bar using Macromedia Dreamweaver / Fireworks. As
is typical with many nav bars, when you are on a given page that
button displays its "mouseover" image so that you can easily tell
which page you are on. To do this I had to edit the code on each
page.

Unfortunately, I have a hundred pages in this site and when I have to
change that nav bar I have to edit each one individually. I would
like to be able to put this nav bar in a template and create the pages
from the template so that I only have to edit the template.
<snip>

Quote:
Can someone help me? Does someone have a javascript example of a nav
bar like this that I can take a look at the code? Thank you.
Rather than using Javascript, I suggest you look into either
preprocessing or SSI (Server Side Includes). They are more reliable, as
they make no demands on the client configuration, and are likely to be
useful for other similar problems in the future.

--
Stephen Poley
Barendrecht, Holland


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.