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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:54:01+00:00 2026-05-28T07:54:01+00:00

This page is live at http://settlementprep.com/services/ $(#services_nav li a.move ).hover(function(){ $(this).stop().animate({‘padding-bottom’:20px},{queue:false,duration:200}); }, function() {

  • 0

This page is live at http://settlementprep.com/services/

$("#services_nav li a.move ").hover(function(){
        $(this).stop().animate({'padding-bottom':"20px"},{queue:false,duration:200});
    }, function() {
        $(this).stop().animate({'padding-bottom':"0px"},{queue:false,duration:200});
    });

this animates all the navigation items. But I want to have the current li be stuck up and not go back down, but I also don’t want it to slide up while its already up… any ideas?

  • 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-28T07:54:02+00:00Added an answer on May 28, 2026 at 7:54 am

    Just add class ‘active’ to the link that was clicked. And add CSS accordingly. See the sample code below:

    var $serviceLinks = $("#services_nav .move");
    $serviceLinks.hover(function(){
        if(!$(this).hasClass('active'))
            $(this).stop().animate({'padding-bottom':"20px"},{queue:false,duration:200});
    }, function() {
        if(!$(this).hasClass('active'))
            $(this).stop().animate({'padding-bottom':"0px"},{queue:false,duration:200});
    });
    
    $serviceLinks.click(function(){
    
        $serviceLinks.removeClass('active');
        $(this).addClass('active');
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

in this page http://api.jquery.com/category/effects/ when you put 'up'(keyboard) and 'down',then put 'enter',it will go
You can see in this page: http://www.indiacustomercare.com/blogs/admin there is layout issue for some time
Okay so for this page: http://www.facebook.com/ESPN?sk=app_224097940938597 Which appears on the left hand bar between
I am working off this test page: http://www.comehike.com/test_fb_connect.php When the user logs in using
Regarding the audio on this page: http://ebonytay.com/site/composer.php?clip=getOutOfTown#mediaplayer The audio controls show up in Chrome
Working on THIS Page: newsite.702wedding.com/live/ Can't find where to remove the arrows at the
hi here is my live page http://mehrdadkhoshbakht.com/test/index.html there is a jquery sliding animation on
http://procollage.com/site10 Please see this page I've been working on ALL DAY to just make
I am playing around with this page: http://www.problemio.com/problems/problem.php?problem_id=228 To reproduce the problem, log in
Consider this page @ http://www.bloodbone.ws/screwed.html I need to be able to have the a.grow

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.