使用css和amp;进行简单的切换jQuery在IE中提供混蛋 [英] simple toggle with css & jQuery giving jerk in IE

查看:53
本文介绍了使用css和amp;进行简单的切换jQuery在IE中提供混蛋的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿所有,

我已经在网站中集成了一个简单的切换与css和jQuery,但是当它隐藏内容时,它会在IE中发出混蛋。


以下是该网站的网址


它集成在Body部分的右链接菜单中。默认情况下它会显示链接菜单,但是当我们点击LINK时它隐藏了内容但是在隐藏之后它会在IE中提供混蛋。可以来帮我解决问题。我将非常感谢他/她。



亲切的问候,

Hey all,
I have integrated a simple toggle with css and jQuery in website but it gicving jerk in IE when it hide the content.

Here is the URL of the website.

And it is integrated in Right Link Menu in Body section. By default it show the Link Menu but when we click on the LINK it hide the content but after hiding it gives jerk in IE. Can comebody help me out to sort the problem. I will be very thankful to him/her.


kind regards,

推荐答案

就这样你知道,我的IE也不会做你的顶级菜单!


我可能会因为说这个而被击落但这将是我的解决方案:

1)测试用户是否使用IE(测试document.all或其他东西!)

2)如果用户正在使用IE,请禁用最小化动画并使其消失





2)如果用户使用IE,则在激活所述动画时创建超时。几毫秒后,结束动画。


然而,这些选项都不是田园诗般的。对不起,这和我想的一样多!
Just so you know, my IE won''t do your top menu either!

I''m probably going to be shot down for saying this but this would be my solution:
1) Test whether or not the user is using IE (test for document.all or something!)
2) If the user is using IE, disable the minimization animation and just make it disappear

OR

2) If the user is using IE, create a timeout whenever said animation is activated. After a few milliseconds, end the animation.

None of these options is idyllic, however. Sorry, this is about as much as I can think of!


但同样的脚本在IE中工作得很好。

这里是 link
But the same script working fine in IE from where i got.
here is the link


您好,我在IE中查看它看起来效果很好。您使用的IE版本是什么?我在IE6中查看过它。但标题菜单似乎未对齐。对于那个Jerk问题。只需检查这两件事


1)只需检查与切换元素关联的Div或表宽度。如果我们隐藏该元素,如果宽度增加或减少。 Jerk效应将会到来。

2)检查您使用过的Doc类型。如果您不确定doc类型,请给出transitional和transitional。或松散的或松散的并查看它。


谢谢和问候

Ramanan Kalirajan
Hi, I checked in IE its look to be working good. What is the version of IE you are using? I viewed it in IE6. But header menu seems to be misaligned. For that Jerk problem. Just check for this two things

1) Just check for the Div or table width associated with the Toggle Element. If the width gets increased or decreased if we hide that element. The Jerk effect will come.
2) Check the Doc type you have used. If you are not sure about the doc type give "transitional" or "loose" and check it out.

Thanks and Regards
Ramanan Kalirajan


这篇关于使用css和amp;进行简单的切换jQuery在IE中提供混蛋的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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