A. News Scroll Java Applet![]() ![]() | |||||||||
Advanced News Scroll Java Applet Commercial Version 2.0 ![]() Example 2 ![]() ![]() ![]() The Advanced News Scroll Java applet is available as part of Popular Applets Collection. Applet Features
As an example here's the code I used for the applet on top :
Information:
Advanced News Scroll's parameters are explained below : The following instructions describe the meaning of the available parameters for this applet: |
Parameters | Value |
<applet code="advnewsscroll.class" width="170" height="200"> | The applet tag identifies the location, class file name, and size of a Java applet. The first part of the tag code=advnewsscroll.class, identifies the name of the Java applet. The second and third part of the applet tag identifies the width and height of the applet (usually measured in screen pixels). |
<param name="info" value="Applet by Gokhan Dagli,www.appletcollection.com"> | Information about the Advanced News Scroll Java applet. The info parameter must be included for the applet to run. It is case sensitive, and the number of spaces between words must be identical. |
<param name="regcode" value=""> | Registration code (if you have it). Place the registration code you purchased from us into value section of this parameter. You have to pay small amount of money to receive your registration code (regcode). Click here to buy your regcode.You can buy the registration code using a credit card through Regnow secure server. It also accepts Checks and Money Orders. |
<param name="input_text" value="from_parameters"> | "from_parameters" or "from_file". Example2 and Example3 read text from file. |
<param name="text_file" value=""> | The name of the text file that contains the text to be vertically scrolled. The file must reside in the same directory as the Java applet. Example2 and Example3 read text from file. |
<param name="scroll_mode" value="scroll"> | "page" or "scroll". Example4 uses page mode. Click here to see. |
<param name="bgimage" value="b15.jpg"> | The file name of a GIF or JPEG image that will be drawn behind the scrolling text. The file path is based starting with the directory in which the Java applet is located. If you don't want to use backgroung image, please use this tag like this: <param name="bgimage" value=""> Example3 doesn't use background image. Click here to see. |
<param name="image_xposition" value="0"> | Horizontal position of the background image, in pixels. |
<param name="image_yposition" value="0"> | Vertical position of the background image, in pixels. |
<param name="bgcolor" value="000000"> | Background color, in hexadecimal RGB format. |
<param name="title_color" value="ffcc00"> | Color of the titles, in hexadecimal RGB format. |
<param name="text_color" value="ffffcc"> | Color of the text messages, in hexadecimal RGB format. |
<param name="highlight_title_color" value="80a0d0"> | This parameter will change the color of the titles to the specified color when your mouse moves over the applet. This will only occur if there's an associated URL for the current text. You must use hexadecimal RGB format. |
<param name="highlight_text_color" value="50b5f0"> | This parameter will change the color of the text message to the specified color when your mouse moves over the applet. This will only occur if there's an associated URL for the current text. You must use hexadecimal RGB format. |
<param name="title_align" value="left"> | "left", "center",or "right". This tag identifies alignment of the title messages. Can take one of these three values: "left", "center" ,or "right". |
<param name="text_align" value="left"> | "left", "center",or "right". This tag identifies alignment of the text messages. Can take one of these three values: "left", "center" ,or "right". |
<param name="title_font_type" value="Helvetica"> | Name of the title font. Valid values are: "Helvetica", "TimesRoman", "Courier" and "Arial". |
<param name="title_font_size" value="12"> | Size of the title font. |
<param name="title_font_style" value="1"> | Style of the title font ("0"=plain, "1"=bold, "2"=italic, "3"=1+2=bold+italic).. Example: <param name="title_font_style" value="1">. |
<param name="text_font_type" value="Helvetica"> | Name of the text font. Valid values are: "Helvetica", "TimesRoman", "Courier" and "Arial". |
<param name="text_font_size" value="11"> | Size of the text font. |
<param name="text_font_style" value="0"> | Style of the text font ("0"=plain, "1"=bold, "2"=italic, "3"=1+2=bold+italic).. Example: <param name="title_font_style" value="0">. |
<param name="title_underline" value="no"> | "yes" or "no". |
<param name="text_underline" value="no"> | "yes" or "no". |
<param name="scroll_delay" value="30"> | This is the delay in milliseconds between redraws. In other words it represents the speed of the scrolling. The lower the number, the faster it scrolls. |
<param name="pause" value="3000"> | This is the time, in milliseconds, the text should be waiting before scroll again. |
<param name="border_thickness" value="2"> | Width of the applet border, in pixels. |
<param name="border_color" value="d0d0a0"> | Color of the applet border, in hexadecimal RGB format. |
<param name="left_margin" value="10"> | Margin at the left of the applet, in pixels. |
<param name="top_margin" value="10"> | Margin at the top of the applet, in pixels. |
<param name="right_margin" value="10"> | Margin at the right of the applet, in pixels. |
<param name="bottom_margin" value="10"> | Margin at the bottom of the applet, in pixels. |
<param name="vertical_space" value="24"> | To create a blank space to separate paragraphs. This controls how much space is between each paragraphs. |
<param name="title_linespace" value="0"> | Space between lines of title texts, in pixels. |
<param name="text_linespace" value="0"> | Space between lines of text, in pixels. |
<param name="titleN" value="000000"> | Title of the text message. (N =1,2,3...,number of message). You must start at 1 and increase by 1 at each time. You can use # symbol to jump next line. |
<param name="textN" value=" "> | Message body. (N =1,2,3...,number of message). You must start at 1 and increase by 1 at each time. You can use # symbol to jump next line. |
<param name="linkN" value=""> | The absolute and/or relative URLs. |
<param name="target_frameN" value="_self"> | Target frame. Sometimes you want the URL to be opened in a particular frame or in a completly different window. Use this parameter to specify the destination of the URL to open. |
</applet> | The last part works like all other HTML tags and defines the end of the applet tag </applet>. |
Text File Format |
Title|Text|Link URL|Target Frame
Please do not forget putting "|" charecter between items. You have to use three "|" charecter each line. Example2 and Example3 read text from file. |
Getting Started
Linking to My Web Site
Troubleshooting & Support
|
|
|||
|
|||
|
|||