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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:59:55+00:00 2026-05-21T11:59:55+00:00

I have a carousel, and each of the elements should be circled by another

  • 0

I have a carousel, and each of the elements should be circled by another image on hover. The problem is, I have to put a hover on each item of the carousel.

How can I target these items?

My HTML and Js :

<script type="text/javascript">
            jQuery.noConflict();
            jQuery(document).ready(function() {
                jQuery('#mycarousel').jcarousel({scroll : 1,animation : 'fast'});

                jQuery("#container_vignette_1").mouseover(function() {jQuery("#vignette_hover_1").show();}).mouseout(function(){jQuery("#vignette_hover_1").hide();});
                jQuery("#container_vignette_2").mouseover(function() {jQuery("#vignette_hover_2").show();}).mouseout(function(){jQuery("#vignette_hover_2").hide();});
                jQuery("#container_vignette_3").mouseover(function() {jQuery("#vignette_hover_3").show();}).mouseout(function(){jQuery("#vignette_hover_3").hide();});
                jQuery("#container_vignette_4").mouseover(function() {jQuery("#vignette_hover_4").show();}).mouseout(function(){jQuery("#vignette_hover_4").hide();});

                jQuery("ul#mycarousel li").hover(function(){

                })
            });
            </script>


            <ul id="mycarousel" class="jcarousel-skin-tango">
                <li><img src="images/image_1.png" width="202" height="128" alt="" id="image_1" /></li>
                <li><img src="images/image_2.png" width="202" height="128" alt=""/></li>
                <li><img src="images/image_3.png" width="202" height="128" alt=""/></li>
                <li><img src="images/image_4.png" width="202" height="128" alt=""/></li>
                <li><img src="images/image_5.png" width="202" height="128" alt=""/></li>
                <li><img src="images/image_6.png" width="202" height="128" alt=""/></li>
            </ul>

            <div id="container_vignette_1"><div id="vignette_hover_1" class="vignette_hover"><!-- --></div><!-- --></div>
            <div id="container_vignette_2"><div id="vignette_hover_2" class="vignette_hover"><!-- --></div><!-- --></div>
            <div id="container_vignette_3"><div id="vignette_hover_3" class="vignette_hover"><!-- --></div><!-- --></div>
            <div id="container_vignette_4

“>

And my css :

div#container_vignette_1 {margin-left:88px;margin-top:197px;position: absolute;left:0;top:0;float:left;width:214px;height:154px;background: url(../images/spacer.png) repeat;}
div#container_vignette_2 {margin-left:297px;margin-top:197px;position: absolute;left:0;top:0;float:left;width:214px;height:154px;background: url(../images/spacer.png) repeat;}
div#container_vignette_3 {margin-left:506px;margin-top:197px;position: absolute;left:0;top:0;float:left;width:214px;height:154px;background: url(../images/spacer.png) repeat;}
div#container_vignette_4 {margin-left:715px;margin-top:197px;position: absolute;left:0;top:0;float:left;width:214px;height:154px;background: url(../images/spacer.png) repeat;}

div.vignette_hover {position:absolute;left:0;top:0;flot:left;width:214px;height:154px;background: url(../images/background/vignette_hover.png) 0 0 no-repeat;display:none;}
  • 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-21T11:59:56+00:00Added an answer on May 21, 2026 at 11:59 am

    you don’t have to put pseudo classes at the end of a style definition, you could use CSS

    div.someDiv:hover div.someContainedDiv{
    /*this will target div.someContainedDiv when div.somediv is in a hover state*/
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an image carousel and shadowbox. I want the user to be able
I have the following problem: I am creating a simple plugin jquery carousel, to
I have remove some item from the list of the BxSlider carousel. But when
I have made a carousel and using JavaScript setInterval() function for rotate image with
I have the following images in that I'm using for a carousel. Each time
I have an image carousel. There's a div for the main viewing area, and
I have a carousel on my site, and if there are no elements my
I have two carousels on one page but unfortunately they copy each other. http://jsfiddle.net/seanjacob/tB6y5/
Ok, so I have a carousel that animates left and right. There is the
I have implemented the carousel on my webpage as follows <div class=container-fluid> <div id=myCarousel

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.