SIRtypeFree Example 5

  Changing the settings for each line of text.

 

 

In the "Text" parameter you seperate each line of text with a | like this <param name="Text" value="first line of text|second line of text">. You can do the same thing for the Sound, FontColor, Font, FontSize, FontBold, FontItalic, TextAlignment, AfterEffect, AfterEffectSpeed, TypeSpeed, TextHold and  TypeWait.

Example,

If you specify this value for the Font parameter "TimesRoman|Courier" then the first line of text will be in a TimesRoman font and the second line of text in a Courier font. Take a look at the following HTML to see how to do the same for the other parameters.

HTML for this applet

<applet width="665" height="50" code="SIRtypeFree.class">
<param name="Text" value="
Welcome to the typewriter applet with extra special effects|This applet was made by Chris O'Brien|See more applets at|Sirius|Our URL is http://www.net800.co.uk/netstart/sirius|email us at chris@applets.freeserve.co.uk">
<param name="Link" value="http://www.net800.co.uk/netstart/sirius">
<param name="BgColor" value="255,255,255">
<param name="FontColor" value="
0,100,0|130,120,0|230,0,0|230,0,0|0,0,0|0,200,200">
<param name="Font" value="
TimesRoman|TimesRoman|Helvetica|TimesRoman|Courier|Dialog">
<param name="FontSize" value="
18|14|16|36|16|24">
<param name="FontBold" value="
Yes|No|Yes|Yes|No|No">
<param name="FontItalic" value="
No|Yes|Yes|Yes|No|No">
<param name="TextAlignment" value="
CENTRE|RIGHT|CENTRE|CENTRE|LEFT|CENTRE">
<param name="AfterEffect" value="
FadeOut|Shrink|NoEffect|ScrollUp|ScrollUp|Shrink">
<param name="AfterEffectSpeed" value="
30|10|30|20|30|10">
<param name="TypeSpeed" value="
40|60|100|50|20|50">
<param name="TextHold" value="
2000|500|1000|800|3000|3000">
<param name="TypeWait" value="
1000|1000|1000|0|4000|1000">
<param name="Soundt" value="
type.au|none|none|type.au|none">
</applet>