Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:43

Proplem with W3C


Poster: pikku-ukko
Dated: Friday February 13 2004 - 12:29:15 GMT

Hi, agen...

I just want to validate my site with w3c validator.
This is sample of my finnish site front page: http://www.pikku-ukko.net/te/etusivu.php

And that validatof find one error: Line 62, column 8: end tag for element "SCRIPT" which is not open.

45: <SCRIPT type=text/javascript>with(milonic=new menuname("Main Menu")){
46: style=menuStyle;
47: top=155;
48: left=200;
49: alwaysvisible=1;
50: orientation="horizontal";
51: position="relative";
52: aI("text=Alkuun;url=http://www.pikku-ukko.net/;showmenu=alku;status=Takaisin Etusivulle;");
53: aI("text=Roope;showmenu=Roope;");
54: aI("text=Rotu;showmenu=Rotu;");
55: aI("text=Yhteys;showmenu=Yhteys;");
56: aI("text=Vieraskirja;showmenu=Vieras;");
57: aI("text=Linkit;showmenu=Linkit;");
58: aI("text=Sekalaista;showmenu=Seka;");
59: aI("text=Sivuista;showmenu=Sivut;itemwidth=70;");
60: }
61: drawMenus();
62: </SCRIPT>

That is the Milonic menu code. I use sample no 9.

What is wrong? Can some one help me, please :?:

Thanks,

~Vuokko


Poster: Maz
Dated: Friday February 13 2004 - 16:59:54 GMT

Validation may require ""

<SCRIPT type="text/javascript">

If you are using 5.1 there may be a css conflict as far as I can tell.

Regards,
maz


Poster: pikku-ukko
Dated: Friday February 13 2004 - 17:39:58 GMT

Thanks Maz!

I use this version Milonic menu: Version 5.0 Final Built: Monday February 9 2004 - 12:08

Best Regards,
Vuokko


Poster: John
Dated: Saturday February 14 2004 - 5:30:07 GMT

The validator gave you error messages on exactly what was wrong. What did those messages say?


Poster: pikku-ukko
Dated: Saturday February 14 2004 - 6:52:32 GMT

Hi!

First that validator tells that type is missing. Then I just add that type=text/javascript . I copy and paste that in Menu Sample 9 page...

Then validator say: Line 62, column 8: end tag for element "SCRIPT" which is not open.

I did not think that missing " is the proplem...


~Vuokko


Poster: kevin3442
Dated: Saturday February 14 2004 - 7:12:50 GMT

Quote:
<SCRIPT type=text/javascript>

The problem could be here, since the script language is not specified in the tag. Try:
Code:
<SCRIPT language="javascript" type="text/javascript">

Kevin


Poster: pikku-ukko
Dated: Saturday February 14 2004 - 7:35:10 GMT

Hi,

I only add this " and then the Validatot acept my code.
Like this: <SCRIPT type="text/javascript">.
That is Maz idea:)

Sorry, my english is not so good. I live in Finland an speak finnish...

~Vuokko


Poster: John
Dated: Saturday February 14 2004 - 21:50:05 GMT

Your English is just fine. No apology necessary.