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

  • SEARCH
  • Home
  • 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 8015525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:16:46+00:00 2026-06-04T20:16:46+00:00

I found this script: http://www.queness.com/post/3036/create-a-custom-jquery-image-gallery-with-jcarousel which has everything I need except one thing. On

  • 0

I found this script: http://www.queness.com/post/3036/create-a-custom-jquery-image-gallery-with-jcarousel

which has everything I need except one thing. On right side selection is changing but preview on left side is same all the time.

Does anyone knows how to change this?

  • 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-04T20:16:47+00:00Added an answer on June 4, 2026 at 8:16 pm

    You can utilize the itemFirstInCallback callback of jCarousal to change the preview like this

    function mycarousel_itemFirstInCallbackBeforeAnimation(carousel, item, idx, state) {
    
        $('div#slideshow-carousel li a img').stop(true, true).css({'opacity': '0.5'});
        $('div#slideshow-carousel li a').each(function () {
    
           if ($('a',item).has('span').length) 
              $('a',item).children('img').css({'opacity': '1.0'});
    
        });
        if (!$('a',item).has('span').length) {
           $('div#slideshow-carousel li a img').stop(true, true).css({'opacity': '0.5'});
           $('a',item).stop(true, true).children('img').css({'opacity': '1.0'});
        }
    
        $('div#slideshow-main li').removeClass('active');        
        $('div#slideshow-main li.' + $(item).find('a').attr('rel')).addClass('active');
            }
    

    Then you can call jCarousal with the above callback

    $('#carousel').jcarousel({
        vertical: true,
        scroll: 1,
        auto: 2,
        wrap: 'last',
        itemFirstInCallback: {
         onBeforeAnimation: mycarousel_itemFirstInCallbackBeforeAnimation
        },
        initCallback: mycarousel_initCallback
    });
    

    DEMO

    ZIP Bundle

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found this sliding panel script I like at http://www.webdesignerwall.com/demo/jquery/ , (#1 Sample Slide
I found this RGB to HSL script over at http://www.mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript . I can't find
i have this script found here http://jsfiddle.net/g4txt/ i am using this carousel http://www.thomaslanciaux.pro/jquery/jquery_carousel.htm the
well im using this script right here: http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/ and I have a multiMonth plugin
I found this ajax file upload script here http://www.phpletter.com/Demo/AjaxFileUpload-Demo/ Which is supposed to add
I found this script for warning message here: http://www.red-team-design.com/cool-notification-messages-with-css3-jquery In the script it is
I found the count down script in http://www.dynamicdrive.com/dynamicindex6/dhtmlcount.htm It works fine if i just
I have found this one: http://www.sqlscriptgenerator.com/ Which is actually decent enough but it puts
I just started using JSON and found this example from http://imdbapi.com/ : <script type=text/javascript>
So i've found this script: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd> <html

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.