jScrollPane Internet Explorer中的奇怪行为 [英] jScrollPane strange behavior in Internet Explorer

查看:106
本文介绍了jScrollPane Internet Explorer中的奇怪行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用jScrollPane和fallowing页面: http:// demo.2klika.net/home.php#!pages/prodavaonice.html



嗯,除了Internet Explorer之外,这在所有主流浏览器中都能正常工作(我试过IE7和IE8)。在第一次加载时(每次页面重新加载相同),IE将显示位置列表,当您单击该列表中的某个位置时,它将跳转到列表中的最后一项。之后它将正常工作(你可以点击标题,例如Mesnica 1,Mesnica 2等等,脚本将在该标记上居中谷歌地图)。



<我尝试了所有我能想到的东西(例如,为各种元素删除onClick处理程序,尝试使用IE中的开发人员工具捕获有问题的函数,google搜索,但没有运气)。



如果有人可以帮忙解决这个问题,我将非常感激。
提前致谢。

解决方案

这已得到解决:



jScrollpane 2 IE8问题 - 点击顶部/底部时的奇怪行为



https://github.com/vitch/jScrollPane/commit/b80165e3c5cb6d21f9569cacaffd55d33435d23c


I'm trying to use jScrollPane with fallowing page: http://demo.2klika.net/home.php#!pages/prodavaonice.html

Well, this works as expected in all major browsers except in Internet Explorer (I tried with IE7 and IE8). On first load (same goes for every page reload), IE will show list of locations, and when you click somewhere in that list, it will jump down to the last item in list. After that it will work normally (you can click on title, eg. Mesnica 1, Mesnica 2, etc..., and script will center google map on that marker).

I tried everything that I can think of (eg. removing onClick handlers for various elements, tried to catch problematic function using developer tools in IE, googling around, but no luck).

If someone can help with this, I will be very grateful. Thanks in advance.

解决方案

This has been addressed:

jScrollpane 2 IE8 Problem - strange behavior when hit top/bottom

https://github.com/vitch/jScrollPane/commit/b80165e3c5cb6d21f9569cacaffd55d33435d23c

这篇关于jScrollPane Internet Explorer中的奇怪行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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