same procedure different effect. :P :thumbsup:
Source:
[b]abrahamjoffe.com.au[/b]
Credits for conversion:
[b]Jude (me).. [/b] :retard:
ok same as scrambling text. paste this in the top of your
[quote]//jump
function animateText(){
function jump1a(){
var i=0;
var loopy = setInterval(function(){
if (i==6) {
clearInterval(loopy);
jump2();
}
else n0.style.left= [-3,-6,-9,-6,-3,0][i++];
}, 50);
};
var num=0;
function jump2(){
txt="";
for(var i=0; i<message.length; i++){
if (i+num > -1 && i+num < 8){
document.getElementById('n'+i).style.top = [-1,-4,-7,-10,-7,-4,-1,0][i+num];
}
}
if(num != (-message.length)){
num--;
setTimeout(jump2,50)
}
else{
num=0;
setTimeout(jump1a,2000)
}
};
var jump = document.getElementById('jump');
var message = jump.innerHTML;
if (message.length > 6){
var txt="";
for(var i=0; i<message.length; i++){
txt += '<SPAN style="position:relative;top:0;" id="n'+i+'">'+message.charAt(i)+'</SPAN>';
}
jump.innerHTML=txt;
txt="";
jump1a()
}
}
if (!attachOnLoadHandler(function(){embed()})) window.onload = function(){embed()};
function embed(){
var dk09 = "<B id=\"jump\">dadddddddddddddddddddd</B>";
document.getElementById('cpShoutoutBox').style.height='100%';
document.getElementById('cpShoutoutBox').style.overflowY='hidden';
document.getElementById('cpShoutoutBox').innerHTML = "<table width='100%'><tr><td align='center'>"+dk09+"</td></tr></table>";
}setTimeout("embed()",10000);[/quote]
can you guys check my .js if i did it ryt.. coz its not working:(