Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...W3C errors in the DNNMenuW3C errors in the DNNMenu
Previous
 
Next
New Post
6/10/2008 9:07 AM
 

Hi all.

By upgrading to the latest DNN 4.8.3, the latest modules and a xhtml1.0 doctype setup, skin and container i have only 5 errors left to solve.

They all appear in the following lines, which are generated by the menu:

                <dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" CSSControl="main_dnnmenu_bar"
                    CSSContainerRoot="main_dnnmenu_container" CSSNode="main_dnnmenu_item" CSSNodeRoot="main_dnnmenu_rootitem"
                    IndicateChildren="false" CSSContainerSub="main_dnnmenu_submenu" CSSBreak="main_dnnmenu_break"
                    CSSNodeHover="main_dnnmenu_itemhover" />
in the skin aspx file.

The html code is here and the bold is the errors:

  1. <span><div width="100%" class="DNNMenu main_dnnmenu_submenu" name="dnn$dnnNAV$ctldnnNAV" id="dnn_dnnNAV_ctldnnNAV">
  2. <span name="235" id="235"><span class=" "></span><a class="main_dnnmenu_rootitem " href="/Default.aspx?tabid=235">Start</a></span>

3 of the errors is "There is no attribute width" or "name"
1 error is a problem with the <div
1 is the id= which may not start with at number.

(See them here http://validator.w3.org/check?uri=http%3A%2F%2Frsyd.njhvidberg.dk&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&verbose=1)

The problem is that i cant find where to make the changes.

Anyone to help?


Niels-Jørgen Hvidberg http://newcomtech.dk http://njhvidberg.dk
 
New Post
6/10/2008 12:24 PM
 

You would have to change a lot on the NAV menu, it is not an easy task.

The easier way would be to use an undodered list menu like Housemenu, but you would have to do the menu CSS all over again.

In DNN 5.0 the menu should be XHTML compliant (it already is in the non public beta now).

 
New Post
6/10/2008 2:27 PM
 

If DNN5 can validate xhtml1, then i can wait on that :-)

Housemenu? Ill try to look at it, does it validate?


Niels-Jørgen Hvidberg http://newcomtech.dk http://njhvidberg.dk
 
New Post
6/10/2008 2:48 PM
 

Agreed with Timo.

Also, you might want to check out telerik RadMENU as well because HouseMENU is still having some issues with cross-browser compatability. Telerik gives the entire package of web standards and accessibility benefits.


Cuong Dang
Co-founder: Enliven, dnnGallery
LinkedIn | Twitter
I'm the author of DNN and Web Standards Wrox Blox

 
New Post
6/10/2008 5:35 PM
 

Housemenu does validate since it renders a normal unordered list

Never use the CSS that comes withthe Housemenu, but make your own. Then there are no cross browser problems (if your CSS is good enough;-)

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...W3C errors in the DNNMenuW3C errors in the DNNMenu


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out