开发者

jquery accordion - show all if https?

开发者 https://www.devze.com 2023-03-15 09:27 出处:网络
Using jquery accordion and the https version of page needs to be secure, and 开发者_C百科with the accordion, a bunch of IE security warnings come up. Is there a way to show all/disable accordion if in

Using jquery accordion and the https version of page needs to be secure, and 开发者_C百科with the accordion, a bunch of IE security warnings come up. Is there a way to show all/disable accordion if in https?

Thanks!


You can check if you're in an HTTPS page like so:

var secure = (window.location.protocol === 'https:');
0

精彩评论

暂无评论...
验证码 换一张
取 消