aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Dynamic marquee Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamic marquee" Watch "Dynamic marquee" New topic
Author

Dynamic marquee

Suresh Khant
Ranch Hand

Joined: Feb 27, 2010
Posts: 118
Hi All,

I am trying to develop a small page , one of the page contents is marquee , the value of the marquee should be dynamic everytime ,

After finishing of the current value of the marquee , it should call ajax which call servlet to get the contains of next marquee value but it does not work ,

BTW : 1. The servlet works fine , problem seems to be around 'onfinish' property of marquee
2. looking for output like this http://krazydad.com/bestiary/bestiary_basic_ticker.html

marquee.html




RandomWordServlet.java


Suresh Khant
Ranch Hand

Joined: Feb 27, 2010
Posts: 118
Now it works after I have added the following line


but the problem arises when the marquee content length varies , how to check the size of the next marquee content and adjust the marquee property 'width' accordingly


here is marquee html file after updating


marquee.html


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic marquee