I have two Canvas licenses. Awesome template!
My client is using flex slider to display breaking news. My client has the requirement to build the slides of flex slider dynamically at page load time. On page load the javascript calls an REST API and basing on the number of news items that number of slides are created and appended to the slider. It does not work. We have used the same technique to build the owl-carousel dynamically and that perfectly works! For some reason each individual slide is being set to display:none. I think it is running into timing issue.
Please load the page: http://yusufbaba.com/ . Do view source and search for a DIV with ID breaking-news. The script is below the DIV tag. It perfectly builds the flex slider but the slides are not displayed.
Thanks for your help!
