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 680601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:23:28+00:00 2026-05-14T01:23:28+00:00

The markup below is used for my jQuery carousel widget. The first div serves

  • 0

The markup below is used for my jQuery carousel widget. The first div serves as a preview div for the currently selected template thumbnail. When a user mouseover event occurs inside the carousel on any thumbnail image, I’d like the preview image to update to show the full size thumbnail of that image (and then revert back to the default onmouseout).

The carousel images and the preview image are the same size, I’m just setting the size of the carousel images via css to appear smaller.

//this is my full size preview image
<div class="selectedImage">
    <img src="../wp-content/themes/mytheme/screenshot.jpg" />
</div>
// this is the element that moves the carousel images
<a href="#"><img class="prev" src="../wp-content/themes/mytheme/more.jpg" /></a>

//This is the carousel. I'd like hover events to update the preview image
// with the mouseover image, but revert back to the default onmouseout.
<div class="carousel">
    <ul>
        <li><img src="../wp-content/themes/mytheme/screenshot1.jpg" class="selected" /></li>
        <li><img src="../wp-content/themes/mytheme/screenshot2.jpg" class="selected" /></li>
        <li><img src="../wp-content/themes/mytheme/screenshot3.jpg" class="selected" /></li>        
    </ul>
</div>

btw, I’m using the jcarousellite_1.0.1.min.js plugin for the carousel.

  • 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-05-14T01:23:28+00:00Added an answer on May 14, 2026 at 1:23 am

    DEMO: http://jsbin.com/uyupu

    $(function() {
        $(".carousel").jCarouselLite({
            btnNext: ".next",
            btnPrev: ".prev"
        });
    
      $('.carousel ul li').hover(function(e) {
    
      var img_src = $(this).children('img').attr('src');
      $('.selectedImage img').fadeOut(200).attr('src',img_src).fadeIn(200);  
    
    }
    ,function() {
    
    //do here what you want, or simply hide image!
    $('.selectedImage img').fadeOut(200);
       });
    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the below markup that cannot be changed: <div>Some data</div> <span>More data</span> <a>Link
I want to know the selected value of the markup below. So that I
Used code first and everything appears to work apart from the below which also
below is my markup. when i move the mouse over the hyperlinks they get
Thanks for reading this. I have markup similar to what is below. Using the
Does anyone know how Stackoverflow does the 'preview box' which is below the textarea
i'm trying to populate a ViewData instance with html markup like shown below. When
How can i get the numbers 148.42 from the markup below with preg_match_all? They
I have some plain text file (.xls extension) with next markup (attached below). It's
The markup below displays the panels one below the other. What I would like

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.