Load Readme.html into your Web Browser if you prefer!!
************************CODELINK*************************************
Simple password protection for any Website
Silk Webware http://silk.webware.co.nz
Email Support support@silk.webware.co.nz
**********************************************************************
Part1 General Description
Part2 Setting Up Codelink on your page
Part3 Common Questions and Remedies
Part4 Codelink is Shareware "distribute freely"
Part1 General Description
Codelink can be included on any html webpage. By placing a 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 access these parts of the
site with a 7 digit password which by default must start with "Ab", then followed by any 5 digit combination of
"A","b","c","1","2","3","4","5","6","7","8","9". Example Ab12345 or AbAAb12 or Ab9898c; there are over 250,000
combinations.
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 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.
Idea!! You may wish to give each of your guests a different password which would open their own specific secret
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. You may trial Codelink as an unregistred version for up to 30 days after which you will
be required to either purchase a UserCode or remove Codelink from your page.
1: Simple setup: Usercode
Note a sample html file called Codelink.html and Ab12345.html are included codelink.html
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 codelink.class and code2.class and the html file you
wish to hide eg Ab12345.html
Once you have purchased your Usercode enter it in as a parameter; Note: Each UserCode is unique and is based on
the exact http address of the page which contains your Codelink Control Pad. If your Control Pad is on, for example,
http://silk.webware.co.nz/homepages/Entrance.html then the Usercode would be something like Cv7636. When you
purchase a Usercode you must send the exact address of the page you intend to place the Codelink Control Pad on.
We do not require the name of your hidden file
"if your Usercode is du8765 then the following will work"
If you have not purchased a UserCOde please place Trial30days instead
2: Simple setup: Height Width parameters
Note that the width and height parameters must always be 250 and 145 respectively, You do not have to change these
values.
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
"_parent" -----show in the parent frame
"_top" -----show in the top most frame
"_blank" ------show in a new unnamed top-level window
-----show in new top-level window named
Example:
This will cause Codelink to open the "hidden" page in a new unnamed top-level window.
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.
5: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.
codelink
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 can’t 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.
codelink.class
code2.class
c: Are you using a Java enabled browser? Find out how to get one. Most browsers released today are Java enabled.
Q2: Why won’t 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 start with "Ab" followed by no more and 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: If you have not registered your page for a correct and specific Usercode please go to Silk Webware at
http://silk.webware.co.nz for registration details.
b: Are you using the correct Address "URL", Your Codelink Control Pad is registered only for the http address you
have supplied when you registered, If you want to put another control pad on another page you will have to register it
separately.
c: If you have a registered Usercode and Codelink still displays Unregistered version!, Email us at
custom@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.
Part4 Codelink is Shareware Codelink is shareware, this means you can distribute the codelink.zip file from your
site
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