Filmstrip Gallery not working with bootstrap accordion
Permalink Browser Info Environment
We have an issue with the Filmstrip Gallery when used inside the bootstrap accordion which does not happen outside the accordion.
When the gallery is placed inside the accordion, all looks fine until the the page is published. There is no gallery there - when logged in or out it is not there. Sometimes it appears and then disappears again when the page is refreshed.
Here is the page where we have it appearing:http://karas.co.uk/newsite/index.php/contact-us...
Here is the page where it is not working:http://karas.co.uk/newsite/index.php/process...
The gallery is in section two (Alocrom 1200).
Can you see what the confilct is?
Thanks
Fergus
When the gallery is placed inside the accordion, all looks fine until the the page is published. There is no gallery there - when logged in or out it is not there. Sometimes it appears and then disappears again when the page is refreshed.
Here is the page where we have it appearing:http://karas.co.uk/newsite/index.php/contact-us...
Here is the page where it is not working:http://karas.co.uk/newsite/index.php/process...
The gallery is in section two (Alocrom 1200).
Can you see what the confilct is?
Thanks
Fergus
Type: | Pre-Sale |
---|---|
Status: | Resolved |
Hi there
Sorry, but that has not fixed the issue - not sure if it something that we're doing wrony!
If you could try the demo that would be great.
Thanks
Ferg
Sorry, but that has not fixed the issue - not sure if it something that we're doing wrony!
If you could try the demo that would be great.
Thanks
Ferg
Hi there, thanks for your patience, I wish I could have gotten to this a bit sooner but things kept getting in the way.
I made a jsFiddle with working example!
https://jsfiddle.net/um3hpuzv/24/...
You should just have to put in the bottom of the page this code for it to work (taking the id of element from your website you provided):
apparently it's a pretty nasty bug in Flexslider. Hmmm.. :(
Hope this helps! Thanks!
I made a jsFiddle with working example!
https://jsfiddle.net/um3hpuzv/24/...
You should just have to put in the bottom of the page this code for it to work (taking the id of element from your website you provided):
$('#collapseTwo').on('shown.bs.collapse', function () { $.each($('.flexslider'), function(i, v) { $(v).data('flexslider').setup(); }); })
apparently it's a pretty nasty bug in Flexslider. Hmmm.. :(
Hope this helps! Thanks!
Hi there
Thanks for the help - the filmstrip is now showing on the accordion.
Follow-up question (sorry!)
Where is the setting that would allow us to change the height of the filmstrip container? Currently it appears to be 150px high - the client would prefer smaller thumbnails - say 50px high. I few set the images at 50px, then they just blow up to the 150px high container and pixelate. - you can see it here:http://karas.co.uk/newsite/index.php/process... - click on the second section down, "Alocrom 1200 ...".
Many thanks for the support.
Kind Regards
Ferg
-----Original Message-----
From: concrete5 Community [mailto:discussions@concretecms.com]
Sent: 22 October 2017 02:14
To: fergus@jagseven.co.uk
Subject: Filmstrip Gallery not working with bootstrap accordion : Support
Thanks for the help - the filmstrip is now showing on the accordion.
Follow-up question (sorry!)
Where is the setting that would allow us to change the height of the filmstrip container? Currently it appears to be 150px high - the client would prefer smaller thumbnails - say 50px high. I few set the images at 50px, then they just blow up to the 150px high container and pixelate. - you can see it here:http://karas.co.uk/newsite/index.php/process... - click on the second section down, "Alocrom 1200 ...".
Many thanks for the support.
Kind Regards
Ferg
-----Original Message-----
From: concrete5 Community [mailto:discussions@concretecms.com]
Sent: 22 October 2017 02:14
To: fergus@jagseven.co.uk
Subject: Filmstrip Gallery not working with bootstrap accordion : Support
The slideshow needs to be re-initialized in jQuery on expansion so that the width and height of the slideshow appear correctly.
Make sure the ID matches the accordion...
https://v4-alpha.getbootstrap.com/components/collapse/#events...
Let me know if this does the trick, if not I will try a demo myself, as I am just remembering from memory. :)