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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:54:02+00:00 2026-05-21T19:54:02+00:00

I have a few long descriptions. On page load, I hide the long description

  • 0

I have a few long descriptions. On page load, I hide the long description and instead I truncate it to show the short description. The way I do this is to toggle the description divs.

They look like this:

hello world! my name is more

hello world! my name is more

hello world! my name is more

When you click on more, it will expand the description. After it expands, it will have a less that brings it back to short form.

The problem is that if the description is long enough, once you click less, you can no longer see the description (because you have scrolled it offscreen.

What I want it to do when the user click less is this:

When the less is showing, the user is able to see what is below that description. So everything below should stay in place, while everything above the description we clicked slides into view.

  • 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-21T19:54:03+00:00Added an answer on May 21, 2026 at 7:54 pm

    Use jQuery slideUp, slideDown, slideToggle, hide, show. There are tons of way to do it.

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

Sidebar

Related Questions

I have few question in this regard When you create an internet page, does
I have few C functions declared like this CURLcode curl_wrapper_easy_setopt_long(CURL* curl, CURLoption option, long
I want to have a generic function for a few types such as long,
I have few nested DIVs at page. I want to add event only for
I have a few long term processes and temporary processes in Python. While shell
I have a few regular expressions which are run against very long strings. However,
I have a few long strings (~ 1.000.000 chars). Each string only contains symbols
I have few functions, which calls another (integrated functions in browser), something like this:
I have few layouts (different DataTemplates) with video controls. Creation of this video controls
I've created a couple of little few page long websites for one time projects

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.