Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Wordpress Theme JQuery conflict with New Royal Slider Plugin

Posted on 2014-11-27
2
Medium Priority
?
318 Views
Last Modified: 2014-11-28
Hi,
I have installed a royal slider plugin for wordpress but its conflicting with my theme and reporting the following error:

Uncaught ReferenceError: slider is not defined

I have deactivated all the plugins and the error is still there. I switched themes and the error goes away so i know the issue lies within the theme being used i just cant find what i need to do.

Any help would be much appreciated.

Heres a link to the site in question http://www.timelapseframes.co.uk.gridhosted.co.uk/

Many Thanks,

Andrew
0
Comment
Question by:Andy6350
2 Comments
 
LVL 83

Accepted Solution

by:
leakim971 earned 2000 total points
ID: 40469721
replace :
slider.ev.on('rsAfterSlideChange', function() {
    slider.playVideo();
});

Open in new window

by :
sliderInstance.ev.on('rsAfterSlideChange', function() {
    sliderInstance.playVideo();
});

Open in new window

0
 

Author Closing Comment

by:Andy6350
ID: 40470266
Quick response, spot on!
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
This article discusses how to implement server side field validation and display customized error messages to the client.
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The viewer will learn how to dynamically set the form action using jQuery.

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question