开发者

Show jQuery slider on HTML page when html request came from computer , hide it when request came from mobile device?

开发者 https://www.devze.com 2023-01-11 04:39 出处:网络
Is there a way to showthe slider when a computer access the page and hide it and to instead select display when mobile d开发者_如何学Goevice (iphone) access throught mobile-safari?You have to detect t

Is there a way to show the slider when a computer access the page and hide it and to instead select display when mobile d开发者_如何学Goevice (iphone) access throught mobile-safari?


You have to detect the device that you will be using. This link about detecting smartphone using javascript may be helpful.

However, it would have been better if you do this by server side scripting.

0

精彩评论

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