Testing non-js functionality

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fabian

    Testing non-js functionality

    Can IE6 be set to have js disabled? If not, what is teh simplest way to
    check for non-js functionality?


    --
    --
    Fabian
    Visit my website often and for long periods!
    Kunjungi AGAM69, situs mudah menang dengan game terlengkap dan valid terpercaya.


  • Lasse Reichstein Nielsen

    #2
    Re: Testing non-js functionality

    "Fabian" <lajzar@hotmail .com> writes:
    [color=blue]
    > Can IE6 be set to have js disabled?[/color]

    Sure.
    Internet Options > Security > Custom Level > Active Scripting = Disabled
    [color=blue]
    > If not, what is teh simplest way to check for non-js functionality?[/color]

    Do you mean "If so", and do you mean to check whether JS is disabled?

    In that case, a good test would be:

    <script type="text/javascript">
    document.write( "<p>Javascr ipt is enabled<\/p>");
    </script>
    <noscript>
    <p>Javascript is disabled</p>
    </noscript>

    The <noscript> includes content only when scripting is not available.

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    Working...