我有一个移动应用程序,我正在创建与JQuery移动。当不使用黑莓时,我会将用户从常规的html页面发送到使用JQuery移动设备的页面(由于bb可比性问题)
我是这样做的:
//Loads correct page for everything but blackberry
if (!(/blackberry/i.test(navigator.userAgent))) {
//Send to mobile page (for Droid and iPhone)
window.location = "Mobile.htm";