//////////////////////////////////////////////////////////////
Load the file CodeDemo1.html into your favorite web browser!
This Demo file is Shareware! 
You may distribute this demo file!
Codelink Demo V 3.0 This is a Demonstration Version Only!
These instructions are for the fully functional version of Codelink v 3.0
////////////////////////////////////////////////////////////// 
CODELINK
CodelinkV3 Simple password protection for any Website 
Codelink V 3.0 Demo




Part1 General Description 
Part2 Setting Up Codelink on your page 
Part3 Common Questions and Remedies 


Part1 General Description
Codelink can be included on any html webpage. By placing an Codelink control pad on your page you can choose who can view the parts of your site that may contain material which is private. Special guests can view these parts of the site with a 7 digit password made up of the characters on the Codelink keypad "A","b","c","1","2","3","4","5","6","7","8","9". Example Ab12345 or AbAAb12 or 9Ab898c; The letters "Ab" must be found within the password together and in this order. Example 12Ab123 1234Abc. Clarification; Somewhere within your password must be the letters "Ab" in this order "Ab". 
When a visitor enters the correct password, Codelink will open the respective page. If it is incorrect Codelink will either respond with "password declined" or the web browser will show a standard "File Not Found" message. Codelink constructs a link "URL" to a "hidden" page by taking the password and turning it into an html filename.

Example: The password Ab12345 would open Ab12345.html, as the password AbAAb12 would open AbAAb12.html. (Note that the "Case" of the digits always remains the same and all filenames have ".html" not ".htm" at the end.)

The newly constructed filename is the name of the html file which Codelink will attempt to open. This html file is like any other html file in all respects. It is important to note that Codelink will only open files in the same directory as the original page containing the Codelink Control Pad.

Example: If you have a page called Myhome.html which is in the directory ~JohnSmith, then the page that codelink will open must be in this same directory. 

Note; Codelink does not restrict access to the "private page". However by removing the need for a link the page is effectively hidden from anyone visting the site unless they have the correct password. Codelink does not store the password in any way, the password is only seen by Codelink as it is being entered, Codelink then constructs a Link to the html file based on the password. 

Idea!! You may wish to give each of your guests a different password which would open their own specific page! 

Part2 Setting Up Codelink on your page
Codelink is easy to set up and use, if you have any trouble please do not hesitate to email us at support@silk.webware.co.nz. 

1: Simple setup and RegistrationID
Note a sample html file called afCodelink.html and Ab12345.html are included CodeDemo1.html 

<applet
code=afCodelink.class
width=251
height=148 > 
<param name=RegistrationID value="RegistrationID"> 
</applet>


In the simplest setup these html tags are included on the page that you wish the Codelink Control pad to be on. Within the same directory as this html file you must include the two files afCodelink.class and afCode2.class and the html file you wish to hide eg Ab12345.html 

Once you have purchased your RegistrationID enter it in as a parameter; Note: Each RegistrationID is unique and is to be used in accordance with the Single site License Codelink will show Unregistered version when on the Internet if the incorrect RegistrationID is used

"if your RegistrationID is du8765 then the following will work" 

<param name=RegistrationID value="du8765"> 

2: Simple setup: Height Width parameters
Note that the width and height parameters must always be 251 and 148 respectively, You do not have to change these values. 

<applet
code=afCodelink.class
width=251
height=148 >

<param name=RegistrationID value="RegistrationID">
</applet>


3:Optional setup: Frame parameter
With this version of Codelink we have included the option of allowing the "hidden" page to be opened in the frame of your choice. If you decide to ignore this option, Codelink will open the page in the frame which currently contains the Codelink Control Pad. The following are the values which are currently accepted. Codelink follows the current standard HTML conventions with respect to frames. 

"_self" ---show in the current frame <default>
"_parent" -----show in the parent frame
"_top" -----show in the top most frame
"_blank" ------show in a new unnamed top-level window
<other> -----show in new top-level window named <other>


Example:
<param name=Frame value="_blank"> 
This will cause Codelink to open the "hidden" page in a new unnamed top-level window. 

<applet
code=afCodelink.class
width=251
height=148 > 

<param name=RegistrationID value="RegistrationID">
<param name=Frame value="_blank"> 
</applet> 

4:Optional setup: BackImage parameter
Some designers have asked that we include a background image, this allows you to improve the general look of the Control Pad. You may wish to set this parameter to the current background of the page. Please experiment with BackImage as certain colors and patterns can enhance the general look dramatically. Please note that only .jpg and .gif formats are acceptable. Hint: keep the patterns and colors within the graphics files as soft as possible. Codelink will automatically "wallpaper" the Control Pad, so the size of the image is not important however larger images take longer to download. 

<applet
code=afCodelink.class
width=251
height=148 > 
<param name=RegistrationID value="L6162"> 
<param name=Frame value="_self">
<param name=BackImage value="marble2.gif">
</applet> 

5:Optional setup: BoldFace parameter
Setting this parameter to true gives the characters on the Keypad a bolder font. 

<applet
code=afCodelink.class
width=251
height=148 > 
<param name=RegistrationID value="L6162"> 
<param name=Frame value="_self">
<param name=BackImage value="marble2.gif">

<param name=BoldFace value=true>
</applet> 

6:Full Setup Example
This sample setup shows all the HTML tags required show the marble2.gif both as the background of the page but also the background of the Control Pad. 

<html>
<head>
<title>codelink</title>
</head>
<body background="marble2.gif">
<br><br>
<br><br><br>
<center> 
<applet
code=afCodelink.class
width=251
height=148 > 
<param name=RegistrationID value="L6162"> 
<param name=BackImage value="marble2.gif">
<param name=Frame value="_self">
<param name=BoldFace value=true>
</applet> 
</center>
</body>
</html>


Part3 Common Questions and Remedies
The most Common mistake webpage designers make when using codelink is incorrect "case". Follow the sample html files using uppercase and lowercase respectively. 

Q1: Why cant I see the Codelink Control Pad on my page? 
a: You may have made a mistake in the HTML tags used to embed the Control Pad on your page. Check both the Spelling and the Case. 
b: Have you included the appropriate .class files in the same directory as the page containing the Codelink Control Pad? The following are both required.

afCodelink.class
afCode2.class


c: Are you using a Java enabled browser? Find out how to get one. Most browsers released today are Java enabled. 

Q2: Why wont my hidden page open? 
a: Once again Case is very important, make sure the "hidden" html file is named exactly the same as the password. 
b: Remember that the html file and the password must contain "Ab" and no more or no less than 5 digits from this list. Any combination is allowed!! "A","b","c","1","2","3","4","5","6","7","8","9" 
c: The page must be named with the .html extension rather than .htm , .HTML or .HTM Example Ab12345.html Ab6453c.html 
d: The "hidden" page must be in the same directory as the page containing the Codelink Control Pad and class files. 

Q3: Why does Codelink display "Unregistered version!"
a:Have you a correct RegistrationID, check the sequence and case.
b:Is the Version of Codelink CodelinkV3 or afCodelink these are the only version which accept RegistrationID, "Older versions which accept UserCodes will not accept RegistrationID" 
c: If you have a RegistrationID and Codelink still displays Unregistered version!, Email us at support@silk.webware.co.nz, we will check out the problem for you. 

Q4: Why is there no background image? 
a: Check your Html parameters, spelling and case 
b: The image you are referring to may be a .gif not a .jpg (vs/vs) 
c: Is the image file in the same directory? 

Q5: I have just changed the parameters of the Codelink Control Pad, but it appears the same as before. 
a: You must reload the page in a new browser window, and completely clear the cache. 

If you have any questions regarding the correct setup of Codelink, please email us at support@silk.webware.co.nz For more exciting webpage enhancements please visit Silk Webware
at Silk Webware