سلــــــــــــــــــــــــــــــامدموhttp://lesanarabi.rozblog.com/page/tex
کد:
<script>// CREDITS:
// Text-Shaker
// by Peter Gehrig
// Copyright (c) 2010 Peter Gehrig. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.fabulant.com
// IMPORTANT:
// If you add this script to a script-library or a script-archive
// you have to insert a link to http://www.fabulant.com
// right into the webpage where the script will be displayed.
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()",50)
}
onload=starttremble
</script>
<div id="tremblebox" style="position:relative">
<span id="trembletext" style="position:absolute;left:1px;top:0px;"><font size=1 color=black face=Verdana>سلام دوست عزیز</font>
</span>
</div>
<br>
