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.

 Microsoft Visual Studio 2010 Showcase
 Avaya Developer Showcase
 MSDN Spotlight
 PHP for Windows Showcase
XML error: undefined entity at line 39
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%.

Windows 7: From Beta to Final Code in One Year
Google Shows Off Chrome OS, Releases Source
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?
Fedora 12 Takes Aim at Linux Networking
Top Supercomputer Nearly Doubles in Speed
Fedora 12 Linux Tackles Virtualization
Apple Gives iPhone Developers App Status Tracker
Novell Sets OpenSUSE 11.2 Free

Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Exploring HTML 5's Audio/Video Multimedia Support
Overriding Virtual Functions? Use C++0x Attributes to Avoid Bugs.
Understanding the Cloud Computing Security Vulnerabilities
Cisco and IBM Target a Greener World
Upgrade to Visual Studio 2010 with the Ultimate Offer

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

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs