home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Password.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
758b
|
45 lines
[SUBJECT]
Description=Inserts a password (minimum security) in your HTML document
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- begin script
;function checkPswd(ext) {
; if ((document.pswdForm.pswd.value == null) || (document.pswdForm.pswd.value == ''))
; alert('`alert`');
; else this.location.href = document.pswdForm.pswd.value + ext;
;}
;// end script -->
;</scripT>
;
[BODY_TEXT]
;<form name="pswdForm">
;<input type="password" name="pswd" size="`size`" maxlength="40">
;<input type="button" value="Ok" onClick="checkPswd('`file_extension`')">
;</form>
;
[`file_extension`]
Kind=S
Value=.html
[`alert`]
Kind=S
Value=Invalid password.
[`size`]
Kind=N
Value=24