| gif | history | intraday | java | news | objects | options | quote | soap | spots | tickers | weather | end of day | wddx |

Types:
  Vertical
  Horizontal
  Quote
 
Ticker (Horizontal)
Finwin's Horizontal Ticker can be used to display Finwin headlines. The headlines will scroll from right to left, and has multiple formatting options. Each headline has a url attached to it and will open a new window that displays the article.

Parameters
  1. News_N - The news headlines. Each news headline is numbered from 0 and up.
    < param name=news_0 value="first news item" >
    < param name=news_1 value="second news item" >
    < param name=news_2 value="third news item" >
  2. NewsLink_N - The links for the news headlines. The link is opened when the user clicks on one of the corresponding news items.
    < param name=newsLink_0 value="http://www.domain.com">
    < param name=newsLink_1 value="../headlines.html" >
    < param name=newsLink_2 value="/NewsTicker" >
  3. Background - The background color of the applet. You can use either of the following formats.
    < param name=background value="orange" >
    < param name=background value="#669996" >
  4. Font - The font used for the news items. The first field is the font name, the second is plain, bold, or bolditalic. The last field is the point size of the font.
    < param name=font value="Arial,bold,12" >
  5. Font Color - The color used for news headers when the mouse is over it. You can use either of the following formats.
    < param name=focusColor value="red" >
    < param name=focusColor value="#669996" >
  6. Speed - The scroll speed, ranging from 0 to 100, where 0 is the slowest, and 100 is the fastest.
    < param name=speed value="40" >
    < param name=speed value="90" >
  7. Space - The space between each news headline.
    < param name=space value="150" >
 
Example Code
<cf_finwinnews
  request="headlines"
  type="query"
  queryname="stories"
  rowcount="10"
  username="myUsername"
  password="myPassword"
  id="1183"
  newurl="http://www.somedomain.com/display_story.cfm">

<cfset newsarray = arraynew(2)>

<cfset total_records = stories.recordcount>

<cfloop query="stories">
  <cfset newsarray[currentrow][1]=#title#>
  <cfset newsarray[currentrow][2]=#url#>
</cfloop> 

<applet code="com.objectplanet.HNewsTicker.class"
 archive=HNewsTicker.jar
 width=600 height=15 id=Applet1>
<param name=news_0 value="POWERED BY FINWIN.COM ">
<param name=newsLINK_0 value="http://www.finwin.com">
  <cfloop index="counter" from="1" to="#total_records#">
    <cfoutput><param name=news_#counter# value="#newsarray[counter][1]#"></cfoutput>
    <cfoutput><param name=newsLink_#counter# value="#newsarray[counter][2]#"></cfoutput>
  </cfloop>
<param name="speed" value=80>
<param name="space" value=50>
<param name="background" value="white">
<param name="font" value="Courier,bolditalic,12">
<param name="fontColor" value="black">
<param name="focusColor" value="#6699cc">
</applet>
Download Files
Horizontal Files

DTN Market Access
9110 West Dodge Road, Suite 200   Omaha, Nebraska 68114
Copyright 2010, All rights reserved