Agree Before Entry

By Lee Underwood on Jan 26, 2007

General

Confirm your visitor’s approval by requiring their name before continuing on. Useful if you require your visitors to accept a disclaimer before downloading software or visiting a section of your members-only site. Could be used with a cookie.


I agree
Please enter your name to show agreement:
I disagree

Notes

  • Created by: Lee Underwood
  • Web Site: http://www.javascriptsource.com/
  • Posted: January 26, 2007

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: agreeBeforeEntry.js


CSS

Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Comments

Blog comments powered by Disqus