Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic marquee

 
Suresh Khant
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic