Share this Page URL

Chapter 18. More JavaScript Fun > Creating a Password-Protected Page - Pg. 210

More JavaScript Fun <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!-- function GetPassword() {"jspass.htm", "","width=225,height=70") } //--> </SCRIPT> 210 All the GetPassword() function does is open a new window that contains the jspass.htm page. Figure 18.2 shows a page that uses this link and function (see jspwtest.htm on the CD in this book) and it shows the window that appears when you click the link.