HighDots Forums  

Navigation bar validation

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Navigation bar validation in the Macromedia Dreamweaver forum.



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

Default Navigation bar validation - 11-07-2005 , 01:49 PM






I used Dreamweaver's navigation bar "feature" to create my top-of-page links at:
cristinamarcu.com.

When trying to validate the xhtml-transitional pages at w3.org, among other
issues, results show Dreamweaver's nav bar is
not compliant. Reason" OnLoad "" is blank. I am using an external java script
file for the header scripts and here is the code in the body that Dreamwever
creates. The links work fine. Any tips, comments, etc. welcome.

As an FYI... this is a first pass on this site's redesign and my first in
Dreamweaver having totally gotten fed up with Frontpage. The next iteration
will be , hopefully, more CSS layout-driven. Too steep a learning curve right
now, so I went with tables and an external CSS style sheet.

Here's the body code:

td><div class="navbar">
<div align="center"><a href="portfolio.htm" target="_top"
onclick="MM_nbGroup('down','group1','portfolio','' ,1)"
onmouseover="MM_nbGroup('over','portfolio','images /nav/portOn.gif','',1)"
onmouseout="MM_nbGroup('out')"><img src="images/nav/portOff.gif" alt="Cristina
Marcu artist portfolio - current works" name="portfolio" width="80" height="20"
border="0" id="portfolio" onload="" /></a><a href="news.htm" target="_top"
onclick="MM_nbGroup('down','group1','news','',1)"
onmouseover="MM_nbGroup('over','news','images/nav/newsOn.gif','',1)"
onmouseout="MM_nbGroup('out')"><img src="images/nav/newsOff.gif" alt="Cristina
Marcu art exhibitions and artist portfolio news" name="news" width="80"
height="20" border="0" id="news" onload="" /></a><a href="bio.htm"
target="_top" onclick="MM_nbGroup('down','group1','biography','' ,1)"
onmouseover="MM_nbGroup('over','biography','images /nav/bioOn.gif','',1)"
onmouseout="MM_nbGroup('out')"><img src="images/nav/bioOff.gif" alt="Cristina
Marcu artist statement and biography " name="biography" width="80" height="20"
border="0" id="biography" onload="" /></a><a href="contact.htm" target="_top"
onclick="MM_nbGroup('down','group1','contact','',1 )"
onmouseover="MM_nbGroup('over','contact','images/nav/cntctOn.gif','',1)"
onmouseout="MM_nbGroup('out')"><img src="images/nav/cntctOff.gif" alt="Cristina
Marcu - contact the artist and gallery inquiries" name="contact" width="80"
height="20" border="0" id="contact" onload="" /></a><a href="index.html"
target="_top" onclick="MM_nbGroup('down','group1','home','',1)"
onmouseover="MM_nbGroup('over','home','images/nav/homeOn.gif','',1)"
onmouseout="MM_nbGroup('out')"><img src="images/nav/homeOff.gif" alt="Cristina
Marcu - Southern California contemporary artist home page" name="home"
width="80" height="20" border="0" id="home" onload="" /></a></div>
</div></td>



Reply With Quote
  #2  
Old   
TadMM
 
Posts: n/a

Default Re: Navigation bar validation - 11-08-2005 , 11:51 AM






I I may have answered my own question: the onload attribute is deprecated in
XHTML, so it won't validate.

As Dreamweaver MX2004 adds this to the body code when cretaing a navigation
bar, can I simply delete these Onload "" from the code without causing any
problems?

Has this been rectified in DW 8?


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.