Instead of doing something when the user does not have JavaScript, you
could consider doing something when they DO have JavaScript:
<script language="javascript">
<!--
document.location.href='pageWithJavaScript.html';
//-->
</script>
<noscript>
Normal page here, with links to other non JavaScript pages.
</noscript>
Cheers,
Imar
>
> (Sorry I was interrupted and by accedent pressed SEND in my e-mail
> client : -)
>
> Hi Arun,
>
> Hmm.. Well from JavaScript... :-)
>
> I believe that some HTTP-Headers are passed from the client-browser to
> the web-server. Many server-based languages allow the language to read
> these HTTP-Headers, and from that they can see if JavaScript is
> "turned on"/present in the client.
>
> The simple HTML-soloution:
> <script language="javascript">
> <!--
> alert('Javascript is turned on')
> //-->
> </script>
> <noscript>
> No Javascript on you browser - please turn it on to view this page
> correct...
> </noscript>
>
> The catch is ofcause that you cannot do much other that tell the use
> that no javascript is around...
>
>
> Cheers,
>
> Sten Hougaard
> EDB Gruppen
>
>