Fluid width

stuen93 - December 10, 2009 - 16:09
Project:Views Slideshow
Version:6.x-2.0-beta2
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

I am trying to use views_slideshow with the frontpage of one of our sites. The page uses a fluid width and I would like to have views_slideshow also use a fluid width. I've messed around with this a bit and so far have not figured out a way to do it. the closes I have come is to use the views insert module to insert the slideshow into a block without the default view and the slideshow will resize itself when you refresh the browser window but does not auto size itself with the rest of the page.

Is this possible?

#1

alrueden - January 6, 2010 - 19:56

Thanks for asking about this. I was expecting the behavior you describe above, and hadn't realized the slides do in fact resize when you refresh the page!

That said, I suspect it's not possible to do what you want, at least with CSS alone. The slideshow module (via the Jquery plugin?) sets the height and width of the slides based on the dimensions of the page as loaded. It doesn't change those settings unless the page is loaded again, I assume to save on system resources. You don't have to use any other modules to get that effect, though. I've put them inside Panels or just as plain Views pages, and it always works the same way. Everyone should see a correctly-sized slideshow when they first load the page. It's fine unless they're actively fooling around with the size of their browser window - in which case, maybe just a note about hitting F5 to resize?

#2

stuen93 - January 6, 2010 - 20:17

Thanks for the response. I had come to the conclusion that the size was set by the java script behind the slideshow. I think I will probably put a note somewhere on the page about refreshing and then i also changed the CSS so that when the browser window is re-sized the slidehow disappears behind another div instead of overlapping so the slideshow shows up behind a bunch of text.

#3

redndahead - March 16, 2010 - 05:16
Status:active» won't fix

This is a limitation of the jquery cycle plugin.

 
 

Drupal is a registered trademark of Dries Buytaert.