Hi,
Well, the w3c validator doesn't parse javascript so it should be ignoring it. If you have the menu on the page in script tags, then to force the validator to ignore it, try using cdata tags
Code: Select all
<script type="text/javascript">
// <![cdata[
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
menu stuff
// ]]>
</script>
That should make it ignore the &. Without having something for experiment, that's all I can suggest. Since the validator doesn't read js, it shouldn't be reading the menu_data.js file, so I have to assume you have this on the page in script tags.
If this isn't the case, perhaps you can paste a sample page with your menu data file and I'll experiment.
Ruth