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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:51:59+00:00 2026-05-20T22:51:59+00:00

I am kind of really stuck with this problem. Any help will great. I

  • 0

I am kind of really stuck with this problem. Any help will great.

I am clicking on a link which expand the content and when i am cliking on a hide button, instead of taking me to the Expand link, it takes me to the bottom.I have already tried such options like onclick=”fun() return false” and href=javascrpit:void(0), but not could help.

PLease refer http://jsfiddle.net/BdsyJ/ this link and click on “How do I maximize battery life” and at the bottom you will get a hide button which should take the control back to the Click it rather than placing the page at the bottom.

Thank you guys.

  • 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-20T22:51:59+00:00Added an answer on May 20, 2026 at 10:51 pm

    I changed your ReverseDisplay() method to this and it works nicely:

            function ReverseDisplay(d) {            
                $("#" + d).toggle();
    
                $('html, body').animate({
                    scrollTop: $("#" + d).prev().offset().top
                }, 100);          
            }
    

    here’s a working example:

    http://jsfiddle.net/hunter/BdsyJ/5/


    In case you were wondering; YES your HTML is invalid. <li> elements should not have <div> siblings.

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

Sidebar

Related Questions

This is a kind of a newb question but I'm really new to programming
Kind of need help understanding what this code actually outputs. Does it out put
I know it's not sporting asking for this kind of help, But I've been
Maybe this is a too simple question but I'm kind of stuck here. I've
i am really stuck with this task - i need to populate a report
Perl is really good for writing the kind of string/file parsing programs that I
I'm really new to Spring and Spring MVC and I'm working on a kind
I have a kind of strange thing that I really nead for my text
Kind of like this question I have many text snippets that I use many,
be kind this is my first post. I have a Crop intent retuning and

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.