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

Home Forums JavaScript Custom lighbox not sizing correctly in iPhone

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #166664
    Alan C


    I’m trying to get my lightbox to resize to 100% width and height if it is on a mobile platform. However the jQuery that tests the width of the screen is being skipped over in landscape mode and the iPhone immediately jumps to and uses the desktop styles. I have yet to test it on other phones so it could very well be an issue with them as well.

    Testing in Chrome’s emulation it works just fine, but on the real thing not so much. I figure it must be an issue with my code somewhere.


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