HighDots Forums  

template nav bar question

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss template nav bar question in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ryan Janus
 
Posts: n/a

Default template nav bar question - 01-02-2008 , 10:05 PM






Hi. I've recently built a site for my wife Cicily, which you can find at
http://www.cicilyjanus.net. My question is regarding nav bars and templates.
One of the coolest things, IMHO, of templates is how easy it is to add,
subtract, or change the links of your nav bars. On this site it works fine, but
.... In a perfect world, here's what I'd like. On each page, I'd like an
un-clickable text image of that page's link on the nav bar which is the darker
green of my "visited" link color. (Sort of like the site
http://www.briansacawa, although his uses Flash navigation). This would be
different for each page, of course. No problem, right? I just put the nav bar
in an editable region when I originally made the template, and then I proceeded
to do whatever I wanted to each page's nav bar. The problem arose when I needed
to add a new button, and of course it wouldn't add it to any of the dependent
pages. Is there a way I can have my cake and eat it too - that is, can I have
those page-specific graphics on the nav bars and still be able to add,
subtract, or change buttons globally? Or do I either need to 1) settle for what
I have (which is having one nav bar which is not part of an editable region),
or 2) update each page individually? This isn't a problem on this site, which
has fewer than 10 pages. It's definitely not something I'd want to do on a
larger site, though. Any input would be helpful.

Thanks,
Ryan Janus


Reply With Quote
  #2  
Old   
E Michael Brandt
 
Posts: n/a

Default Re: template nav bar question - 01-02-2008 , 10:27 PM






As you have discovered, it is is tricky - using Templates with
image-based javascript rollover menus - to highlight the current menu
item on each page.

To avoid having to insert a menu into each Child page manually in an
Editable Region, you really ought to put the menu into a NONEditable
region so it will appear in all pages. That way, as you know,updating
the template will update the menu on all the children, easing maintenance.

But then how to highlight the current menu item? Here is one way:

Getting to your original concern, add image rollover behaviors for each
menu item, which I think was your plan anyway, but now you are doing it
on the Template so you need do it only once.

Then to make it so the current page's menu item on each page will be
highlighted, you can use my divaGPS Extension. Add it to the Template.
Each Child page will then automatically swap the appropriate mouseover
image in, highlighting the proper menu item for you automatically.

http://www.divahtml.com/products/div...u_location.php

(fyi, you can not use divaGPSfree because the only kind of menu it does
not support is image-based rollover menus like this one.)

Hope that helps.

--


E. Michael Brandt

www.divaHTML.com
divaPOP : standards-compliant popup windows
divaGPS : you-are-here menu highlighting
divaFAQ : FAQ pages with pizazz

www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

--

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.