Sunday, April 21, 2013

[Help Wordpress] Adding slider index to wordpress gives a JS error


Hi there,


I'm using the wordpress version of the slider, and I'd like to add a slider index, and based on this page


http://help.dimsemenov.com/kb/royalslider-javascript-api/creating-s...


it looks like I need to add this JS


https://gist.github.com/dimsemenov/a7b24018528bbc06874b


to the page. No problem., except that the JS is giving an error in the console:


Uncaught TypeError: Cannot read property 'ev' of undefined createIndicator (anonymous function)


which seems to be referring to line 12:


slider.ev.on('rsAfterSlideChange', updCount);


Any idea on what could be at fault here?



.

help.dimsemenov.com

No comments:

Post a Comment

Search

Other post