Archived

This topic is now archived and is closed to further replies.

  • 0

Slider Problems with revolution and royal slider


Question

Posted · Report post

hi there, i am trying to use a different then the page line-feature-slider. some with layers like royal slider or revolution slider. both dont work with pagelines.

with firebug i get the following error concerning script.bootstrap.min.js, that comes with pagelines-theme.

TypeError: a("body").on is not a function

can you help me with it?

frank

Share this post


Link to post
Share on other sites

6 answers to this question

Posted · Report post

It could be that the plugins are creating an error, or, that they're not prepared to deal with CSS LESS. So, my suggestion, based on the error you're getting is to validate the site or page, and the error will be shown. If no errors in HTML, then we will look for CSS errors in another validator.

Share this post


Link to post
Share on other sites

Posted · Report post

It looks like it could be a conflict with the jquery files. I looked up the issue and someone else had a similar issue because their version of Bootstrap was old, but PageLines uses the latest version of Bootstrap so that wouldn't be the problem. You will need the latest version of jquery (1.7+).

Share this post


Link to post
Share on other sites

Posted · Report post

so you named a possible mistake, that actually is none. so i am helpless as before...

Share this post


Link to post
Share on other sites

Posted · Report post

Frank the error you're getting looks as if CSS is being called in a function.


a("body")

body is a CSS element, thus my thinking is, there's an error in some customization or in the code. We've had plenty of clients use 3rd party sliders with little or no problem.

May I ask...

1. Was there any custom CSS or coding necessary for the installation of these plugins?

2. How are the plugins applied to the post or page? Shortcode or PHP code?

3. Was it necessary to alter any core files of PageLines to implement the plugins?

Thanks.

Share this post


Link to post
Share on other sites

Posted · Report post

Try validating your code with this site. It will tell you where the errors are located: http://validator.w3.org/

Share this post


Link to post
Share on other sites

Posted · Report post

this mean, the error output of bootstrap from pagelines can be made by an plugin? not by bootstrap itself?

some css-changes are made, yes.

plugins are aplied via shortcode.

i did not change any corefiles of pagelines.

Share this post


Link to post
Share on other sites