ImageRing


Example of ImageRing

Displays user-defined images in a ring. Each image is clickable to a load a link in any frame. Download it here !

How do I use ImageRing?

  • From the download, put ImageRing.class and ImageRing.jar in your html directory
  • To get you started, use the applet source from the html file included in the download.
 

What are the parameters for ImageRing ?

Name

Value

Example

AppletHomePage

http://go.to/javabase

bgCol

The page background colour

FFFFFF

highlightCol

The link highlight colour

880000
sleep Frame speed in milliseconds 50

images

See below for details

What about the "images" parameter ?

Like most javabase applets, the image link options are specified using the following formats:

{ImgSrc} For an unlinked image or tree node
{ImgSrc,Link} For a link to be opened in the same frame
{ImgSrc,Link,Frame}

For a link to be opened in a different frame.

Frame can also be "_new" for a new window, "_parent" for the frame's parent, "_top" for the top frame or "_self" for the applet's frame.

So, for example, to make a link to altavista which opened in a frame called "main" the option would look like:

{Altavista.jpg,http://www.altavista.com/,main}

Using javascript

In order to use javascript as a link, you must add MAYSCRIPT to your applet tag, eg:

<applet code="SlickTree.class" MAYSCRIPT>

You must then include your javascript as links, for example:

{Click.gif,javascript:alert('hello')}

How can I register?

The applet may show a link to javabase when it is unregistered.

Click here for registration details


Javabase Home