this happen only if i select the width using ” % “, if i use “px” works great
well, i do it work with “%” but wen the windows changue size with the collapse closed, and then when its open again the images dont resize to the new scale
Plugin Author
Baden
(@baden03)
try assigning the target the class of maptastic:
like so:
[expand title="your title" targclass="maptastic"]your hidden content goes here[/expand]
i already try this but still happen, if i resize the widows with the collapse open, the slider resize good, only happen when resize the windows with the collapse closed and then open again
Plugin Author
Baden
(@baden03)
Yes, this is because when the element is collapses, it has no height or width to adjust. If you give it a fixed size, then it will work with out problem. If you give it a size based on a % of the parent container: when the container is collapsed, the size is zero. x % of zero is still… zero.
The only easy solution is to force the element to ‘lock’ open once expanded.
when you say fixed size you mean work with px?, because i try to adjuste size using px but have the same issue
Plugin Author
Baden
(@baden03)
the size of the slider, or the size of the expand element that wraps the slider?
Adjusting the slider size, the slider using “px” show selected size but the control navegation and images are out of scale