Attempting to integrate slider php snippet using html data-attribute
Hi Dmitry,
Im struggling to get the slider to work when using HTML5 data-atttributes. Im building a google-image-style expanded preview effect overview page (see http://www.oneoff.ie/project/) and when the preview expands id like to show the related post slider.
here's my code:
the data-slider attribute is calling in the custom field area where the slider shortcode is placed. The images are appearing fine but the slider doesn't seem to want to activate. If you click "view project" - you will see the slider working perfectly on the individual project page. Using firebug, i can see that the data-slider attribute is also working as i can see the royalslider div has be appended to it. I've also included the Preload CSS and JavaSript files on every page using the setting page.
Is there anything you could suggest that could be causing the slider not to work?
If you need any further information please let me know,
look forward to your reply,
thanks
Philip
.
help.dimsemenov.com
No comments:
Post a Comment