menu does not validate 12 Years, 9 Months ago
|
Karma: 0
|
I am getting the following validation errors when using ARI Ext Menu. Any Ideas?
Line 32, Column 196: character "&" is the first character of a delimiter but occurred as data
…x-menu-init-hidden"); }; if (Ext.isIE && typeof(MooTools) != "undefined" && ty…
✉
This message may appear in several cases:
You tried to include the "<" character in your page: you should escape it as "<"
You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.
Line 32, Column 197: character "&" is the first character of a delimiter but occurred as data
…-menu-init-hidden"); }; if (Ext.isIE && typeof(MooTools) != "undefined" && typ…
✉
This message may appear in several cases:
You tried to include the "<" character in your page: you should escape it as "<"
You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.
Line 32, Column 231: character "&" is the first character of a delimiter but occurred as data
…IE && typeof(MooTools) != "undefined" && typeof(MooTools.More) != "undefined")…
✉
This message may appear in several cases:
You tried to include the "<" character in your page: you should escape it as "<"
You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.
Line 32, Column 232: character "&" is the first character of a delimiter but occurred as data
…E && typeof(MooTools) != "undefined" && typeof(MooTools.More) != "undefined") …
✉
This message may appear in several cases:
You tried to include the "<" character in your page: you should escape it as "<"
You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.
Line 104, Column 12: character "&" is the first character of a delimiter but occurred as data
Shows & Events <span class="ux-menu-arrow"></span>
✉
This message may appear in several cases:
You tried to include the "<" character in your page: you should escape it as "<"
You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.
Line 32, Column 196: xmlParseEntityRef: no name
…x-menu-init-hidden"); }; if (Ext.isIE && typeof(MooTools) != "undefined" && ty…
✉
Line 32, Column 197: xmlParseEntityRef: no name
…-menu-init-hidden"); }; if (Ext.isIE && typeof(MooTools) != "undefined" && typ…
✉
Line 32, Column 231: xmlParseEntityRef: no name
…IE && typeof(MooTools) != "undefined" && typeof(MooTools.More) != "undefined")…
✉
Line 32, Column 232: xmlParseEntityRef: no name
…E && typeof(MooTools) != "undefined" && typeof(MooTools.More) != "undefined") …
✉
Line 104, Column 12: xmlParseEntityRef: no name
Shows & Events <span class="ux-menu-arrow"></span>
|
|
|
|
|
Re:menu does not validate 12 Years, 9 Months ago
|
Karma: 760
|
Hello,
Joomla! doesn't wrap javascript code which is included through Joomla! API with "CDATA" so these warnings appears.
Regards,
ARI Soft
|
|
|
|
|
Re:menu does not validate 12 Years, 9 Months ago
|
Karma: 0
|
Is there something I can do to make it wrap the javascript or fix the errors?
Thanks
Jeremy
|
|
|
|
|
Re:menu does not validate 12 Years, 9 Months ago
|
Karma: 760
|
You can edit <joomla_directory>\modules\mod_ariextmenu\mod_ariextmenu\kernel\ExtMenu\class.ExtMenu.php file and replace the next code:
Code: |
if (Ext.isIE && typeof(MooTools) != "undefined" && typeof(MooTools.More) != "undefined")
|
with the following one:
Code: |
if (Ext.isIE) if (typeof(MooTools) != "undefined") if (typeof(MooTools.More) != "undefined")
|
Regards,
ARI Soft
|
|
|
|
|
Re:menu does not validate 12 Years, 7 Months ago
|
Karma: 0
|
Hi,
I have the same problem. The solution you gave does fix the W3C validation issue, but it seems to stop the drop-down menus from working.
Any ideas?
|
|
|
|
|
Re:menu does not validate 12 Years, 7 Months ago
|
Karma: 760
|
Hello,
Provide a link to a page where we can see a problem.
Regards,
ARI Soft
|
|
|
|
|
|