Is active content enabled
Posted: Thu Aug 24, 2006 4:28 pm
This should be a Mickey Mouse question.
I want to write alternative code if active content is disabled.
Something along these lines:-
{* smarty code snippet *}
<a href="{if $activeContentIsEnabled == 1}javascript:myscript(){else}stuff{/if}">stuff</a>
But I can't find out how to detect if the user's browser has active content enabled. All my googling shows me is hundreds of pages telling me how to turn it on in IE, Mozilla..., or why it should be turned off.
how do I set the value to my variable $activeContentIsEnabled?
I want to write alternative code if active content is disabled.
Something along these lines:-
{* smarty code snippet *}
<a href="{if $activeContentIsEnabled == 1}javascript:myscript(){else}stuff{/if}">stuff</a>
But I can't find out how to detect if the user's browser has active content enabled. All my googling shows me is hundreds of pages telling me how to turn it on in IE, Mozilla..., or why it should be turned off.
how do I set the value to my variable $activeContentIsEnabled?