Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: w3c Compiant issue
VorlonShadow
Newbie

Posts: 1
Registered: 6/27/2009
Member Is Offline
posted on 6/27/2009 at 02:02 PM Reply With Quote
w3c Compiant issue


I'm using Tigra Menu Gold, and have the following code to initiate my menu:

<script language="JavaScript" type="text/javascript">
function wrap(s_text, n_state) {
return (this.TMi
? '<table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td width="17">' + (n_state ? '<img src="img/lev1_arrow.gif" border="0" alt=">"/>' : '&nbsp;') + '<td class="TM0i0">' + s_text + '</td></tr></table>'
: '<table cellspacing="0" cellpadding="' + (n_state ? 3 : 2) + '" border="0" width="100%"><tr><td valign="top" background="img/lev0_bg' + (n_state ? 2 : 1) + '.gif" class="TM0i' + (n_state ? 1 : 0) + '">' + s_text + '</td></tr></table>'
);
}
new menu(MENU_ITEMS, MENU_TPL, { 'wrapper': wrap });
</script>

When I try to run a w3c validation on the page, I get the error, "document type does not allow element "table" here". It indicates the line that starts "? '<table cellspacing="0"" above. I realize that this is not really a table element, but that it's building the table using JavaScript. But, I really want my pages to be w3c compliant, so is there any way to fix this problem?

Jesse
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 
Tigra Menu PRO
Product Demonstrations Live Demos
Alignment & Multimenus
Unlimited Depth
Item sizing and positioning
Inner HTML
Frames, Targeting
Static Positioning
Free Download Menu Builders
Online Builder
Product Documentation Documentation
Documenation Page
Tigra Menu PRO FAQ
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 
Product Page Tigra Menu GOLD
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004