HighDots Forums  

DW Nav Menu

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss DW Nav Menu in the Macromedia Dreamweaver forum.



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

Default DW Nav Menu - 03-31-2009 , 09:57 AM






Hi:

I am not understanding the explanation of why my Nav Menu is not validating,
either in DW or W3C. Please advise...

http://www.curlytopdesign.com/testwebs/john_martin/index.html

I can also build this in CSS, but I was hoping for some enlightenment.

Thx, Ned


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

Default Re: DW Nav Menu - 03-31-2009 , 10:09 AM






It's not validating because the antique method that you selected adds
invalid code to implement a feature that is only supported on framed pages.
In other words, the invalid code is added to do something that you won't
ever see anyhow.

To get your page to validate, change this -

<img src="images/home_off.gif" alt="link to Home page" name="home"
border="0" id="home" onload="">

to this -

<img src="images/home_off.gif" alt="link to Home page" name="home"
border="0" id="home">

for each button in your navigation element.

If it were me, I'd remove that entire navigation element from the page, and
replace it with simple image swaps for each linked button image.


--
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
==================


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

Quote:
Hi:

I am not understanding the explanation of why my Nav Menu is not
validating,
either in DW or W3C. Please advise...

http://www.curlytopdesign.com/testwebs/john_martin/index.html

I can also build this in CSS, but I was hoping for some enlightenment.

Thx, Ned



Reply With Quote
  #3  
Old   
martcol
 
Posts: n/a

Default Re: DW Nav Menu - 03-31-2009 , 10:24 AM



What about if you change your doc type to transitional instead of strict. Then it will validate? If you use the latter and check HTML Tidy it'll even write your code for you.

Regards

Martin

Reply With Quote
  #4  
Old   
Osgood
 
Posts: n/a

Default Re: DW Nav Menu - 03-31-2009 , 10:29 AM



Nedward wrote:
Quote:
Hi:

I am not understanding the explanation of why my Nav Menu is not validating,
either in DW or W3C. Please advise...

http://www.curlytopdesign.com/testwebs/john_martin/index.html

I can also build this in CSS, but I was hoping for some enlightenment.

Thx, Ned

You cant have onload="" on the anchor attribute (see near the end
below), remove it and the validation error should go away.


<a href="index.html" target="_top"
onclick="MM_nbGroup('down','group1','home','images /home_down.gif',1)"
onmouseover="MM_nbGroup('over','home','images/home_over.gif','',1)"
onmouseout="MM_nbGroup('out')"><img src="images/home_off.gif" alt="link
to Home page" name="home" border="0" id="home" onload=""></a>


Like this:


<a href="index.html" target="_top"
onclick="MM_nbGroup('down','group1','home','images /home_down.gif',1)"
onmouseover="MM_nbGroup('over','home','images/home_over.gif','',1)"
onmouseout="MM_nbGroup('out')"><img src="images/home_off.gif" alt="link
to Home page" name="home" border="0" id="home"></a>


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

Default Re: DW Nav Menu - 03-31-2009 , 10:33 AM



It's not on the anchor. It's on the image.

--
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
==================


"Osgood" <notavailable (AT) thisaddress (DOT) com> wrote

Quote:
Nedward wrote:
Hi:

I am not understanding the explanation of why my Nav Menu is not
validating, either in DW or W3C. Please advise...

http://www.curlytopdesign.com/testwebs/john_martin/index.html

I can also build this in CSS, but I was hoping for some enlightenment.

Thx, Ned


You cant have onload="" on the anchor attribute (see near the end below),
remove it and the validation error should go away.


a href="index.html" target="_top"
onclick="MM_nbGroup('down','group1','home','images /home_down.gif',1)"
onmouseover="MM_nbGroup('over','home','images/home_over.gif','',1)"
onmouseout="MM_nbGroup('out')"><img src="images/home_off.gif" alt="link to
Home page" name="home" border="0" id="home" onload=""></a


Like this:


a href="index.html" target="_top"
onclick="MM_nbGroup('down','group1','home','images /home_down.gif',1)"
onmouseover="MM_nbGroup('over','home','images/home_over.gif','',1)"
onmouseout="MM_nbGroup('out')"><img src="images/home_off.gif" alt="link to
Home page" name="home" border="0" id="home"></a


Reply With Quote
  #6  
Old   
Osgood
 
Posts: n/a

Default Re: DW Nav Menu - 03-31-2009 , 11:24 AM



Murray *ACE* wrote:
Quote:
It's not on the anchor. It's on the image.

On a second look, it is. On the first look it was, but I overlooked it


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

Default Re: DW Nav Menu - 03-31-2009 , 11:25 AM



I hate it when I overlook something I'm looking at.

--
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
==================


"Osgood" <notavailable (AT) thisaddress (DOT) com> wrote

Quote:
Murray *ACE* wrote:
It's not on the anchor. It's on the image.


On a second look, it is. On the first look it was, but I overlooked it


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

Default Re: DW Nav Menu - 04-01-2009 , 04:26 PM



Hi:

Mo' betta now with the swap image behaviors -- thanks!

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

Default Re: DW Nav Menu - 04-01-2009 , 04:35 PM



Good luck!

--
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
==================


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

Quote:
Hi:

Mo' betta now with the swap image behaviors -- thanks!


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 - 2009, Jelsoft Enterprises Ltd.