HighDots Forums  

navigation bar does not work properly in CS3

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss navigation bar does not work properly in CS3 in the Macromedia Dreamweaver forum.



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

Default navigation bar does not work properly in CS3 - 07-14-2008 , 01:26 PM






The navigation bar shows only the up and the over pictures in all browsers. It
works properly in a framed site, showing all 4 different pictures. But not in
the css-layout based site with files from the same template, which show all in
the same window. Does anyone know where this problem comes from?


Reply With Quote
  #2  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: navigation bar does not work properly in CS3 - 07-14-2008 , 01:38 PM






Can you please post a link to a page that has this menu?

Most likely you have used the antique DW feature "NavBar", which only works
as stated in a frame environment. When used on flat pages (i.e.,
non-framed), you do not get the over-while-down, or the clicked
functionality.

In fact, that very old feature does nothing for you on flat pages that you
couldn't also do with simple image swaps. And if you are using CSS swaps,
then it's a simple matter to get the over-while-down, and the clicked
cosmetic appearance....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"quilterin" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
The navigation bar shows only the up and the over pictures in all
browsers. It
works properly in a framed site, showing all 4 different pictures. But not
in
the css-layout based site with files from the same template, which show
all in
the same window. Does anyone know where this problem comes from?



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

Default Re: navigation bar does not work properly in CS3 - 07-14-2008 , 01:54 PM



To expand on what Murray told you, if you remove the navbar scripts and
instead use simple rolllover behaviors, you can then use my free
divaGPSfree to automatically highlight the current menu item:

http://divahtml.com/products/divaGPS...u_location.php

--


E. Michael Brandt

www.divahtml.com
http://www.divahtml.com/products/scr...extensions.php
Standards-compliant scripts and Dreamweaver Extensions

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

--

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

Default Re: navigation bar does not work properly in CS3 - 07-14-2008 , 02:05 PM



oh, menat to change that wording before the last message went out - if
you use javacript image swap behaviors, then you'd have to use the paid
version of divaGPS, but if you take Murray's hint and use CSS image
swapping (by changing background images instead of "real" images) and
avoid javscript for that behavior entirely, then you can use the free
version. Sorry if I confused you with that last message.

--


E. Michael Brandt

www.divahtml.com
http://www.divahtml.com/products/scr...extensions.php
Standards-compliant scripts and Dreamweaver Extensions

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

--

Reply With Quote
  #5  
Old   
quilterin
 
Posts: n/a

Default Re: navigation bar does not work properly in CS3 - 07-14-2008 , 03:13 PM



Thank you very much! Yes it is this Nav-bar I used. I just wonder why that's
not mentioned anywhere in the manuals. I could have saved a whole day. But I
don't know how to change or highlight just the background without javascript.
The normal rollover is no problem - but how to do it with CSS I don't know.


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

Default Re: navigation bar does not work properly in CS3 - 07-14-2008 , 04:09 PM



Ahh, well then feast on this:

http://css.maxdesign.com.au/listamatic/

--


E. Michael Brandt

www.divahtml.com
http://www.divahtml.com/products/scr...extensions.php
Standards-compliant scripts and Dreamweaver Extensions

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

--

Reply With Quote
  #7  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: navigation bar does not work properly in CS3 - 07-14-2008 , 04:21 PM



That's where a little HTML/javascript knowledge comes in handy. You think
"Hmmm - I wonder how they are doing the 'over while down' thing" and you
look at the code. What you will discover is that it CANNOT be done if the
page refreshes (by loading a new page). That's the crux of the matter. The
function was designed to work with frames where a navigation frame DOES NOT
REFRESH. I have asked every release since DMX that this function be
removed. Maybe DW12 will take it out.... 8)

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"quilterin" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thank you very much! Yes it is this Nav-bar I used. I just wonder why
that's
not mentioned anywhere in the manuals. I could have saved a whole day. But
I
don't know how to change or highlight just the background without
javascript.
The normal rollover is no problem - but how to do it with CSS I don't
know.



Reply With Quote
  #8  
Old   
quilterin
 
Posts: n/a

Default Re: navigation bar does not work properly in CS3 - 07-15-2008 , 02:51 AM



Thanks again! I will look at the code. So if I understand right, it doesn't
matter if I use javascript or CSS rollovers, only up and over will work with
refreshed pages. The paid diva comes in to do the job down and over by down in
both cases.
Why not use frames again? Is it just out of fashion? Or are there substantial
reasons against it? Lots of the CS3 manual obviously refers to those
"oldfashened" stuff.


Reply With Quote
  #9  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: navigation bar does not work properly in CS3 - 07-15-2008 , 05:56 AM



Quote:
Why not use frames again?
This question is answered in detail several times a day here, but here's the
executive summary -

1. They are difficult for inexperienced users to get right -
a) pages will not align properly if one of them throws scrollbars
b) links will not work when targeted into different frames without
hand-modification of code
c) new (and inexperienced users) have problems with the idea of a single
frameset page that only specifies constituent frames
d) new (and inexperienced users) can be confused by the fact that the
<title> tag on the frameset page is the one that appears in the browser
e) etc., etc., etc.
2. They are difficult for your visitors
a) depending on how savvy you are, you may have removed scrollbars to
'fix' #1b, not thinking that you have also removed those scrollbars for
people with smaller viewports
b) search engines will index *all* pages within your frameset, meaning
that a navigation frame or a content only page MAY be shown in a search hit
list - imagine the confusion when the page is loaded without navigation, for
example

And - they are so amateur. Really.

Quote:
it doesn't
matter if I use javascript or CSS rollovers, only up and over will work
with
refreshed pages.
With js rollovers it's only *easy* to achieve the up and the over states.

With CSS rollovers, you can achieve up, over, over while down, and down.

Quote:
Lots of the CS3 manual obviously refers to those
"oldfashened" stuff.
Much of this has been removed in CS4.

Quote:
The paid diva comes in to do the job down and over by down in
both cases.
The DivaHTML extension is a good deal. It is just a CSS rollover with an
'easy' user interface.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"quilterin" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks again! I will look at the code. So if I understand right, it
doesn't
matter if I use javascript or CSS rollovers, only up and over will work
with
refreshed pages. The paid diva comes in to do the job down and over by
down in
both cases.
Why not use frames again? Is it just out of fashion? Or are there
substantial
reasons against it? Lots of the CS3 manual obviously refers to those
"oldfashened" stuff.



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.