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!
1: Simple setup: Usercode
Note a sample html file called Codelink.html and Ab12345.html are included codelink.html
<applet
code=codelink.class
width=250
height=145 >
<param name=Usercode value="UserCode">
</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 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"
<param name=Usercode value="du8765">
If you have not purchased a UserCOde please place Trial30days instead
<param name=Usercode value="Trial30days">
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.
<applet
code=codelink.class
width=250
height=145 >
<param name=Usercode value="UserCode">
</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=codelink.class
width=250
height=145 >
<param name=Usercode value="UserCode">
<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.
<applet
code=codelink.class
width=250
height=145 >
<param name=Usercode value="L6162">
<param name=Frame value="_self">
<param name=BackImage value="marble2.gif">
</applet>
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.
<html>
<head>
<title>codelink</title>
</head>
<body background="marble2.gif">
<br><br>
<br><br><br>
<center>
<applet
code=codelink.class
width=250
height=145 >
<param name=Usercode value="L6162">
<param name=BackImage value="marble2.gif">
<param name=Frame value="_self">
</applet>
</center>
</body>
</html>
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.