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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T01:51:46+00:00 2026-05-13T01:51:46+00:00

Hi I have a question about image rollover but it’s not how you’d think.

  • 0

Hi I have a question about image rollover but it’s not how you’d think.

I’ve seen an example http://www.asos.com/ and click the home button(top nav far left)

You can see that when you rollover an image that image stays highlighted and the others darken.

I know this has been done with jquery but the code is very messy. Has anyone seen this before or knows how to do it?

Thanks

  • 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-13T01:51:46+00:00Added an answer on May 13, 2026 at 1:51 am

    Fast solution (it can be tuned shorter i guess):

    <div class="images">
        <img src="http://www.google.com/google.jpg" />
        <img src="http://www.google.com/google.jpg" />
        <img src="http://www.google.com/google.jpg" />
        <img src="http://www.google.com/google.jpg" />
    </div>
    
    <script type="text/javascript">
    $().ready(function(){
        $('.images img').hover(
            function(){
                $(this).parents('.images').find('img').not(this).animate({"opacity": "0.3"}, 200);
                $(this).animate({"opacity": "1"}, 200);
            }, 
            function(){
                $(this).animate({"opacity": "1"}, 200);
            }
        );
    $('.images').bind('mouseleave',function(){$(this).find('img').animate({"opacity": "1"}, 200);});
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a conceptual question about photo galleries like this: http://www.nikesh.me/demo/image-hover.html If you open
I have a question about clarification of my homework. http://www.cs.bilkent.edu.tr/~gunduz/teaching/cs201/cs201_homework3.pdf To see the handout
I have the following code but my question is about the banner image <!DOCTYPE
I have a question about how should I handle image files of various sizes
I have a question about this script I found and used. It works but
I have a question about Url.Action. My position is on http://localhost/User/Edit and for some
I have a question about loading an image from a website. The code I
I'm trying to develop a cycling image slider and have a question about a
I have a small question about dojo: I have a div: <div id=image class=classImage>
I have quite an specific question about image recognition. I have to write a

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.