打开我的网站时 Mac 上的鼠标滚轮问题
我建立了一个网站,绘制页面设计的设计师有Mac电脑。他说鼠标滚轮滚动不起作用,只有浏览器留下的“滑块”起作用。我的意思是,当您将鼠标放在屏幕中央并滚动鼠标滚轮时,页面不会移动,如果您拖动浏览器滚动 - 它会移动。
问题是我只使用 PC,所以我不知道为什么 Mac 上的网站会发生这种情况。它在 5 种浏览器(PC 上的 IE、Opera、FF、Chrome 和 Safari)中工作正常,鼠标滚动在 Mac 上的任何浏览器中都有问题。
任何人都可以分享您的想法为什么会发生这种情况以及如何解决它。我对 Mac 的使用经验为 0%,我什至不知道打开/关闭按钮后要做什么:)
PS 我标记了 PHP、CSS 和 HTML,因为该网站是使用这些语言和 Flash 播放器开发的。滑块。
www.ninogvetadze.com/new
I built a website, and the designer who drew the design of the page has Mac computer. He says that Mouse wheel scrolling doesn't work, only the browsers left "slider" works. I mean when you are with your mouse in center of the screen and you do the mouse wheel scroll, the page doesn't move, and if you drag Browsers scroll - it moves.
The thing is that I've been only using PC so I've got no idea - why that can happen with a website on Mac. It works fine in 5 browsers (IE, Opera, FF, Chrome and Safari on PC), and mouse scroll has problem in any browser on Mac.
Can anyone share with your ideas why could that happen and maybe how to fix it. I have 0% experience with Mac, I don't even know what to do after turn on/off button :)
P.S. i tagged PHP, CSS and HTML because the website is developed using those languages and Flash player & slider.
www.ninogvetadze.com/new
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在您继续并认为这是代码问题之前,我会让您的 Mac 用户使用 a.) 酒精擦拭布或 b.) 一张纸清洁他的滚轮。用抹布擦拭鼠标球,或用纸对鼠标球施加压力,然后来回滚动以
清除
所有污垢。我敢打赌这是一个硬件问题而不是代码问题。如果它是一个没有滚动球的新鼠标,那么……好吧,我输了。
Before you go ahead and deem it a code problem, I'd have your mac user clean his scroll wheel out with either a.) an alcohol wipe or b.) a piece of paper. Rub the mouse ball with the wipe, or apply pressure to it with the paper and roll it back and forth to
git
any dirt out. I'm willing to bet it is a hardware issue rather than code.If it is a newer mouse without the scroll ball, then... well, I lost the bet.
如果它位于左侧,则它不是浏览器的标准滚动条。
因为所有这些浏览器都使用相同的 Flash 播放器插件。
是的。就是这样 - Flash“滑块”显然没有在 Mac 上进行测试。现在您知道为什么有线索的设计人员依赖基于标准的方法而不是 Flash。
(编辑) 是的 - 刚刚使用您上面评论中的地址来查看您的网站。正在加载一个“macmousewheelflash.js”,这显然与向顶部的 Flash 影片添加鼠标滚轮支持有关。看起来这会干扰页面其余部分的正确滚轮支撑。您可能可以将其删除 - 我不知道 Flash 影片需要滚动到哪里。或者,就此而言,为什么您需要 Flash 来进行简单的淡入淡出幻灯片放映......
If it's on the left, it ain't the browser's standard scroll bar.
Because all those browsers are using the same Flash player plugin.
Yep. There you go - the Flash "slider" obviously wasn't tested on a Mac. Now you know why designers with a clue rely on standard-based approaches instead of Flash.
(Edit) Yep - just used the address in your comment above to look at your site. There's a "macmousewheelflash.js" being loaded, which apparently has something to do with adding mouse wheel support to the Flash movie at the top. Looks like that's interfering with proper wheel support for the rest of the page. You could probably just remove that - I don't see where the Flash movie needs to scroll anyway. Or, for that matter, why you need Flash for a simple cross-fade slide show...