advertisement
javaboutique
Search Tips
Articles  |   Tutorials  |   Reviews  |   Tools  |   by Category  |   by Date  |   by Name  |   Submit  |   Source  |   Forums  |  
javaboutique
Browse DevX


Partners & Affiliates











advertisement


Advanced Typewriter Scroll


ParametersValue
<applet code="advtypew.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=advtypew.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,japplets.tripod.com">Information about the Advanced Typewriter 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). In the "regcode" parameter, place the registration code you purchased from us. You have to pay small amount of money and receive your registration code (regcode). Click here for buying regcode. You can use the applet freely to enhance your web pages (commerical or non-commerical). However, I placed a status bar message that will appear when the applet is online on a site and regcode parameter isn't correct. You can buy the registration code using a credit card through Regnow secure server. It also accepts Checks and Money Orders through postal mail.
<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="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" or "Dialog".
<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="Dialog">Name of the text font. Valid values are: "Helvetica", "TimesRoman", "Courier" or "Dialog".
<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="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="type_delay" value="30">This is the delay in milliseconds between redraws. In other words it represents the speed of the typing. The lower the number, the faster it types.
<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.
<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.
<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

  • Place the class file (advtypew.class) in the directory containing the HTML document into which you want to insert the applet (or into a different directory, and add the correct CODEBASE= attribute).
  • Add the applet tag to your HTML document in the position you want Advanced Typewriter Scroll Java applet to appear.
  • 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 (entirely single-spaced). If you try to run the applet and you see the message "info parameter error", it denotes a problem with this parameter.
  • Java is case sensitive.


Troubleshooting & Support

  • Please send me any questions, requests or remarks you might have to: quickshare@excite.com
  • Usually the easiest way to customize the applet is cut and paste the applet tag information used in the sample and modify it to fit your web page.
  • If you see a "class not found" message, this means what it says -- your browser can't find the .class files specified. You've forgotten to copy the .class file (advtypew.class) to the necessary directory.
  • Make sure that your <APPLET> tag, closing </APPLET> tag, and all <PARAM> tags have < and > brackets. Check that the value for every parameter is enclosed between " signs.
  • If you see a NullPointerException displayed in the browser status-bar, it's most likely to be caused by a mistake in an parameter. Check it.
  • If the applet runs, but you can't make it do what you want it to do, please take another look at the documentation.

Return to Advanced Typewriter Scroll

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.

 Internet.com eBook Library
 IBM Software Construction Toolbox
 Microsoft RIA Development Center
 Destination .NET
XML error: not well-formed (invalid token) at line 38
advertisement
Receive Articles via our XML/RSS feed
Receive Articles via our XML/RSS feed

JavaBytes
Internet Cyclone
This powerful, easy-to-use, internet optimizer is for Windows 95, 98, ME, NT, 2000 and XP. It's designed to automatically optimize your Windows settings, boosting your Internet connection up to 200%.

Mozilla's Ubquity Mashup: For The Masses?
iPhone Users Just Want to Have Fun
Oops! I Fixed the Linux Kernel
Jim Zemlin: The New Center of Linux Gravity
Microsoft's Novell Investment Tops $340M
Fedora 10 Takes Shape
IBM Gives a Mobile Voice to Developers
Inadequate Tools Send Software Down the Drain
USB 3.0 One Step Closer to Reality
Would-Be Linux Contributors May Get a Leg Up

Book Excerpt: Microsoft Expression Blend Unleashed
Develop a Mobile RSS Feed the Easy Way
State of the Semantic Web: Know Where to Look
A 3D Exploration of the HTML Canvas Element
Setting Up and Running Subversion and Tortoise SVN with Visual Studio and .NET
Java/JRuby Developers, Say Open 'Sesame' to the Semantic Web
Interpreting Images with MRDS Services
DevXtra Editors' Blog: Executives Avoiding Cloud Computing in Droves
Q&A with James Reinders on the Intel Parallel Studio Beta Program
The Pros and Cons of Outsourcing Enterprise Emails

Advertising Info  |   Member Services  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers