简体   繁体   English

如何在浏览器中隐藏黑莓光标?

[英]How to hide blackberry cursor in browser?

Is it possible to hide the blackberry cursor in the browser? 是否可以在浏览器中隐藏黑莓光标? Using Javascript or CSS? 使用Javascript还是CSS?

I am trying to rebuild the technique used on native apps where you browse through the items with your poke. 我正在尝试重建本机应用程序上使用的技术,在该应用程序中,您用戳戳浏览项目。 I think this works nice on their native apps and I like to use that technique on my website where visitors can browse through various of items using their blackberry poke. 我认为这在其本机应用程序上效果很好,我喜欢在我的网站上使用该技术,访问者可以使用黑莓戳戳浏览各种项目。

PS. PS。 CSS 的CSS

* {
    cursor: url(cursor.png), none !important;
}

Does not work. 不起作用。

This BlackBerry page seems to confirm the cursor style can be changed. 此BlackBerry页面似乎确认可以更改光标样式。

What is the cursor.png file that you are using? 您正在使用什么cursor.png文件? Have you tried changing the PNG to be a completely transparent file instead of specifying "none" in the CSS? 您是否尝试过将PNG更改为完全透明的文件,而不是在CSS中指定“无”? This website seems to suggest that will work. 该网站似乎建议可以使用。

As per the comment you should consider what happens for non touch screen devices, but you can always choose to target only touch screen devices by specifying the device models in App World when you deploy your app. 根据评论,您应该考虑非触摸屏设备会发生什么,但是在部署应用程序时,可以始终通过在App World中指定设备型号来选择仅将触摸屏设备作为目标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM