The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Text Typing BB code
Effect desired:
Rome, August 12 like: R Ro Rom Rome Rome, Rome, Rome, A Rome, Au Rome, Aug Rome, Augu Rome, Augus Rome, August Rome, August Rome, August 1 Rome, August 12 I've got it working with javascript and HTML with a few lines of code as possible: Code:
<BODY onLoad="Type()"> <script language="JavaScript"> var pos=0; var speed=150; var msg="Rome, August 12"; function Type(){ pos++; if (msg.substring(pos-1,pos) == " ") { pos++ } text=msg.substring(0,pos); if (document.layers) { document.layers.layerA.document.open(); document.layers.layerA.document.write(text); document.layers.layerA.document.close(); } else if (document.all) document.all.layerA.innerHTML=text; if (pos < msg.length) { tmer=setTimeout('Type();',speed); } } //--> </script> <DIV id="layerA"></DIV> Rome, August 12 is of course {param} Will I have no luck trying to have a javascript bb code? :/ |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|