Forum HTML Templates Memorials Question about jQuery Counter on Homepage

This topic contains 3 replies, has 2 voices, and was last updated by  tyshah 1 year, 2 months ago.

  • Author
    Posts
  • #11669

    tyshah
    Customer
    Posts: 2

    Hi – I am using the theme for a ruby on rails project. I did not want to include all the css and js files since I will not be using all the plugins, especially the slider revolution.

    I was wondering what js files / css files are necessary for the counter on the homepage?

    Thanks

  • #11670

    Jewel Theme
    Support
    Posts: 1002

    Hello tyshah,
    If you remove all CSS and JS files then definitely this Template will not work. You’ve to keep at least few files. You can remove Revolution Slider CSS and JS Files, it will not affect anywhere in our Template. Also, You can separate the Counter Part CSS files as per your needs.
    Thanks

  • #11671

    tyshah
    Customer
    Posts: 2

    Yup I have most of the files aside from Slider Revolution…see attached image.

    How do I make those numbers count up on the page reload? Right now, they are just static numbers on the refresh…

  • #11673

    tyshah
    Customer
    Posts: 2

    Oh I figured it out. Needed this in the footer.

    $(document).ready(function() {

    $(‘.counter’).counterUp({
    delay: 10,
    time: 3000
    });

    }); //ready

    Thanks.

You must be logged in to reply to this topic.