Help - Search - Members - Calendar
Full Version: xhtml validation ...again ;^)
xFX JumpStart Public Forums > DHTML Menu Builder > Application Related > Installation
Daffydd
Hi Xavier- sorry to hear about the loss of all the data. That had to have been a headache! This new forum looks cool.
The only problem is I was visiting the forum to look up an older post where you helped me with xhtml validation.
I had it fixed (thanks to you) but I seem to have overwritten those files so I'm back to square one.
Do you happen to remember how you used the comments to trick the validation engine into not seeing the javascript?
Here's the page from W3:

http://validator.w3.org/check?u....=Inline

I'm attaching the code that the SSI calls for the menu.

I've tried just using regular html comments but it isn't working.
Seems like you had come up with a trick for it.

Thanks for the help again! I appreciate it!
Daf
xfx
Argh! I knew the loss of all that knowledge was going to be a pain!

-----

Ok, I think I remember that the trick was to comment out the javascript code, like this:

QUOTE
<!-- DHTML Menu Builder Loader Code START -->
<script language="JavaScript" type="text/javascript">
//<!--
var navVer = navigator.appVersion;
if(navVer.substr(0,3) >= 4)
if((navigator.appName=="Netscape") && (parseInt(navigator.appVersion)==4))
document.write('<'+'script language="JavaScript" type="text/javascript" src="/menus/nshomemenu.js"><\/script\>');
else
document.write('<'+'script language="JavaScript" type="text/javascript" src="/menus/iehomemenu.js"><\/script\>');
//-->

<!-- DHTML Menu Builder Loader Code END -->
Daffydd
That was it! Thanks!
Sorry to be a pain - but we are building up the new improved knowledge base...right? ;^)

Daf
xfx
Yep, you're right... building it from the ground up...

I get a headache every time I think of all the stuff I'll have to answer again  ;)

--------

Daffydd, glad to hear the tweak worked...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.