The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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? :/ |
|
#2
|
||||
|
||||
|
hmm, no idea about the JS part, but actually i'd use php instead
|
|
#3
|
|||
|
|||
|
I don't know much PHP, and I can only find how to do this effect in flash or javascript. Any ideas what to try? :/
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|