使用noscript重叠“正常” [英] Using noscript overlaps "normal"

查看:76
本文介绍了使用noscript重叠“正常”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我有一个包含大量内容和一些javascript的页面

如何通知禁用javascript的用户启用javascript

会增强他们的体验。目前我正在尝试使用noscript

标签,但其内容与正常标签重叠。内容。


我想给非javascript页面添加链接,我宁愿不把

放在文档中的正常内容.write。

Andrew Poulos

解决方案

2004年12月14日星期二21:41:06 +1100,Andrew Poulos < ap ***** @ hotmail.com>

写道:

如果我有一堆内容和一些javascript的页面
我如何通知禁用javascript的用户启用javascript
可以增强他们的体验。




你不需要。


缺乏脚本支持的访问者通常缺乏原因,因此

告诉他们打开它(如果这甚至可能)是浪费时间。


如果您的文档使用的脚本真的只是为了增强他们的

体验,用户真的不需要知道。如果这些脚本需要

,这是一个网页,你可能需要重新考虑你的设计。


[snip]


迈克


-

Michael Winter

替换.invalid与.uk通过电子邮件回复。


Michael Winter写道:

2004年12月14日星期二21:41:06 + 1100,Andrew Poulos< ap ***** @ hotmail.com>
写道:

如果我有一堆内容和一些javascript的页面
我如何通知禁用javascript的用户启用
javascript可以增强他们的体验。



你不需要。
<缺乏脚本支持的访问者通常缺乏原因,因此告诉他们打开它(如果可能的话)是浪费时间。

如果您的文档使用的脚本实际上只是为了增强他们的体验,用户真的不需要知道。如果需要这些脚本,并且这是一个网页,您可能需要重新考虑您的设计。




我使用术语增强他们的经验 ;所以人们不会因为制作依赖于脚本支持的页面而跳到我身上

。对不起,我不想讨论客户的规格

等,而不是我的问题。似乎我的愚蠢的伎俩

适得其反。

Andrew Poulos


2004年12月14日星期二22:19 :41 + 1100,Andrew Poulos< ap ***** @ hotmail.com>

写道:


[snip]
< blockquote class =post_quotes>我使用了术语增强他们的经验。所以人们不会跳到我身上
制作依赖于脚本支持的页面。




人们常说一件事,完全是另一件事。我只是想

说清楚。


无论脚本是否只是增强功能,用户都不会/>
需要被告知 - 并且不应该被告知 - 改变他们的配置。正如我所说的那样,没有脚本支持的用户通常缺乏对b / b
原因的支持,他们不会或根本无法改变这一点仅仅是因为你

说他们应该。此外,他们应该清楚地意识到他们将错过通过脚本提供的功能。


[snip]


迈克


-

Michael Winter

替换.invalid与.uk通过电子邮件回复。


If I have a page with a bunch of content and some javascript in the head
how do I notify the javascript disabled users that enabling javascript
would enhance their experience. At the moment I''m trying the noscript
tag but its content overlaps the "normal" content.

I''d like to put a link to non-javascript pages and I''d rather not put
the normal content in a document.write.
Andrew Poulos

解决方案

On Tue, 14 Dec 2004 21:41:06 +1100, Andrew Poulos <ap*****@hotmail.com>
wrote:

If I have a page with a bunch of content and some javascript in the head
how do I notify the javascript disabled users that enabling javascript
would enhance their experience.



You don''t need to.

Visitors that lack scripting support usually lack it for a reason so
telling them to turn it on (if that''s even possible) is a waste of time.

If the script(s) your documents use really are just to "enhance their
experience", users really don''t need to know. If those scripts are
required, and this is a Web page, you probably need to rethink your design.

[snip]

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.


Michael Winter wrote:

On Tue, 14 Dec 2004 21:41:06 +1100, Andrew Poulos <ap*****@hotmail.com>
wrote:

If I have a page with a bunch of content and some javascript in the
head how do I notify the javascript disabled users that enabling
javascript would enhance their experience.



You don''t need to.

Visitors that lack scripting support usually lack it for a reason so
telling them to turn it on (if that''s even possible) is a waste of time.

If the script(s) your documents use really are just to "enhance their
experience", users really don''t need to know. If those scripts are
required, and this is a Web page, you probably need to rethink your design.



I used the term "enhance their experience" so people wouldn''t jump on me
for making pages that are dependant on scripting support. Sorry, I
didn''t want to get into a discussion about the client''s specification
etc. and not get my question addressed. Still it seems my silly ploy
backfired.
Andrew Poulos


On Tue, 14 Dec 2004 22:19:41 +1100, Andrew Poulos <ap*****@hotmail.com>
wrote:

[snip]

I used the term "enhance their experience" so people wouldn''t jump on me
for making pages that are dependant on scripting support.



People can often say one thing and mean another entirely. I just wanted to
make the point clear.

Whether the script(s) are solely an enhancement or not, the user doesn''t
need to be told - and shouldn''t be told - to alter their configuration. As
I said, users without scripting support usually lack that support for a
reason and they will not, or simply cannot, change that just because you
say they should. Besides, they should be well aware that they will be
missing out on features that are provided through scripting.

[snip]

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.


这篇关于使用noscript重叠“正常”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆