An autocue (also known as an teleprompter or telescript) is a display device that prompts the person speaking with an electronic visual text of a speech or script.
autoQue plugin for jQuery is a simple to use jQuery plugin that allows you to turn any div into an autoQue'able object. autoQues are especially useful if you are reading the content out to an audience. I often use autoQues when recording videos that I am going to publish on teh net
Online demo
Visit http://primaryschoolict.com/autoQue/ to test it live
Basic usage example
$('#que').autoque();
See index.html and que.html for examples.
<script type="text/javascript" src="js/autoque.js">
<link rel="stylesheet" href="css/autoque.css" type="text/css"/>
$('#thisDiv').autoque();
Parameters can be passed to the jQuery plugin in JSON. The available paremeters are:
'hoverRequired' : 'false', // Is a hover required to see the controls? 'fontSize' : '36px', // The font size used 'fontColor' : '#777', // The color of the font 'controlSize' : '', // size of the controls - will auto resize 'controlRadius' : '20px', // the radius of the corners on the controls 'controlOpacity' : '.9', // the opacity of the controls 'controlBGColor' : 'lightgrey', 'controlLocation' : '"right","10px"' // The location of the controls
Example: $('#que').autoque('hoverRequired':'true');
Parameters can be pased the que.html as a "GET". The available parameters are:
'q' : 'a really pointless string' // The text string you want the autoQue to read out 'hoverRequired' : 'false', // Is a hover required to see the controls? 'fontSize' : '36px', // The font size used 'fontColor' : '#777', // The color of the font 'controlSize' : '', // size of the controls - will auto resize 'controlRadius' : '20px', // the radius of the corners on the controls 'controlOpacity' : '.9', // the opacity of the controls 'controlBGColor' : 'lightgrey', 'controlLocation' : '"right","10px"' // The location of the controls
Example: /que.html?q=this%20is%20a%20string%20that%20needs%20to%20be%20at%20least%2030%20characters&hoverRequired=false
You should look at que.html to see how this is implemented.
hi hi