plainblack.com
Username Password
search
Bookmark and Share
View All Tickets
Carousel cutting off edge of photo  (#10511)
Issue

I created a Carousel, and in it I added four photos. When I view the Carousel, it "spins" about half way through the third and fourth photo, cutting off their left sides.

Screenshot attached.

Solution Summary
Added a slideWidth property, and expose it to the template as a variable.  Setting the width on the first LI helps the YUI Carousel render properly.  Add overflow:auto to handle pictures that are too wide.  Interestingly, height seems to work okay.
svn rev 12169
Comments
patspam
0
8/20/2009 12:33 am
One thing to try is to wrap the <tmpl_var text> inside the <li> loop with divs that limit the width of the content. YUI doesn't attempt to limit the max width of the carousel content.
perlDreamer
0
8/20/2009 1:51 pm
See also this thread on YUI's site.

http://yuilibrary.com/forum/viewtopic.php?p=438

perlDreamer
0
8/20/2009 6:14 pm
Fixed in 7.7.18
Resolved by perlDreamer
Details
Ticket Status Resolved  
Rating0.0 
Submitted Bykristi 
Date Submitted2009-06-11 
Assigned To perlDreamer  
Date Assigned2009-08-20 
Assigned ByperlDreamer 
Severity Critical (mostly not working)  
What's the bug in? WebGUI Beta  
WebGUI / WRE Version  
URLbugs/tracker/10511
Keywords
carousel photo
Related Files
Ticket History
8/20/2009
6:14 PM
Resolved perlDreamer
8/20/2009
1:52 PM
Assigned to perlDreamer perlDreamer
6/11/2009
1:22 PM
Ticket created kristi
© 2010 Plain Black Corporation | All Rights Reserved