What I have got is a jQuery image changer that cycles through some images I have as a background to a site.
What I want to do is when the site is accessed via mobile I want the jQuery to detect this and instead of displaying the images that are landscape I want it to change it to a set of portrait images.
Is this possible and does anyone know how I can do this?
Hey everyone
What I have got is a jQuery image changer that cycles through some images I have as a background to a site.
What I want to do is when the site is accessed via mobile I want the jQuery to detect this and instead of displaying the images that are landscape I want it to change it to a set of portrait images.
Is this possible and does anyone know how I can do this?
Cheers everyone
Phil
you can have javascript detect it and use the different jQuery function... http://www.abeautifulsite.net/blog/2011/11/detecting-mobile-devices-with-javascript/