<link rel="stylesheet" type="text/css" href="noscript.css" title="noscript" />
<script type="text/javascript">
// see: http://www.themaninblue.com/writing/perspective/2004/09/21/
function setStylesheet(styleTitle)
{
var currTag;
if (document.getElementsByTagName)
{
for (var i = 0; (currTag = document.getElementsByTagName("link")[i]); i++)
{
if (currTag.getAttribute("rel").indexOf("style") != -1 && currTag.getAttribute("title"))
{
currTag.disabled = true;
if(currTag.getAttribute("title") == styleTitle)
{
currTag.disabled = true;
}
}
}
}
return true;
}
setStylesheet('noscript')
</script>
Terrence Wood.
Golding, Antony wrote:
The new CSS replaced the styles that would have been setup by the JS to make the static menu appear similar to the dropdown. However, the W3C validator reported it was invalid to embed <style> in <noscript>, so if anyone has any suggestions to get around this issue, I'd be very grateful.
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
