home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / ANJAVA.ZIP / scrtext.txt < prev   
Encoding:
Text File  |  1998-11-29  |  5.9 KB  |  142 lines

  1.  
  2. Optional Scrolltext parameters:
  3.  
  4.  
  5. You can optionally activate a scrolltext that will scroll over the applet.
  6. If you don't need the scrolltext, deactivate it by placing "NO" in the
  7. "textscroll" parameter.
  8. If you want textscrolling,write the text you want scrolled in an ASCII text 
  9. file.
  10. Only one line of text is supported in "horizontal" mode, but it can be
  11. as long as you want.
  12. In "vertical" mode be sure not to exceed the width of the applet with
  13. the single lines of text.
  14. Remember to upload the text file to your site if you activate the
  15. scrolltext, otherwise you will get a message like "<HTML>404 not found"!
  16.  
  17. If activated, here are the parameters:
  18.  
  19.  
  20. <param name=textscroll value="myscr.txt"> ; File for scrolltext or "NO"
  21. <param name=texttype value="horizontal">  ; Tetxscroll mode
  22. <param name=textvspace value="0">         ; Vertical spacing in "vertical"
  23. <param name=textminfont value="8">        ; Min fontsize in "zooming"
  24. <param name=textmaxfont value="172">      ; Max fontsize in "zooming"
  25. <param name=textoffset value="140">       ; Txtscroll y offset in "horizontal"
  26. <param name=textspeed value="1">          ; Txtscroll speed
  27. <param name=textfont value="Helvetica">   ; Txtscroll font name
  28. <param name=textbold value="NO">          ; Txtscroll bold ("YES" or "NO")
  29. <param name=textitalic value="NO">        ; Txtscroll italic ("YES" or "NO")
  30. <param name=textsize value="24">          ; Txtscroll font size
  31. <param name=textshadow value="YES">       ; Txtscroll shadow ("YES" or "NO")
  32. <param name=TextColR value="200">         ; Txtscroll color (red component)
  33. <param name=TextColG value="255">         ; Txtscroll color (green component)
  34. <param name=TextColB value="190">         ; Txtscroll color (blue component)
  35. <param name=TextSColR value="20">         ; Txtscroll shadow col. (red c.)
  36. <param name=TextSColG value="20">         ; Txtscroll shadow col. (green c.)
  37. <param name=TextSColB value="50">         ; Txtscroll shadow col. (blue c.)
  38. <param name=TextJumpAmp value="0">        ; Txtscroll jump aplitude
  39. <param name=TextJumpSpd value="0">        ; Txtscroll jump speed
  40. <param name=TextSineAmp value="0">        ; Txtscroll sineshape amplitude
  41. <param name=TextSineSpd value="0">        ; Txtscroll sineshape movement
  42. <param name=TextSineAngle value="0">      ; Txtscroll sineangle / pixel
  43.  
  44.  
  45. Detailed instructions:
  46.  
  47.                     PART 1: TEXTTYPE PARAMETERS
  48.  
  49. The "texttype" parameter determines the scrolltext mode.
  50. There are 4 modes:
  51.  
  52. "horizontal" -> This scroller is a horizontal line sliding left.
  53.  
  54. "vertical" -> This scroller is made by lines that scroll upward,
  55.               like the final credits on movies.
  56.  
  57. "zooming" -> Text zooms in the center from far away to very close.
  58.  
  59. "invzooming" -> Text zooms in the center from very close to far away.
  60.  
  61.  
  62.  - TEXTTYPE = VERTICAL
  63.  
  64. If texttype="vertical", you can determine the vertical spacing between
  65. lines with the "textvspace" parameter.
  66.  
  67.  
  68.  - TEXTTYPE = ZOOMING or INVZOOMING
  69.  
  70. If texttype="zooming" or "invzooming", you can determine the size
  71. the text grows from start to end, using the "textminfont" and "textmaxfont"
  72. parameters.
  73.  
  74.  
  75.  - TEXTTYPE = HORIZONTAL
  76.  
  77. If texttype="horizontal", with "textoffset" you can choose the Y offset
  78. from the top. Placing it at 0 the scroll will be placed on the top, and
  79. and placing a value near the height of the applet will scroll the text
  80. at the bottom.
  81.  
  82. Optionally, you can activate the text jumping function, or the text sine
  83. function, but you can't activate both effects. You have to choose between 
  84. jumping or sine for the best effect on your page.
  85.  
  86. If "TextJumpAmp" is set to "0", no jumping will be shown.
  87. Increasing the value will result in text jumping: more amplitute, more
  88. high jumps.
  89. With the "TextJumpSpd" parameter you can select the jumping speed.
  90.  
  91. The alternative function is to activate the sine scroll function.
  92. If "TextSineAmp" is set to 0, no sine distortion will be generated.
  93. Increasing the value will result in a text waving effect.
  94. The higher the amplitude, the more waving.
  95. With the "TextSineSpd" parameter you can select the speed of the wave.
  96. With the "TextSineAngle" parameter you control how many degrees in a sinewave
  97. shape the text will be deformed for each pixel. A higher value gives more
  98. distortion.
  99.  
  100.  
  101.                     PART 2: COMMON PARAMETERS
  102.  
  103.  
  104. The "textspeed" parameter determines the scrolling speed.
  105.  
  106. With "textfont" you choose the font of text. Don't choose a strange or 
  107. non-standard font which is not common to all systems.
  108. The usable fonts are "Courier", "Dialog", "Helvetica" and "TimesRoman".
  109. If the required font is not present, the most "near" will be used.
  110.  
  111. Setting "textbold" to "YES"  will enlarge the font a bit. Set
  112. it to "NO" for normal contours.
  113. With "textspeed" parameter you decide the scrolling speed.
  114.  
  115. Setting "textitalic" to "YES" will apply italic style to the font.
  116. Set to "NO" to disable this feature.
  117.  
  118. With "textsize" you can change the size of text font.
  119. The most common sizes are: 8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72.
  120. Intermediate values will be scaled to the nearest available size.
  121.  
  122. Setting "textshadow" to "YES", will add a shadow to the textscroll.
  123. Otherwise, setting it to "NO", will make shadows "projected".
  124.  
  125. You can choose the color of text with:
  126.  
  127. TextColR = Red component of color (0-255)
  128. TextColG = Green component of color (0-255)
  129. TextColB = Blue component of color (0-255)
  130.  
  131. For example, 0,0,0 is black, 255,255,255 is white, 255,0,0 is red,
  132. 255,255,0 is yellow, 128,128,128 is grey.
  133. You can compose any color you want. Try manually experimenting,
  134. or use any paint program's color selector to find the 
  135. Red Green Blue components of your desired colors.
  136.  
  137. With TextSColR,TextSColG,TextSColB you can select the color for text shadow.
  138.  
  139. NOTE: If you want to display special characters, such as japanese,
  140. chinese or korean, this will work only from versions 4 of Netscape and
  141. Explorer, not on releases 3 and older.
  142.