Closed (fixed)
Project:
Views FractionSlider
Version:
7.x-2.3
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
24 Mar 2015 at 22:49 UTC
Updated:
27 May 2016 at 00:32 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedI found that if I set it to "00" instead of "0", it will respect it. Ideally that shouldn't be necessary though. I've also discovered that it seems to be stuck at a max of 900px wide, even though the description says it is "fully responsive". This is resulting in a black bar remaining because my container is apparently about 920px wide (fluid width theme). Can this be made to fluidly adjust to the container width? It seems you are using javascript to set the width, otherwise I'd just fix it in CSS.
Comment #2
patryk padus commentedSome functions are not avaible at this moment. I work to update this script. Pleas be patient.
JS plugin have some possibility that it's not currently used by Drupal module.
Comment #3
Anonymous (not verified) commentedI fixed it. :-) I'll describe what I did for anyone else who might want to make this slider fully responsive.
I copied fractionslider.js from the module's /js folder into my theme folder and added the script to my theme's .info file (add "scripts[] = fractionslider.js"). Then I changed the setting item "increase" from "false" to "true" in the new fractionslider.js file. I found out that this setting is designed to let the slider dimensions increase beyond the size parameters set (900, 400) if it needs to. Then I cleared the cache in admin (admin/config/performance). Now it resizes to the container box with no problem, it is fully responsive. :-)
Comment #4
Anonymous (not verified) commentedComment #5
monymirzaComment #6
maxplus commentedHi,
I have set the general option in the views UI to "increase > true" and added in my case one line css to make my elements responsive:
.fraction-slider .slide-in {
width: 25%;
}