Example1Example2Example3Example4


This example demonstrates how to use text file to read scroll text from a file. Furthermore, I set pause parameter to "0". Therefore, applet text scroll continuously. It doesn't stop.



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.


Here's the code I used for the applet on top:

<applet code="advnewsscroll.class" width="170" height="205">
<param name="info" value="Applet by Gokhan Dagli,japplets.tripod.com">
<param name="regcode" value="">

<param name="input_text" value="from_file">
<param name="text_file" value="avtinput.txt">

<param name="scroll_mode" value="scroll">

<param name="bgimage" value="imageget.jpg">
<param name="image_xposition" value="40">
<param name="image_yposition" value="80">

<param name="bgcolor" value="000000">
<param name="title_color" value="ffcc00">
<param name="text_color" value="ffffcc">
<param name="highlight_title_color" value="ff3300">
<param name="highlight_text_color" value="ff3300">

<param name="title_align" value="left">
<param name="text_align" value="left">

<param name="title_font_type" value="Helvetica">
<param name="title_font_size" value="12">
<param name="title_font_style" value="1">

<param name="text_font_type" value="Arial">
<param name="text_font_size" value="11">
<param name="text_font_style" value="0">

<param name="title_underline" value="no">
<param name="text_underline" value="no">

<param name="scroll_delay" value="30">
<param name="pause" value="0">

<param name="border_thickness" value="1">
<param name="border_color" value="ffffcc">

<param name="left_margin" value="10">
<param name="top_margin" value="10">
<param name="right_margin" value="10">
<param name="bottom_margin" value="10">

<param name="vertical_space" value="20">
<param name="title_linespace" value="0">
<param name="text_linespace" value="0">

</applet>