PDA

View Full Version : Ajax XML Ticker (with one message) - need help please



thehappyappy
10-24-2007, 02:25 PM
1) Script Title: Ajax XML Ticker (txt file source)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/ajaxticker.htm

3) Describe problem: The ticker works perfectly, but I only have one message that I want to scroll so it's just fading in and out. Is it possible to get it to scroll with just one message?

ddadmin
10-24-2007, 11:23 PM
Hmmm no there's no easy way to change the ticker to suddenly become a scroller as well. But what you can try is to use CSS to modify the ticker's DIV so long content causes the browser to show a vertical scrollbar to accommodate it. In the CSS for the ticker, do something like the below:


#ajaxticker1{
width: 200px;
height: 100px;
overflow: scroll;
border: 1px ridge black;
padding: 5px;
background-color: #FEEEB8;
}