<CENTER> <APPLET CODE="SNSineText.class" WIDTH=592 HEIGHT=80> <PARAM name = text value = "WELCOME TO SN HOME PAGE"> <PARAM name = TextColor value = "rycwopg rB cy rcwg ryBp"> <PARAM name = BackColor value = "b"> <PARAM name = FontName value = "TimesRoman"> <PARAM name = FontStyle value = "Bold"> <PARAM name = FontSize value = "30"> <PARAM name = Offset value = "15"> <PARAM name = GapSize value = "5"> <PARAM name = Amplitude value = "20"> </APPLET> </CENTER>
To understand above text and modify it according to your requirements, follow these steps
<PARAM name = text value = "WELCOME TO SN HOME PAGE">
<PARAM name = TextColor value = "rycwopg rB cy rcwg ryBp">
Following table will help you to understand the symbols used in above tag. for example : To select the red color for all characters of text you can use
<PARAM name = TextColor value = "rrrrrrr rr rr rrrr rrrr">
<PARAM name = BackColor value = "b">
<PARAM name = FontName value = "TimesRoman">
you can use: 1. value = "TimesRoman" 2. value = "San Serif" 3. value = "Helvetica"
<PARAM name = FontStyle value = "Bold">
you can use any one of these: 1. value = "Plain" 2. value = "Bold" 3. value = "Italic" 4. value = "Plain+Italic" 5. value = "Bold+Italic" 6. value = "Plain+Bold" 7. value = "Plain+Bold+Italic"
<PARAM name = FontSize value = "30">
you can use any FontSize for example value = "24"
<PARAM name = Offset value = "15"> <PARAM name = GapSize value = "5"> <PARAM name = Amplitude value = "20">
where 1. Offset is the horizontal distance from the start of applet display area to the first character of text or distance from last character of text to the end of applet display area . 2. GapSize is the gap between two consecutive characters. 3. Amplitude is the maximum distance from mid horizontal line to a point upto which a mid point of character can lift in the vertical direction. See the following applet
<APPLET CODE="SNSineText.class" WIDTH=592 HEIGHT=80>
You can use following applet to calculate the WIDTH and HEIGHT (use the same parameter that you have selected for your applet)
You can select multiple enteries from Font Style list. Note: You can also determine values of WIDTH and HEIGHT parameter by trial and error method. If you have any ambiguity, feel free to contact me. Example:
The HTML tags used for above Applet are given as:
<APPLET CODE="SNSineText.class" WIDTH=176 HEIGHT=63> <PARAM name = text value = "WELCOME"> <PARAM name = TextColor value = "yyyyyyy"> <PARAM name = BackColor value = "B"> <PARAM name = FontName value = "Helvetica"> <PARAM name = FontStyle value = "Bold+Italic"> <PARAM name = FontSize value = "24"> <PARAM name = Offset value = "10"> <PARAM name = GapSize value = "5"> <PARAM name = Amplitude value = "15"> </APPLET>
Sign My Guestbook
View My Guestbook
Comments, feedback and suggestions are encouraged. Please send mail to [email protected]