Register
Login
 

Support House of Nuke

  

 House of Nuke Forums  
Subject: Fixing XHTML empty classes
Prev Next
You are not authorized to post a reply.

Author Messages
james catchpoleUser is Offline
Novice
Novice
Posts:1

05/21/2009 2:46 PM Alert 

I'm using DNN 4.8.4 and HouseMenu 1.4.1 beta.  validator.w3.org finds an error with empty classnames when validating against XHTML 1.0 transitional.

There are two ways to fix this problem, one would require our benevolent benefactor to make a small edit to the HouseMenu1.4.1 sourcecode.  The other solution requires jquery and some DOM manipulations inside a minimized Text/HTML module.

In the RenderMenuItem() function, one of the initial values "str4" should be blanked out, and in the first "if" statement, which checks for breadcrumbs, the code should be changed to something like:

str4 = "class='\"houseMenuBreadCrumb\"'";

The other method requires some javascripting, so please let me know and I can post MY workaround.

Any chance this simple, quick fix can be implemented?  My only other alternative is to decompile and rebuild.

Thanks,
James

 

You are not authorized to post a reply.
Forums > House Modules > HouseMenu 1.x > Fixing XHTML empty classes



ActiveForums 3.6
  

Terms Of Use  |  Privacy Statement
Copyright © 2006-2008 by Avastone Technologies. All rights reserved.