Macintosh浏览器上的e.layerX问题 [英] e.layerX problem on Macintosh browsers

查看:86
本文介绍了Macintosh浏览器上的e.layerX问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个带有javascript的页面,其中有一个幻灯片外观 -

相似的酒吧和幻灯片:
http://celtecbe.apache02.hostbasket....dia.php?id = 268


它使用onmousemove事件,根据鼠标位置控制条带的滚动




此条带似乎在IE 6,IE 7,Opera上工作得很好,Firefox和

用于Windows的Safari。但是,它在Macintosh上没有正常运行

平台浏览器(在Safari和Firefox上测试过)。


我对操作系统特别惊讶平台正在干扰

这意味着它可以在Windows上的FF中完美运行,但不能在

Mac上运行。


自我没有自己的macintosh,这很难解决这个问题。非常感谢一些帮助。


亲切的问候,

Mathew

I have developed a page with javascript which has a filmstrip look-
alike bar and a slideshow:
http://celtecbe.apache02.hostbasket....dia.php?id=268

It uses a "onmousemove" event, which controls the strip''s scrolling
according the mouse position.

This strip seems to work just fine on IE 6, IE 7, Opera, Firefox and
Safari for Windows. However, it''s not working properly on Macintosh
platform browsers (Tested on Safari and Firefox).

I''m especially astonished that the OS platform is interfering with
this, meaning that it works perfectly in FF on windows, but not on
Mac.

Since I don''t own a macintosh, it''s really difficult to solve this
problem. Some help is greatly appreciated.

Kind regards,
Mathew

推荐答案

Mathieu Maes写道:
Mathieu Maes wrote:

我开发了一个带有javascript的页面,其中有一个幻灯片外观 -

相似的酒吧和幻灯片:
I have developed a page with javascript which has a filmstrip look-
alike bar and a slideshow:



没有javascript。

There is no "javascript".

http://celtecbe.apache02.hostbasket....dia.php?id = 268


它使用onmousemove事件,根据鼠标位置控制条带的滚动


http://celtecbe.apache02.hostbasket....dia.php?id=268

It uses a "onmousemove" event, which controls the strip''s scrolling
according the mouse position.



这是'mousemove''事件; `onmousemove''是这个事件'

处理程序属性的名称。

That''s a `mousemove'' event; `onmousemove'' is the name of this event''s
handler attribute.


这个条似乎在IE 6上运行得很好,IE 7,Opera,Firefox和

Safari for Windows。但是,它在Macintosh上没有正常运行

平台浏览器(在Safari和Firefox上测试过)。

[...]

由于我没有拥有macintosh,因此很难解决这个问题。非常感谢一些帮助。
This strip seems to work just fine on IE 6, IE 7, Opera, Firefox and
Safari for Windows. However, it''s not working properly on Macintosh
platform browsers (Tested on Safari and Firefox).
[...]
Since I don''t own a macintosh, it''s really difficult to solve this
problem. Some help is greatly appreciated.



您的标记首先远非有效。如果你不知道自己在做什么,就不要使用XHTML。


< http://validator.w3.org/ check?uri = http://celtecbe.apache02.hostbasket.com/pdw/media.php?id = 268& ss = 1; verbose = 1>

HTH

PointedEars

-

现实主义:HTML 4.01严格

福音:XHTML 1.0 Strict

疯狂:XHTML 1.1作为application / xhtml + xml

- Bjoern Hoehrmann

Your markup is far from being Valid in the first place. Don''t use XHTML if
you don''t know what you are doing.

<http://validator.w3.org/check?uri=http://celtecbe.apache02.hostbasket.com/pdw/media.php?id=268&ss=1;verbose=1>
HTH

PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann


2008-10-24 20:49,托马斯'' PointedEars''Lahn写道:
On 2008-10-24 20:49, Thomas ''PointedEars'' Lahn wrote:

>我开发了一个带有javascript的页面,其中有一个幻灯片外观 -
一样酒吧和幻灯片:
>I have developed a page with javascript which has a filmstrip look-
alike bar and a slideshow:



没有javascript。


There is no "javascript".



等等,现在怎么办?我认为在这个组(comp.lang。* javascript *)

这是最受欢迎,甚至是推荐的变体,说a

在浏览器环境中未明确的ECMAScript实现。


我不是故意再次开始讨论,而是在关于

的最新帖子之后这个话题,我一直在这里使用javascript

拼写,即使我个人不喜欢它,因为它已经是

在常见问题中得到提升,因为它似乎是多数意见。


你最近指责另一张分裂头发的海报,现在你好了b $ b你反对使用javascript?那么在你看来,OP还有什么其他的呢?

呢?

Wait, what now? I thought that in this group (comp.lang.*javascript*)
that was the most popular, or even "recommended", variant of saying "an
unspecified implementation of ECMAScript in a browser environment".

I don''t mean to start this discussion all over again, but after the
latest thread concerning this topic, I''ve been using the "javascript"
spelling here, even though I personally don''t like it, because it''s been
promoted in the FAQ and because it seems to be the majority opinion.

You''ve very recently accused another poster of splitting hairs, and now
you object to the use of "javascript"? Well what else should the OP call
it, in your opinion?


>它使用的是"&的OnMouseMove QUOT; event,根据鼠标位置控制条带的滚动。
>It uses a "onmousemove" event, which controls the strip''s scrolling
according the mouse position.



这是'mousemove''事件; `onmousemove''是此事件的名称'

处理程序属性。


That''s a `mousemove'' event; `onmousemove'' is the name of this event''s
handler attribute.



更多的头发分裂。很明显xdevel1999是指b
指的是什么。

More hair-splitting. It''s perfectly obvious what xdevel1999 was
referring to.


你的标记首先远非有效。
Your markup is far from being Valid in the first place.



ACK。

ACK.


如果你不知道你是什么,不要使用XHTML这样做。
Don''t use XHTML if you don''t know what you are doing.


HTH
HTH



我真诚地怀疑是否帮助过任何人。


< side note>

老实说,有时候我想知道你是否只是为了惹恼你的回复,而且b $ b激怒了那些提出问题的人。在这种特定情况下,

适当且有用的回复可能类似于检查是否

当您使用有效的XHTML时问题仍然存在。如果你知道任何事情

关于为什么问题似乎是特定于Mac的,为什么你没有提到

呢?如果你没有线索,为什么还要麻烦回答?

< />

- 康拉德

I sincerely doubt that helped anybody.

<side note>
Honestly, sometimes I wonder if you write your replies just to annoy and
infuriate the persons who asked the questions. In this specific case, an
appropriate and helpful reply would have been something like "check if
the problem still exists when you use valid XHTML". If you know anything
about why the problem appears to be Mac-specific, why didn''t you mention
it? If you don''t have a clue, why even bother to answer?
</>
- Conrad

没有javascript。
There is no "javascript".

>
>


这是'mousemove''事件; `onmousemove''是此事件的名称'

处理程序属性。
That''s a `mousemove'' event; `onmousemove'' is the name of this event''s
handler attribute.


>

您的标记首先远非有效。 *如果您不知道自己在做什么,请不要使用XHTML。
>
Your markup is far from being Valid in the first place. *Don''t use XHTML if
you don''t know what you are doing.



感谢那些远离ontopic(但有效)的评论。

Thanks for those far from ontopic (but valid) remarks.


这篇关于Macintosh浏览器上的e.layerX问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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