RE: 2 questions: Search in array and detect JS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Something to consider might be:

<noscript>
Sorry! This page requires Javascript to function properly! Please enable it
or get a decent browser
</noscript>

<!-- Normal page functions -->

I haven't tested it so there is a chance it's fiction :)

Of course, if web standards aren't a concern it makes no difference

Dan


It works and if you want it to validate, just enclose the paragraph in <p></p>, like so:

<noscript>
<p>
Sorry! This page requires Javascript to function properly! Please enable it
or get a decent browser.
</p>
</noscript>

To bad that php within those tags is read regardless or we would have an easy way to detect js.

tedd
--
--------------------------------------------------------------------------------
http://sperling.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux