CuePrompter: Javascript Teleprompter

Written by on January 20th, 2008 in Ajax News.

CuePrompter (via DownloadSquad) is an browser-based teleprompt tool. Cut-and-paste some or insert some text and the application will scroll it forward or back, at your desired speed. A variant of the Ajax e-reader concept.

Peeking at the source, it’s been around since 2005. Implementation is small and straightforward. It works using a timer and manipulation of the top CSS property to continuously re-position the top of the entire text. (A negative top value means the top of the passage is “above” the browser window; hence you’ll see text further along in the passage.)

JAVASCRIPT:

  1.  
  2. function fward() {
  3.   contentobj.top-=step
  4.   scrolltimerdown = setTimeout(”fward()”,scspeed)
  5. }
  6.  

Source: Ajaxian
Original Article: http://feeds.feedburner.com/~r/ajaxian/~3/220075984/curprompter-javascript-teleprompter

Comments are closed.



Site Navigation