Topic: Requests SHAKE TEXT Tag [shake]text blablabla[/shake]
Requests SHAKE TEXT Tag
[shake]text blablabla[/shake]
can make this tag ?
example:
<script>
var ie=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0
var ns4=document.layers?1:0
var posleft=1
var idoftrembleobject="trembletext"
var trembleobject
function starttremble() {
if (ie || ns4 || ns6) {
if (ie) {
trembleobject=eval("document.all."+idoftrembleobject+".style")
}
if (ns6) {
trembleobject=idoftrembleobject
}
dotremble()
}
}
function dotremble() {
posleft*=-1
if (ie) {
trembleobject.posLeft+=posleft
}
if (ns6) {
var newpos=parseInt(document.getElementById(trembleobject).style.left)+posleft
document.getElementById(trembleobject).style.left=newpos
}
var timer=setTimeout("dotremble()",20)
}
onload=starttremble
</script>
<div id="tremblebox" style="position:relative">
<span id="trembletext" style="position:absolute;left:280px;top:30px;">
<font size=2 color=black face=Verdana>Shake word on this.</font>
</span>
</div>
Save this code to .html
and see text test result
can make this tag ?
sorry my bad english