The problem is there are too many pages to apply this kind of a solution (thanks to a previous developer). Also regarding Tino's solution, it is for security purposes, however the to-be-secured items are mainly videos several megs in size which I wouldnt want to put in a database, so much as I hate javascript I dont really seem to have much of a choice. I was hoping I could work around that... but seems I cant. Thanks anyway AM --snip----------------- Raising an error page if someone decides to live without javascript because of security concerns is not really good style. Sure there are exceptions where JS is really required because otherwise its to complex or slow to provide functionality, but one should really weight it out. --snip----------------- Passin, Tom wrote:
[ 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
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ================================================================== Aseem Mohanty Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231 ================================================================== "I saw `cout' being shifted "Hello world" times to the left and stopped right there!!" -- Steve Gonedes ==================================================================