THE CODE... ============= The following code can be cut and pasted into an HTML document. Make sure that the ScrollIt.jar file is placed within the same directory as the HTML document that contains this code. Also make sure that the .gif images are stored in the sam directory. Make sure that your browser is Java enabled... ---------------------------------------------------------------- CONFIGURATION: ============== Width and Height can be set to desired specification. Text file layout... # comments can be included by prefixing with the pound sign, # these are ignored by the scroller. Normal text is displayed and scrolled text prefixed by the "|" symbol is the link text, which when clicked on will take you to the URL specified in the next line, eg: |CLICK HERE TO GO TO www.microsoft.com http:\\www.microsoft.com |CLICK HERE FOR A LOCAL FILE index.html NOTE: text links must always be followed by a URL! Blank lines are ignored by the scroller. NOTE: ===== When adding text within the applet parameters in the HTML page, add the "^" character (press "shift"+"6") to the end of each line. This means that you can't use the "^" character within the text you wish to display. E.g. Parameters include... This sets the background color, and should be entered as a hexadecimal value. If this parameter is left out then a default color of light-gray will be used. This sets the color of the scroll area's background, and should be entered as a hexadecimal value. If this parameter is left out then a default color of white will be used. This sets the color of the scrolling text, and should be entered as a hexadecimal value. If this parameter is left out then a default color of black will be used. This sets the color of the URL link text when the mouse pointer hovers over a link, and should be entered as a hexadecimal value. If this parameter is left out then a default color of red will be used. This sets the color of the URL link text, and should be entered as a hexadecimal value. If this parameter is left out then a default color of blue will be used. This sets the speed of the scroll, the higher the number, the slower the text will scroll. If this parameter is left out then a default value of 5 will be used. This sets the font face to be used. Current available fonts are "TimesRoman", "Courier" and "Arial". If this parameter is left out then a default of arial will be used. This value sets the font to either 'italic' or 'plain'. If this parameter is left out then a default of plain will be used. This specifies if the text is displayed in bold, values accepted are 'on' or 'off'. If this parameter is left out then a default value of off will be used. This sets the size of the font in points. If this parameter is left out then a default of 16 points will be used Specifies the location and name of the text file to read information from. If this parameter is left out then a warning message will be scrolled. If the text file cannot be found, or is blank, then a spearate warning message will be scrolled. If the value is set to "off" then it will force the applet to read the text line from the "text" parameter. When the "textfile" parameter is set to a value of "off" then the applet reads from the "text" parameter. This scrolls the text specified. Specifies which frame to load links into. Values can be: "_self" - loads into current window. "_parent" - loads into full current window if frames are used. "_blank" - loads into a new window. "framename" - loads into the name of the frame you specify. If this parameter is left out then a default of "_self" will be used.