2013-12-20, 14:30:16
Hello,
I would like to completely disable PrettyPhoto when only displayed on a Phone (iphone / android).
I've played around with the plugin_prettyphoto.php file where the JS gets loaded but can't figure out the exact syntax.
Basically if a device is iphone / android then don't load the jquery.prettyPhoto.js.
Any Ideas or other ways to acheive this. PrettyPhoto does not work too well on phones
I would like to completely disable PrettyPhoto when only displayed on a Phone (iphone / android).
I've played around with the plugin_prettyphoto.php file where the JS gets loaded but can't figure out the exact syntax.
Basically if a device is iphone / android then don't load the jquery.prettyPhoto.js.
Any Ideas or other ways to acheive this. PrettyPhoto does not work too well on phones