URL jumps from a drop down list

Written 9/18/1997

urllist2.class

urllist2 allows for parameters to load the list.

Here is the html. URLs must be separated by a comma. They _can_ be on separate lines, but that is not required.

Labels follow the same format. If there are no labels the url's are used in their place. If you have problems, check for commas! Then look in the Java console (in Netscape Options/Show Java Console).

If you get some sort of 'null pointer exception" there are probably a different number of labels and urls. The code is not very clever about that.

Other than that, have fun. Oh yeah, this is all copyright (c) 1997, Richard L. Gibson. All rights reserved, except that permission is granted to use the code provided my copyright is displayed on your page, or in the html source. Also, my site at www.chilidog.com is, by default, and hard coded, the first site listed. If you want to use the applet without advertising my site (or adding hard coding for your own sites) email at Rich@chilidog.com me and we can talk.

<APPLET CODE="urllist2.class" WIDTH=308 HEIGHT=22>
<param name=URL value="
    http://www.sdproductions.com,
    http://www.sdproductions.com,
    http://www.chilidog.com/tomyoder/index.htm,
    http://www.greenbucks.org,
    http://192.168.0.1,
    http://192.168.0.1/puck/index.htm">

<param name=label value="
    Walker's World,
    Radio KUVO,
    Tom Yoder Trombone and Metal Work,
    Get Involved-get Greenbucks!,
    Rich Linux,
    Rich Linux to drive on Puck">


</APPLET>

This is urllist.class, the first, and uglier, version. It is mostly the URLSwitcher demo from Symantec Cafe.

Sorry...the applet didn't load

urllist.class requires three class files, for a bit over 5kb. urllist2.class runs in a single class that is about 2.2kb.


Runnable Class Files