Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Password to Reveal Link

    I'm looking for some HTML coding to help me with a problem. I want to have viewers enter a password into a box and then, assuming they enter the correct password and click OK, then it will reveal a link which they can then click on. If they don't enter the correct password, then the link will not be shown. I don't need to password protect a page, just password "protect" the link.

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,479
    Thanks
    0
    Thanked 635 Times in 625 Posts
    What server side language do you have available to do this with?
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New to the CF scene
    Join Date
    Apr 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by felgall View Post
    What server side language do you have available to do this with?
    You're going to hate me, because you're already talking over my head. I use the site wix.com and have created an HTML5 page. It's mostly a WYSIWYG type of creation tool, but they allow HTML/JAVA wigits to be added. I've been searching the web for some code to just cut and paste, but nothing seems to fit extactly. I'd even be willing to pay a few $ for someone to create a little code. It just need to have a one-line form that says "password" and then if the person enters the correct password and clicks 'OK' then a link appears (or by clicking OK it can directly take the person to the page. I just don't want people seeing the link without entering the password. (I understand that someone could go to the link if they knew the URL, but I'll accept the risk).


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •