Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8803807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:26:16+00:00 2026-06-14T01:26:16+00:00

i have a minor problem but i dont know how to fix it i

  • 0

i have a minor problem but i dont know how to fix it i made a script with different settings but i receive an error

$(function() {
    $(".basket").hide();
    $(".opened").click(function(){
      $(".basket").slideToggle();
      $(".opened").toggleClass('active');
    });


    $(".black-block .showed").click(function(e){
      $(".black-block").find(".caption").slideToggle();
      $(".showed a").toggleClass('active');
    });
    $(".carousel").jCarouselLite({
        btnNext: "#c1r",
        btnPrev: "#c1l",
        easing: "easeOutQuad",
        visible: 5,

    });
    var currentSlide = 1;
    var currentPage = 0;
    $('#slideshow').slides({
                preload: true,
                preloadImage: 'img/loading.gif',
                effect: 'slide',
                crossfade: true,
            play: 5000,
                slideSpeed: 350,
                fadeSpeed: 500,
                generateNextPrev: true,
                generatePagination: false,
                animationStart: function(current){
                    $('').animate({
                        bottom:-155
                    },100);
                    if (window.console && console.log) {
                        // example return of current slide number
                        console.log('animationStart on slide: ', current);
                    };
                },
                animationComplete: function(current){
                    $('').animate({
                        bottom:0
                    },200);
                    if (window.console && console.log) {
                        // example return of current slide number
                        console.log('animationComplete on slide: ', current);
                    };

                    var newPage = Math.floor(currentSlide / 6);

                    if (newPage > currentPage) { // Page must be greater
                        $('#c1r').trigger('click');
                    }
                     else (newPage < currentPage) { // Page must be less
                        $('#c1l').trigger('click');
                    }                    
                    currentPage = newPage;
                    currentSlide = current;
                },
                slidesLoaded: function() {
                    $('').animate({
                        bottom:0
                    },200);
                }
            });

According to Firebug the error should be here:

else (newPage < currentPage) { // Page must be less
                    $('#c1l').trigger('click');

Since i am out of idea it would be awesome if maybe someone can give ma hint whats wrong. Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T01:26:17+00:00Added an answer on June 14, 2026 at 1:26 am

    change

    else (newPage < currentPage) { // Page must be less
    

    to

    else if (newPage < currentPage) { // Page must be less
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a minor CSS problem, but I'm having trouble fixing it because I
I have found a minor problem when i install my application on real android
I have made a minor change to an Excel macro, and although it worked
I have a working NSCollectionView with one minor, but critical, exception. Getting and highlighting
So, I have to make a minor bug fix to all of my scripts:
I have some minor problem with an SQL query. I have to select data
I have a minor problem where my (new) computer tends to completely freeze up.
I know similar questions (regarding cherry-picking) have been asked before, but I haven't really
I'm having a minor problem and I don't know how to do it. I
I have a minor setup problem due to the Swing component JGraph. I download

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.