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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:17:08+00:00 2026-05-13T10:17:08+00:00

I was animating an a element in jQuery using jQuery 1.3.2 and jQuery color

  • 0

I was animating an a element in jQuery using jQuery 1.3.2 and jQuery color plugin. I was animating the ‘color’ and ‘backgroundColor’ properties at the same time. In IE8 and FF it worked just fine. Chrome animated the mousehover color and then stopped. The background stayed the same and the mouseout did not undo the effect as it should have.

Chrome’s developer tools said something about something being undefined. I know that I’m being somewhat vague here, perhaps this is a known issue?

EDIT – Code(, finally!):

<script>
  $(document).ready(function(event){
    $(".nav a").hover(function(event){
      $(this).animate({"color":"#FFFFFF", "backgroundColor":"#3AB7FF"}, 900);
    },function(event){
      $(this).animate({"color":"#98DCFF","backgroundColor":"#FFFFFF"}, 900);
    });
  });
</script>

EDIT:

@Bernhard Hofmann – What do you mean “issues with the properties you’ve chosen”? Please elaborate.

  • 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-13T10:17:09+00:00Added an answer on May 13, 2026 at 10:17 am

    It would seem that Chrome has a few issues with the properties you’ve chosen. I managed to get the animation working using mouse enter and leave events in Chrome. Here’s the script and mark-up for those wanting to fiddle and have a go as well.

    <html>
        <head>
            <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
            <script type="text/javascript">
                $(function(event){
                    $(".nav a").
                    mouseenter(function(){$(this).animate({fontSize:"2em"}, 900);}).
                    mouseleave(function(){$(this).animate({fontSize:"1em"}, 900);});
                /*
                    $(".nav a").hover(function(){
                        $(this).animate({"color":"#FFFFFF", "backgroundColor":"#3AB7FF"}, 900);
                    },function(){
                        $(this).animate({"color":"#98DCFF","backgroundColor":"#FFFFFF"}, 900);
                    });
                */
                });
            </script>
        </head>
        <body>
            <div class="nav" style="color:#000;background:#cfc;padding:2em 2em 2em 2em;margin:2em 2em 2em 2em;">
                <a href="http://stackoverflow.com/questions/2010576/jquery-animation-issue-in-chrome" id="a1">StackOverflow</a>
            </div>
        </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 270k
  • Answers 270k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer protected void Application_Error(Object sender, EventArgs e) { var ex =… May 13, 2026 at 1:28 pm
  • Editorial Team
    Editorial Team added an answer The latitude part of the sspn is 0.0145. The longitude… May 13, 2026 at 1:28 pm
  • Editorial Team
    Editorial Team added an answer The answer's here - http://groups.google.com/group/three20/browse_thread/thread/e4f0b6dce137aaac/b6ce75422641d34d?lnk=raot May 13, 2026 at 1:28 pm

Related Questions

The Objective I want to dynamically assign event handlers to some divs on pages
My method fades a div box out and has a callback that calls a
I'm trying to achieve an effect similar with youtube home page (you must be
I would like to create a visual effect when an item in a listbox
I need to write a gauge control in WPF for a project at work.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.