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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:17:44+00:00 2026-05-24T19:17:44+00:00

I am looking to transform the right border colour of a DIV when another

  • 0

I am looking to transform the right border colour of a DIV when another is hovered upon. The solution to getting the slideToggle to work was a little different from what I’ve read up on so I imagine this solution will be slightly different.

Here is the very longhand code:

$(document).ready(function(){

$(".articleExpand").hide();

$('.mainArticle').hover(function() {   
     $(this).find('.articleExpand').stop(true,true).slideToggle('medium');
  }); 


$("mainArticle").hover(function(){
  $(this).find('.articleExpand').animate({"borderRightColor" : "#cccccc"}, 300);
});


});

As I mentioned the slideToggle is fine but I am not sure how to integrate the animation.

Many thanks all,

Tom

  • 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-24T19:17:45+00:00Added an answer on May 24, 2026 at 7:17 pm

    Welcome to the wonderful world of JQuery UI! (That’s what you need to use.)

    http://jqueryui.com/demos/animate/

    “The jQuery UI effects core extends the animate function to be able to animate colors as well. It’s heavily used by the class transition feature and it’s able to color animate the following properties:

    backgroundColor
    borderBottomColor
    borderLeftColor
    borderRightColor
    borderTopColor
    color
    outlineColor
    with one of the following combinations:

    hex (#FF0000)
    rgb (rgb(255,255,255))
    names (“black”)”

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

Sidebar

Related Questions

I am looking to transform a input xml given below <profile name=default> <color id=forecolor
I am looking for a tool that can serialize and/or transform SQL Result Sets
I'm looking to take the result of a SQL Server stored procedure and transform
I'm looking for a right-click upload application like RightLoad - an application that can
I'm looking to transform an image using a Matrix on the onDraw method of
I have been looking for C# examples to transform a DAG into a Tree.
I'm working on an ASP.NET MVC solution that has a number of different menus.
I'm looking for a solution. I have a CSS styled page. The page is
I'm looking for a simple way to take an object and transform its rotateY
I am looking for nested menu which can have different background images , below

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.