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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:51:16+00:00 2026-05-25T14:51:16+00:00

I am building a system where users can edit content inline, however a requirement

  • 0

I am building a system where users can edit content inline, however a requirement of the project is:

No Javascript!

Is there a way using just php, html and css to maintain the scrollbar position on a page refresh so when an edit button is clicked the page doesn’t jump up to the top?

any suggestions?

  • 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-25T14:51:17+00:00Added an answer on May 25, 2026 at 2:51 pm

    This sounds like the perfect place for progressive enhancement. If there is no javascript, then use the named anchor tag (as Olli mentions) and a hash on the URL to get it close (but it won’t be exact).

    If there is javascript, then save the scroll position to a cookie or URL parameter and restore the scroll position exactly when the page reloads.

    There should be no harm in offering the best experience you can without javascript, but offering a better one when javascript is available (progressive enhancement).

    Another possibility is to use a paged or tabbed interface (to position the edit field near the top of the window) so it’s a lot less likely that there is any scrolling when the field is edited.

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

Sidebar

Related Questions

I'm building a site wherein users can create accounts and message each other using
I'm building a system where different users can upload their custom php modules. The
To make story short, i'm building self-learning banner management system. Users will be able
I'm building a project that uses the JVCL plugin system, which relies on runtime
I am building a multithreaded system that works like this: While there are entities:
I'm building a plugin system for my application. I've read that anyone can decomple
I'm building a LMS system using Sharepoint (WSS 3.0) with the Sharepoint Learning Kit
I'm building a part of a system where the user can define views from
I'm building an asp.net MVC application where users can attach a picture to their
I'm reading a book (Rails 3 in Action) that's building a project management system

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.