I'm trying to clean up pages that I wrote in 2002.
Those pages have an older version of the Ultimate Dropdown Menu from Brothercake.
It works nicely, but the developer toolbar in Firefox points to style.js as having an "invalid selector" and "no closing } for invalid rule set".
It doesn't give me a line in the javascript file, just the line in my html that calls the script.
I can't find any sort of validator that will look at the javascript file.
I've tried to look at it myself, but, as I don't understand javascript, that's a pretty useless exercise.
Could I have some advice as to what I should do, please?
It's creating a stylesheet but it's wrapping the stylesheet in html comments. That is invalid stylesheet syntax. Remove the "<!--" and "//-->" from the style.js file and you'll be sweet.
Thanks, Paul, for going to the trouble of looking through it.
I've removed the comment markers and the page I'm working on gets three green ticks from Firefox.
I'll go now and fix it on two sites.
Bookmarks