|
| 
Website Development Page
Welcome to the Teachers.Net Website Development Page. This page is dedicated to helping you add function to your Teachers.Net Homepage. A few of these functions will require CGI access from your server, and therefore will not work if your website provider does not allow you CGI access.
Click below for detailed instructions on installing common CGI functions:
- Access Counters
Access counters, until very recently, required your own CGI access. Now, thanks to Web Counter[tm], anyone can add a counter to any web page. Best of all, it's free!
To create you own web counter, click here.
- Clickable Java Banners
Here is a great little Java applet you can install onto your own server and then run in any web page you like. Here are the instructions:
- Click here to download the Java code.
- Store the code in a folder called Java on your website.
- Modify and place the following lines in your web document:
<applet codebase="/Java"
code="NavigatorTicker.class" width=100% height=32>
<param name=count value=>
<param name=msg0 value="... Welcome to Teachers.Net ...\\http://www.teachers.net">
<param name=msg1 value="... Click here to check out our high performance website packages ...\\http://www.teachers.net/websites">
<param name=msg2 value="... Have you subscribed to WebTalk? Click here for details ...\\http://www.teachers.net/webtalk">
<param name=msg value="... Questions? Write to our information auto-responder ...\\mailto:info@teachers.net">
<param name=speed value=9>
<param name=bgco value=240,240,240>
<param name=txtco value=55,50,175>
<param name=linkco value=187,16,16>
</applet>
- NOTE - count value should be one higher than last msg number.
- NOTE - background color (bgco), text color (txtco), and link color (linkco) all utilize standard Red/Green/Blue numbers - download this color palette for a handy color guide to RGB color equivalents.
- NOTE - Please download the source code to your own server - do not reference the source code from the Teachers.Net webserver.
- For more information on the Java Navigation Ticker, visit http://163.121.10.41/java/applets/NavTickr/.
- JavaScript Clocks
You can easily install your own JavaScript Clock in your web page. Dave's Demos feature some pretty nifty JavaScript clocks, one you can place anywhere on your page, and another you can have display on the browser's status bar (at the bottom). Like all JavaScript applets, the source code can be found by viewing the page's source. In Netscape, from the "view" menu, select "document source."
For the easiest way to install a JavaScript clock in your homepage, visit the Teachers.Net Homepage Generator!
- Mailing Lists
Mailing lists require CGI access. There are two inexpensive approaches to creating your own electronic mailing list:
- You can download and install Great Circle Associates' Majorodomo, a hardy full-featured freeware listserv program written by Brent Chapman. Be warned - Majordomo is a very complex program, and is not for the faint of heart! If you have an account on Teachers.Net, you can follow our step-by-step installation instructions.
- Image Maps
Image maps are the images you see on web pages that allow you to click in different areas, and you are linked to different sites. there are two types, server side image maps, and client side image maps. Server side image maps require CGI access, and require your server to process a calculation and return the proper coordinates, and thus take longer time to link you. For information on server side image maps, visit the NCSA Image Map Tutorial.
Client side image maps, however, are able to fire up directly from the browser, and thus are quicker. The problem is, not all browsers support this type of image maps. However, you can put both types of maps on the same image; browsers not supporting one default to the other). To find out more about client side image maps, visit the Imagemap Help Page.
- Website Search Engine
Website search engines provide your visitors a means to find information scattered across your website. Website search engines require CGI access. Download and install Matt Wright's SimpleSearch, a simple website search program suitable for small websites.
- Remote Agent Detection
Remote Agent Detect allows you to send out a web page specifically tailored for the browser visiting the site. Remote Agent Detect scripts require CGI access. There are two types, the first detects the browser type and redirects the browser to another page. The second employs a server side include. It simply opens up a filename based on the client's browser, reads the file, and echoes its contents to the client's browser.
- Server Side Includes
Server Side Includes allow you to create dynamic HTML documents. Commands embedded in the HTML force the server to perform a calculation, insert a variable (like the date or time), a file or document, or execute a CGI program. Since the web page is not "fixed" until "run-time," the page is said to be created "on-the-fly."
Here are a few simple Server Side Includes you can include in your HTML to add function to your web pages. (Note - the following Server Side Includes are standard NCSA commands, you may need to alter the syntax if you are not serving from a Httpd server, you may need to alter the syntax. Some server configurations require documents featuring Server Side Includes to end with the extension ".shtml". You may also need to have your server administrator enable Server Side Includes for your website.
Last Updated...
Insert the following line to show the last date a document was updated. You should alter the name of the file to reflect the name of the page.
<small><i>Last updated <!--#config timefmt="%B %d, %Y" --><!--#flastmod file="index.html" --></i></small>
You can also insert the present date and time (useful for scripts generating orderforms) by inserting the following line:
<!--#echo var="DATE_LOCAL" -->
Prepending this statement with a variation of the following will vary the output as listed:
<!--#config timefmt="%c" --><!--#echo var="DATE_LOCAL" -->
Here are a few of the format time codes:
- %a -- abbreviated weekday name
- %A -- full weekday name
- %b -- abbreviated month name
- %B -- full month name
- %m -- month number
- %c -- date and time
- %d -- day of the month
- %x -- date (without time)
- %X -- time (without date)
- %y -- last two digits of year
- %Y -- 4 digit year
- %H -- hour (24 hour clock)
- %I -- hour (12 hour clock)
- %M -- minute
- %S -- second
- %p -- a.m./p.m.
- %Z -- time zone
As indicated in the first example, you can mix these and insert punctuation as needed.
- Java LED Sign
The Java LED sign is a handsome and powerful Java applet which you can customize to your needs. To view an example of the Java LED Sign and download the source, click here. You do not need CGI access to install the Java LED Sign.
|