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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:18:17+00:00 2026-05-10T22:18:17+00:00

Sometimes software installers force you to scroll to the end of the EULA before

  • 0

Sometimes software installers force you to scroll to the end of the EULA before the “I agree” box is enabled. How can I produce the same effect on a web page?

  • 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. 2026-05-10T22:18:17+00:00Added an answer on May 10, 2026 at 10:18 pm
    <html>     <head>         <script type='text/javascript'>             function setupPage() {                 var agreement = document.getElementById('agreetext');                 var visibleHeight = agreement.clientHeight;                 var scrollableHeight = agreement.scrollHeight;                 if (scrollableHeight > visibleHeight) {                     var checkbox = document.getElementById('agreebox');                     checkbox.checked=false;                     checkbox.disabled=true;                     agreement.onscroll = handleScroll;                 }             }              function handleScroll() {                 var agreement = document.getElementById('agreetext');                 var visibleHeight = agreement.clientHeight;                 var scrollableHeight = agreement.scrollHeight;                 var position = agreement.scrollTop;                 if (position + visibleHeight == scrollableHeight) {                     document.getElementById('agreebox').disabled=false;                 }             }         </script>     </head>     <body>         <form>             <textarea id='agreetext' rows='8' cols='40'>Long agreement</textarea>             <br/><br/>             <input type='checkbox' id='agreebox' value='true'/> <label id='agreelabel' for='agreebox'>I agree</label>             <br/><br/>             <input type='submit' value='Continue'/>         </form>         <script type='text/javascript'>             // We put this at the end of the page rather than in an document.onload             // because the document.onload event doesn't fire until all images have loaded.             setupPage();         </script>     </body> </html> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sometimes IE6 will render the text of a <ul> list the same color as
Sometimes a labeled break or continue can make code a lot more readable. OUTERLOOP:
Sometimes I get Oracle connection problems because I can't figure out which tnsnames.ora file
I must sometimes write software to establish a socket with a particular server residing
Sometimes when I change my environment variables in Windows, and then use software the
Sometimes I see web based software that is designed using some slick javascript windows
Sometimes when developing using open source software, you need to read it's source code
To protect software, you can create a validation system which requires users to provide
In an older software project, sometimes we are experiencing problems building an InstallShield-based installer,
I want to compare version numbers of apps/software which sometimes may have two decimal

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.