If it doesn't need to get the news anew, change the static text to dynamic:

var news = ["News", "More news", "Some more news", "No more news"];

becomes:

var news = [#QuotedValueList(myNewQuery.title)#];

That should do it.

Adrian

> -----Original Message-----
> From: Anthony Doherty [mailto:[email protected]]
> Sent: 12 February 2009 17:08
> To: cf-talk
> Subject: Coldfusion Scrolling Text
> 
> 
> Hi i was wondering if anyone could help me!
> 
> im trying to create a scrolling news section on our home page, the code
> needs to read the news headline from the database though and it will
> vertically move the news items up and if the user clicks on an item it
> will take them to the detail page.  when the scroller is finished it
> would need to start automatically.
> 
> i seem to find ones that are all static text within the javascript
> function.
> 
> Thanks in advance
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319241
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to