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


Partners & Affiliates











advertisement


NewsTicker


PARAMETERS

A parameter is set in the applet tag in the following format

<param name=paramname value=paramvalue>

  • newsURL
    The URL where the news are read from. The news needs to be in XML format as displayed above.

  • header
    The news ticker applet header. This header is always visible and does not scroll.

  • headerFont
    The font used for the applet header.
    <param name=headerFont value="Arial,bold,16">
    The first field is the font name, the second is plain, bold, or bolditalic. The last field is the point size of the font.

  • headerColor
    The color used for the applet header.
    <param name=headerColor value="red">
    <param name=headerFont value="#c0c0c0">
    The color can be set using one of the following color names; black, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red, white, or you can use the URL hex code for the color.

  • headerAlignment
    The horizontal alignment of the applet header.
    <param name=headerAlignment value="left">
    <param name=headerAlignment value="center">
    <param name=headerAlignment value="right">

  • newsHeaderFont
    Each news item has a header. This is the font used for the header.
    <param name=newsHeaderFont value="Arial,bold,11">

  • newsHeaderColor
    The color used for the news item header.
    <param name=newsHeaderColor value="blue">

  • newsFont
    The font used for the news item body.
    <param name=newsFont value="Arial,plain,11">

  • newsColor
    The color used for the news item body.
    <param name=newsColor value="gray">

  • moreLinkText
    Each news item can have a link to a web page. The default text of this link is 'more'. Use this parameter to set the text of this link.
    <param name=moreLinkText value="read more...">

  • moreLinkColor
    The color used for the more link.
    <param name=moreLinkColor value="red">

  • target
    The default window to open the url of the more link is the same window as the applet is in. Use this parameter to control which window the url is openened in. See here for target details.
    <param name=target value="window_name">

  • background
    The background color of the applet. <param name=background value="orange">

  • scrollSpeed
    The speed of the scrolling. The scrolling can be set with a value from 0 (no scrolling) through 10 (fast scrolling).
    <param name=scrollSpeed value="6">

  • border
    You can display a border around the applet and applet header. Control the color of the border by seperating the border type and color with a comma.
    <param name=border value="none">
    <param name=border value="solid">
    <param name=border value="up">
    <param name=border value="down">
    <param name=border value="grooved">
    <param name=border value="embossed">
    <param name=border value="embossed,orange">
    <param name=border value="grooved,#c0aaff">

  • wrapSpace
    By default, the first news item starts again at the bottom when the last has left the top of the applet. Set this parameter to control the space between the last item and where the first one starts again. Use -1 for the default behavior.
    <param name=wrapSpace value="100">

  • newsXMLTag
    You can control the xml tag used for each news item. The default tag is <news>. Specify the xml tag without the enclosing < and >.
    <param name=newsXMLTag value="news_item">

  • newsHeaderXMLTag
    You can control the xml tag used for the news header. The default tag is <header>. Specify the xml tag without the enclosing < and >.
    <param name=newsHeaderXMLTag value="news_header">

  • newsBodyXMLTag
    You can control the xml tag used for the news body. The default tag is <body>. Specify the xml tag without the enclosing < and >.
    <param name=newsBodyXMLTag value="news_body">

  • newsLinkXMLTag
    You can control the xml tag used for the news more link. The default tag is <link>. Specify the xml tag without the enclosing < and >.
    <param name=newsLinkXMLTag value="news_link">

Back to NewsTicker

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

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
Hosting Options: Shared or Dedicated Server

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