Revolution Slider Issue

Home Forums Porto – Responsive HTML5 Template Revolution Slider Issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10005514
    jamespeerless
    Participant

    Trying to get the proto theme adapted into my home page. I have added all the scripts, stylesheets, and markup required for the homepage but I’m getting an JS exception when I view the page and it looks to be something wrong with revolution slider plugin.

    Uncaught TypeError: undefined is not a function

    On the first line of the revolution file.

    Am I supposed to do anything with the other revolution plugin assets? I’m currently only including the javascripts but don’t see where the css/images/fonts are referenced?


    #10005523
    Support
    Keymaster

    Hello, to make the Revolution Slider to work you need to include 2 JS files and 1 CSS, as you can see in the documentation:

    <!-- jQuery REVOLUTION Slider -->
        <script type="text/javascript" src="rs-plugin/js/jquery.themepunch.tools.min.js"></script>
        <script type="text/javascript" src="rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
         
        <!-- REVOLUTION BANNER CSS SETTINGS -->
        <link rel="stylesheet" type="text/css" href="rs-plugin/css/settings.css" media="screen" />

    Unfortunately it’s a bit difficult for us to say exactly what can be the problem, it looks like a conflict.

    If you could send us the URL would be easier.

    Kind Regards,

    Jonas


    #10005546
    jamespeerless
    Participant

    I concatenate and minify my JS and CSS files and include them both in the <head> of my html file. I made sure the order of the files are in the same order as the example home.html. Do you think it’s a problem to incldue all of the scripts in the <head> tag instead of in the bottom of the document?


    #10005558
    Support
    Keymaster

    Hello, it would be great it you could add the single JS file at the bottom of the file as well, it makes your website loads faster and some of the scripts requires the HTML be loaded in advanced to execute.

    Kind Regards,

    Jonas


Viewing 4 posts - 1 through 4 (of 4 total)

This topic is marked as "RESOLVED" and can not rceive new replies.