Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-06-2013, 05:36 PM   PM User | #1
Psionicsin
Regular Coder

 
Psionicsin's Avatar
 
Join Date: Aug 2010
Location: Ann Arbor, Michigan
Posts: 334
Thanks: 51
Thanked 0 Times in 0 Posts
Psionicsin is an unknown quantity at this point
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
Psionicsin is offline   Reply With Quote
Old 02-06-2013, 11:44 PM   PM User | #2
Psionicsin
Regular Coder

 
Psionicsin's Avatar
 
Join Date: Aug 2010
Location: Ann Arbor, Michigan
Posts: 334
Thanks: 51
Thanked 0 Times in 0 Posts
Psionicsin is an unknown quantity at this point
Is there any more information that I should be adding to this...or is it just as tricky as I'm thinking it is?
Psionicsin is offline   Reply With Quote
Old 02-07-2013, 03:25 PM   PM User | #3
Psionicsin
Regular Coder

 
Psionicsin's Avatar
 
Join Date: Aug 2010
Location: Ann Arbor, Michigan
Posts: 334
Thanks: 51
Thanked 0 Times in 0 Posts
Psionicsin is an unknown quantity at this point
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..
Psionicsin is offline   Reply With Quote
Old 02-07-2013, 07:40 PM   PM User | #4
jerry62704
Senior Coder

 
jerry62704's Avatar
 
Join Date: Oct 2007
Location: Springfield, IL
Posts: 1,049
Thanks: 9
Thanked 82 Times in 82 Posts
jerry62704 is on a distinguished road
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
jerry62704 is offline   Reply With Quote
Old 02-07-2013, 08:19 PM   PM User | #5
Psionicsin
Regular Coder

 
Psionicsin's Avatar
 
Join Date: Aug 2010
Location: Ann Arbor, Michigan
Posts: 334
Thanks: 51
Thanked 0 Times in 0 Posts
Psionicsin is an unknown quantity at this point
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.
Psionicsin is offline   Reply With Quote
Reply

Bookmarks

Tags
css, flash, java, slideshowpro, wordpress

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:28 PM.


Advertisement
Log in to turn off these ads.