Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Is this possible??

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40008
    Blackhawkso
    Member

    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

    #110776
    djrolstad
    Participant

    you can have javascript detect it and use the different jQuery function…
    http://www.abeautifulsite.net/blog/2011/11/detecting-mobile-devices-with-javascript/

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.