Re: Text not allowed in element script in this context.

On Aug 11, 2009, at 17:10, Scott Busche wrote:

> Error  Line 35, Column 50: Text not allowed in element script in  
> this context.
>
> 	<script src='menu.js'>//Loads the Expandable Menu</script>
>
>> From the documentation.
>
> <script src="cool-effects.js">
> // create new instances using:
> //    var e = new Effect();
> // start the effect using .play, stop using .stop:
> //    e.play();
> //    e.stop();
> </script>
>
>
> For all reasons and purposes, this should validate, but does not.
>
> It also errors out on /*Loads the Menu */

HTML5 allows this, but the HTML5 validator doesn't, yet. Sorry about  
that.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Wednesday, 12 August 2009 14:56:45 UTC