Hi everyone,
I have a basic java script code to show and hide a div element. What I want to do is to make the element hide only when a password is entered.
Here’s what I am aiming to do: Basically I want to cover my website with a div element 100% width and height, with a message saying the website is in development. And I want to set a pass code which can be entered to hide the div element and be able to use the website.
Ok, so the code I have is:
Click here
Now you see me
From: http://www.javascriptkit.com/javatutors/dom3.shtml
I’d be grateful if anyone can help me.
Thanks
Aleksander