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

The Archive Base Latest Questions

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

I asked this question and the answer works really well. The only thing though

  • 0

I asked this question and the answer works really well.

The only thing though is that now I need a version that scrolls directly to the respective div instead of scrolling through all of them (i.e. if you hover over the last link, it won’t scroll through 6 former divs to get to it).

It still needs to return to the first div when you aren’t hovering over the link.

Also, it would be most ideal if there was also a way to stay on that div if you hover over it as well as its link. As of now, the div is not intractable because when you hover over it and leave its link, it scrolls away.

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

    Try that way:

    DEMO fiddle

    var flag = false,
        goto = 0,
        hre;
    
        $('#nav li a').bind('mouseenter mouseleave', function(e) {
            if (e.type === 'mouseenter') {
               flag = true;
               hre = $(this).attr('href');
               goto = $(hre).position().top;
               $('#sections').stop().animate({top : '-'+goto },800);  
            } else {
               flag = false;
    
                setTimeout(function() {
                   if( flag != true ){
                      $('#sections').stop().animate({top : '0' },800);  
                   }      
                }, 1000);  
            }
        });
    
    $('#sections').mouseenter(function(){
       flag = true;
    });
    

    After you hover an anchor, go fast into the ‘wrapper’ and it won’t go back to the 1st slide.


    BTW… why you just don’t create something more… practique? 🙂

    EXAMPLE fiddle

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

Sidebar

Related Questions

I originally asked this question , but in finding an answer, discovered that my
Yesterday, I asked this question and never really got an answer I was really
In another question that i asked recently i got a really good answer and
I asked this question a while ago and got an answer that I thought
I know this exact question was asked here , but the answer didn't work
I asked this question before and got a great working answer. what is the
I was asked this question and could not come up with the answer. Is
This question relates to this question which I asked earlier this week. The answer
I saw this question asked about C# I would like an answer for PHP.
This question may have been asked before, but I had trouble finding an answer,

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.