Netscape / Mozilla中的间隔问题? [英] Interval Problem in Netscape/Mozilla ?

查看:49
本文介绍了Netscape / Mozilla中的间隔问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在WinXP上。以下页面在IE6中完美运行。对于Netscape

7.0,我必须离开图像,然后重新开始以获得淡入淡出

生效,并使用Mozilla(最新版本)一系列关闭mouseover

将导致屏幕变坏。


有没有人有关于如何让Netscape / Mozilla使用淡入淡出的输入
这样的



谢谢!


Joe

I am on WinXP. The following page works perfectly in IE6. For Netscape
7.0, I have to move off of the image and then back on to get the fade to
take effect, and with Mozilla (latest version) a series of close mouseovers
will cause the screen to go wacko.

Does anyone have input on how to get Netscape/Mozilla to work with a fade
like this?

Thanks!

Joe

推荐答案

这是页面:

http://www.misko.net/public/hilite-fade-in-out-2.htm


Joseph Misko < DO ********************* @ hotmail.com>在消息中写道

新闻:10 *************** @ websense.vermontel.net ...
Here''s the page:

http://www.misko.net/public/hilite-fade-in-out-2.htm

"Joseph Misko" <DO*********************@hotmail.com> wrote in message
news:10***************@websense.vermontel.net...
我在WinXP上。以下页面在IE6中完美运行。对于Netscape
7.0,我必须移开图像,然后重新启动才能使淡入淡出生效,而使用Mozilla(最新版本),一系列接近
的鼠标移动将导致wacko的屏幕。

有没有人有关于如何让Netscape / Mozilla使用这样的淡入淡出的意见?

谢谢!

Joe
I am on WinXP. The following page works perfectly in IE6. For Netscape
7.0, I have to move off of the image and then back on to get the fade to
take effect, and with Mozilla (latest version) a series of close mouseovers will cause the screen to go wacko.

Does anyone have input on how to get Netscape/Mozilla to work with a fade
like this?

Thanks!

Joe






Joseph Misko写道:
Joseph Misko wrote:
I我在WinXP上。以下页面在IE6中完美运行。

这是页面:

http://www.misko.net/public/hilite-fade-in-out-2.htm
对于Netscape 7.0,我必须移开图像,然后重新启动才能使淡入淡出生效,并且使用Mozilla(最新版本)一系列近距离鼠标将导致屏幕wacko。

有没有人有关于如何让Netscape / Mozilla与这样的淡入淡出工作的意见?

谢谢!

Joe
I am on WinXP. The following page works perfectly in IE6.

Here''s the page:

http://www.misko.net/public/hilite-fade-in-out-2.htm For Netscape 7.0, I have to move off of the image and then back on to get the fade to
take effect, and with Mozilla (latest version) a series of close mouseovers
will cause the screen to go wacko.

Does anyone have input on how to get Netscape/Mozilla to work with a fade
like this?

Thanks!

Joe




我相信做一个完美的跨浏览器是可行的

(Mozilla和MSIE 5+)页面也将验证(仅限标记;不是

CSS)。我认为您应该使用的事件属性是relatedTarget

(W3C)和fromElement / toElement(MSIE 5+)而不是事件处理程序

属性(onmouseover,onmouseout)。


DU

---------------------------

Javascript和浏览器错误:
http://www10.brinkster .com / doctorunclear /



I''m convinced it is feasible to do a perfectly working cross-browser
(Mozilla and MSIE 5+) page which will validate also (markup only; not
CSS). I think the event properties you should use are relatedTarget
(W3C) and fromElement/toElement (MSIE 5+) instead of event handlers
attributes (onmouseover, onmouseout).

DU
---------------------------
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/


Joseph Misko写道:
Joseph Misko wrote:
我在WinXP上。以下页面在IE6中完美运行。对于Netscape
7.0,我必须移开图像,然后重新启动才能使淡入淡出生效,并且使用Mozilla(最新版本)一系列近距离鼠标将会导致wacko的屏幕。

有没有人有关于如何让Netscape / Mozilla使用这样的淡入淡出的输入?
I am on WinXP. The following page works perfectly in IE6. For Netscape
7.0, I have to move off of the image and then back on to get the fade to
take effect, and with Mozilla (latest version) a series of close mouseovers
will cause the screen to go wacko.

Does anyone have input on how to get Netscape/Mozilla to work with a fade
like this?




首先,我希望你能意识到你正在处理的事情还没有得到官方的支持。到目前为止,每个浏览器的不透明度处理都是不同的,并且只包含在最新的浏览器中,因此没有

保证它将按预期的方式运行。


其次,onmouseover和onmouseout(也应该是全部小写

;-))在Mozilla中不可靠(我不确定)关于IE)和

来解决这个问题我通常也会在对象的周边区域添加一个ommouseover事件。因此,如果移动图像,不仅不透明度会变化,而且如果你在下一个物体上移动

,它也会被激活。

Prodoc


Ps ...你应该在脚本对象中添加一个type属性

(type =" text / javascript");-)



First of, I hope you realize you''re dealing with stuff which isn''t
officially supported yet. So far Opacity handling is done different in
each browser and only included in the latest browsers so there is no
guarantee it will work the way it should be.

Second, onmouseover and onmouseout (which should also be all lower case
;-) ) aren''t realy reliable in Mozilla (I''m not realy sure about IE) and
to get around this problem I usually add an ommouseover event to the
surrounding area of the object as well. So not only will the opacity
change if you move of the image but it will also be activated if you go
over the next object.

Prodoc

P.s. ...and you should add a type attribute to the script object
(type="text/javascript") ;-)

这篇关于Netscape / Mozilla中的间隔问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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