23 Oct
2002
23 Oct
'02
6:07 p.m.
[ AM ]
solution: put the following in the <head></head> section of the page. I didnt know you could put a <noscript> in there. but it works beutifully.
<noscript> <meta HTTP-EQUIV="REFRESH" CONTENT="0; URL=<dtml-var "errors.no_javascript.absolute_url()">"> </noscript>
Do not do this, because it is not valid html. A "noscript" element is not allowed in the head element. Browsers may tolerate it, but you should not knowingly create invalid markup. Why not put the redirect in the body element's onLoad event? If javascript is not enabled, nothing will happen. If it is enabled, the javascript-aware page will get loaded. <body onLoad='window.location.replace("javascript-aware-page.html")'> Cheers, Tom P