How about having just the one page, and adding the class 'js' to the
body element on domready? Then you can control what is shown to the
user for JS on/off using CSS.

Michal.

On 6/2/10, André Fiedler <[email protected]> wrote:
> You can also put a div into the noscript tag and style it like a popup. And
> if a user clicks "ok" (a link) you can redirect him to your site without
> script.
>
> 2010/6/2 Ryan Florence <[email protected]>
>
>> I understand this isn't the requirement you've described, but what's wrong
>> with:
>>
>> <noscript>
>>   This page requires javascript, please <a href="screenreader.html">click
>> here</a> to view our screen reader friendly version.
>> </noscript>
>>
>> Regular content
>>
>> Screen readers are far less frequent visitors than others, and users with
>> javascript off don't deserve the convenience of being redirected :P
>>
>> I dunno ...
>>
>> On Jun 2, 2010, at 2:25 AM, Sanford Whiteman wrote:
>>
>> Don't get me wrong, it works, but that's one ugly solution.
>>
>>
>> Agreed.
>>
>> But  I  don't  know  if there's another way to directly match the reqs
>> (i.e.  the  JS  page is primary and the non-JS gets the redirect). And
>> despite PE principles, I think that order makes sense, since otherwise
>> you're wasting bandwidth a super-vast majority of the time.
>>
>> -- S.
>>
>>
>>
>

-- 
Sent from my mobile device

Reply via email to