Slidetoggle无法在iPad上使用 [英] Slidetoggle not working on ipad

查看:222
本文介绍了Slidetoggle无法在iPad上使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

slideToggle在某些iPad上不起作用.它确实可以在其他iPad上使用,并且我们看不到iPad或操作系统的设置或型号上的差异.该设置确实允许弹出窗口.该命令在所有其他设备以及包括iPhone和Android在内的浏览器上均有效,为什么它仅在某些iPad上不起作用?代码是$('#nslds-login-block').slideToggle();

slideToggle is not working on SOME of our ipads. It does work on other ipads and we can see no difference in the settings or model of ipad or the OS. The settings do allow popups . This command is working on all other devices, and browsers including iphones and androids, why is it not working only in certain ipads? the code is $('#nslds-login-block').slideToggle();

谢谢

推荐答案

答案是ipad浏览器处于私人"模式.当我们尝试在代码中更早地保存会话变量时,这导致了错误.

The answer is that the ipad browser was on Private mode. Which caused an error when we tried to save a session variable earlier in the code.

这说明了如何打开和关闭私人浏览 http://support .apple.com/kb/HT1677?utm_source = Agillic%20Dialogue

this explains how to turn private browsing on and off http://support.apple.com/kb/HT1677?utm_source=Agillic%20Dialogue

另请参阅:如何检测iPhone上具有私人浏览"功能的用户启用了吗?

这篇关于Slidetoggle无法在iPad上使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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