Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder Psionicsin's Avatar
    Join Date
    Aug 2010
    Location
    Detroit, Michigan
    Posts
    349
    Thanks
    54
    Thanked 0 Times in 0 Posts

    MOBILE: DIV Breaking Bounds

    We utilize Slideshow Pro for our galleries and slideshows on our website. It's Flash based, but the neat thing about it is that it's able to show a non-Flash version called a "mobile poster" which links to a swipeable gallery for iOS and Android devices.

    The bad thing is that when our responsive site scales down for one of these mobile devices and the mobile poster replacement takes over, it's breaking the bounds of our #Content DIV.

    I've found that the DIV for the mobile poster is #album-5, but all efforts to make length & width 100% instead of the set number displayed has failed.

    You can easily replicate the problem by making the user agent for your browser iOS, and then shrinking the webpage until you see the error.

    WEBPAGE

  • #2
    Regular Coder Psionicsin's Avatar
    Join Date
    Aug 2010
    Location
    Detroit, Michigan
    Posts
    349
    Thanks
    54
    Thanked 0 Times in 0 Posts
    Is there any more information that I should be adding to this...or is it just as tricky as I'm thinking it is?

  • #3
    Regular Coder Psionicsin's Avatar
    Join Date
    Aug 2010
    Location
    Detroit, Michigan
    Posts
    349
    Thanks
    54
    Thanked 0 Times in 0 Posts
    Ok so I ended up being able to make it work by using max-width and max-height...however the photo inside of the mobile poster is distorted and squashed. Any help to alleviate this would be great.

    I've finally figured out that the javascript is injecting the CSS values after everything else. I have no idea how to counter this lol.
    Last edited by Psionicsin; 02-07-2013 at 04:11 PM.

  • #4
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    There is a forum here for mobile devices that might have better responses.
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • #5
    Regular Coder Psionicsin's Avatar
    Join Date
    Aug 2010
    Location
    Detroit, Michigan
    Posts
    349
    Thanks
    54
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jerry62704 View Post
    There is a forum here for mobile devices that might have better responses.
    Thank you. Did not know.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •