PicScroll Parameters


foreColor - the color of message text that is displayed while the applet loads images over the network.

backColor - the color of the background that is displayed before any images are loaded. Also used for the color of the background if no backTileImage is specified.

backTileImage - optional - the static image that is tiled behind everything.

logoImage - optional - the static image that is displayed above the tiled image, but behind the scrolling images.

logoImagePos - optional - The upperleft corner of logoImage referenced from the applet's upperleft corner. For example, if you want the left side of the image to appear 10 pixels right of and 20 pixels below the upperleft corner of the applet then use: "10,20"

topImage - optional - the static image that is displayed above everything.

topImagePos - optional - The upperleft corner of topImage referenced from the applet's upperleft corner

scrollDirection - The direction that the scrolling images will scroll. This value should be "left", "right", "up", or "down"

scrollSpeed - The number of pixels the images will move for each animated frame.

scrollDelay - The minimum time (in miliseconds) between animated frames.

scrollBoxPos - The upperleft corner of the rectangle that contains the scrolling images referenced from the applet's upperleft corner.

scrollBoxSize - The size of the rectangle that contains the scrolling images. This rectangle should be as small as possible, but still contain the scrolling images. If the rectangle is too large, it will slow down the animation. If it is too small it will crop the scrolling images so that they only appear inside the rectangle.

scrollSpaceEvenly - This param should be set to "yes", or "no". If it is set to "yes" then the applet will evenly space the centers of the images that are being scrolled. If it is set to "no" then the scrolling images will be edge to edge.

scrollMakeCopies - This param should be set to "yes", or "no". If it is set to "yes" then the applet will automatically display multiple copies of each scrolling image in order to completely fill the scroll box with images. If it is set to "no" then there may be gaps between the scrolling images if there are not enough images to fill the scroll box.

pic1 - This is where you specify the first image that will be scrolled. The second and subsequent images are specified with 'pic2', 'pic3', 'pic4', etc... The integers in the parameters must start with '1' and increase by one without skipping any integers.

pic1URL - optional - the URL that the browser will link to when the mouse is clicked on the first image. The given URL can be reletive to the current document or a full URL. The integer in this parameter must match the integer that is used to specify the image that it relates to. In other words, the URL for 'pic2' must be specified with 'pic2URL' and 'pic3URL' is for 'pic3' etc...

pic1URLFrame - optional - the name of the target frame to open the first image's URL into. The integer in this parameter must match the integer that is used to specify the URL that it relates to. The value can also be one of the following reserved strings that have special functions:

"_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

mousyMessage - optional - a string that is displayed when the mouse cursor is over the applet.

mousyMessFont - optional - the fontname,style,size of the mousyMessage

The available Java font names are: "Helvetica", "TimesRoman", "Courier", "Dialog", "ZapfDingbats".
The spelling and the case of the letters is important.
The available Java font styles are: "Plain", "Bold", "Italic", "BoldItalic".
The size can be anything you want as long as it is greater than zero.

mousyMessColor - optional - color of the mousyMessage

mousyMessSpeed - optional - the number of pixels the mousyMessage will move for each frame.

clickToURL - the URL to link to when the mouse is clicked anywhere on the applet other than on one of the scrolling images that has a specified URL. The given URL can be reletive to the current document or a full URL.

clickToURLinFrameName - the name of the frame to open this link into. The value can also be one of the following reserved strings that have special functions:

"_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

<alternate html> - used if the user's browser does not support java. Replace this entire line with whatever you want to display if the user has an old browser that can't run java applets. If the user's browser can run java then this html code will be ignored.



©1997 Hayden Books