[Zope] <noscript> and dtml

AM list_subscriber@neurobs.com
Wed, 23 Oct 2002 09:40:52 -0700


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>

AM

AM wrote:

> Hi,
> In my standard_html_header if I put the following:
>
> ......
> <body>
>
> <noscript>
> <dtml-raise NoJavascript></noscript>
> <noscript>
>
> ......</body>
>
> which is then handled by my standard_error_message.
>
> Now the problem is even if scripting is enabled, the error is raised.
> My standard_error_message redirects to an error page, so I tried 
> redirecting directly from within the noscript tags, and the same 
> happens: even though scripting is enabled I get redirected.
>
> So I thought maybe it needs some text inside it to function properly, 
> and so I put some plain text inside the noscript tags and still the same.
>
> What is the problem? If it cant be solved this way how do I go about it??
>
> TIA
> AM
>

-- 
==================================================================
 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  
==================================================================