|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Password Protected web site
I am planning to protect one of my web pages using Passowrd and for doing so I like to use Java Script. Could you please help me?
|
|
#2
|
|||
|
|||
|
RE: Password Protected web site
Here is a link to a page that should be what you are looking for.
http://www.pageresource.com/jscript/jpass.htm |
|
#3
|
|||
|
|||
|
RE: Password Protected web site
I used the following code for entering the password but the window appears on the left top corner of IE. How can I show it in the middle of the page?
password=prompt('Please enter your password to view this page!',' '); |
|
#4
|
|||
|
|||
|
RE: Password Protected web site
I do not think you can position the prompt box. It pops up wherever it wants...probably position 0,0 by default.
|
|
#5
|
|||
|
|||
|
RE: Password Protected web site
Check this cool Javascript code which makes a customized prompt box!
http://javascript.internet.com/messages/customizable-javascript-prompt.html |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Password Protected web site |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|