Closed (fixed)
Project:
Views Slideshow
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2009 at 21:08 UTC
Updated:
22 Mar 2012 at 06:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
Michsk commentedI got it fixed with css, tough not the way but it works. for those who also need this:
#block-block-2 div{height:150px;overflow:visible;}
as you can see i used it in a block and needed overflow visible.
Comment #2
redndahead commentedHmm the other option should work so I'll look into that the settings actually get applied.
Comment #3
redndahead commentedYou might also need to add containerResize:false
You will have to apply this patch as well to get it to work for now. http://drupal.org/node/632838#comment-2265562
Comment #4
hixster commentedthe patch doesn't work, I still can't get variable height views slideshows. I posted about this here: http://drupal.org/node/194672 , but no response.
I've attached the following:
1) My views_slideshow.js patched code
2) My options in views_slideshow UI ( i've tried false and true, it makes no difference)
3) 2 images that show the container is not resizing.
4) Any help on this appreciated, been trying to get assistance on this for a month now.
Comment #5
redndahead commentedmarking as critical to look at before release.
Comment #6
benklocek commentedI'm having trouble with getting the advanced settings to work also.
I've tracked the code down and inserted some console.log statements for firebug. I'm wondering if some of the trouble we are having comes from the data being typed wrong. For example, cleartype = "true" is being sent, not cleartypebg = true, without quotes as sync and random are.
I reset one of the options I had in advanced from within /views_slideshow/contrib/views_slideshow_singleframe/views_slideshow.js (around line 69) as an integer (instead of as a string as it had been from advanced settings) and it took effect.
I'd submit a patch, but I don't know enough JS to do what is required.
I expect looking at the value from advanced settings and checking type, would make these settings work. The patch from http://drupal.org/node/632838#comment-2265562 is a start, but integers need to be typed, as well as cleaning whitespace.
Comment #7
redndahead commentedFor advanced settings there is an eval statement for true and false that types it correctly. Typing int's are something that may need to be done. The advanced settings needs to be reworked.
Comment #8
redndahead commentedHere is the patch that will be committed. Should fix this issue.
Comment #9
redndahead commentedCommitted.
Comment #11
hixster commentedVariable/Fixed height option works great in latest release! Thanks for fixing.
Comment #12
khorpyakov commentedNotice that space before number value invalidates numeric parameter. "height:300" is ok and "height: 300" brakes the script normal execution. Maybe trim() function could be useful?
Comment #13
remydenton commentedI'm re-opening this issue because, as khorpyakov pointed out, adding a space breaks this functionality. It's not a huge deal once you've figured it out, but the problem is that the example given right below the field has a space in it: "Ex. height: 350". I think at the very least the example needs to be changed.
Comment #14
ejohnson commentedCan one use a Percentage value (ie. 100%) for the Advanced Options instead of it being a fixed value?
On the ContainerResize, added 0 to strip the style width and height causes the slideshow to disappear completely. How would one add width and height 100% or an alternative to fix this?
The height and width options for the Advanced Options, what does this affect/change in the code (ie. is this changing the image height/width or some container)?
None of these changes seem to be taking affect for me in the code.
Thanks for any input.
EDIT: I see this is a Drupal 6 thread. I'm referring to Drupal 7.
Comment #15
redndahead commentedPlease open a new issue. This thread was for 2.x and applied to that.