here is the code:

put this at the top of your dtml

<script type="text/javascript">
  location.href = "redirected_javascript_enabled_page.dtml";
</script>

and create redirected_javascript_enabled_page.dtml

On 6/16/08, Andreas Jung <[EMAIL PROTECTED]> wrote:
>
>
> --On 16. Juni 2008 11:34:37 -0700 Arne Jensen <[EMAIL PROTECTED]> wrote:
>
>> Hello,
>>
>> Using DTML, is there a way to detect if a user has javascript enabled in
>> their browser. We are running Zope 2.10.4-final, python 2.4.4.
>
> This has absolutely nothing to do with DTML. Javascript=client-side,
> DTML/ZPT=server-side.
>
> Andreas
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to