permisi mod apabila kurang berguna atau udah pernah di share closed aja yah
Credit :
dinamic drive
saiia sendiri
Priview : muup udah gag ada
duh kelamaan yah basa basi na...
langsung aja iaahhh...
kopas code di bawah ini ke bagian C sesuai tutorial [url=http://theftalk.com/t15339-%7BTUTORIAL%7D-Kombinasi-JS-dan-WVM-%2B-Addbox-(UPDATE-08-03-08).html]bang kanal[/url]
[quote]<!--
var IE = document.all?true:false
if (!IE) document.captureEvents(Event.MOUSEMOVE)
document.onmousemove = getMouseXY;
var TempX = 0
var TempY = 0
var State = 0;
var J = 0;
var Text = '[color=blue]tester...tester...tester...[/color]';
var rangeY = Array(-5,-4,-3,-2,-1,0,2,3,4,5);
function create() {
for(I=0;I<Text.length;I++) {
MySpace = document.createElement('div');
MySpace.id = 'Shadow'+I;
MySpace.innerHTML = Text.substr(I,1);
MySpace.style.top = 100;
MySpace.style.left = 100+(20*I);
MySpace.style.position = 'absolute';
MySpace.style.color = '[color=red]#08080[/color]';
document.getElementsByTagName('body')[0].appendChild(MySpace);
}
}
function getMouseXY(e) {
if (IE) {
TempX = event.clientX + document.body.scrollLeft
TempY = event.clientY + document.body.scrollTop
} else {
TempX = e.pageX
TempY = e.pageY
}
if (TempX < 0){TempX = 0}
if (TempY < 0){TempY = 0}
if(State == 0) {
State = 1;
create();
flag();
}
return true
}
function flag() {
for(J = 0;J < Text.length; J++) {
MySpace = document.getElementById('Shadow'+J);
MySpace.style.top = TempY + rangeY[Math.floor(Math.random() * rangeY.length)];
MySpace.style.left = TempX + 20 + (J*20);
}
setTimeout('flag()', 100);
}[/quote]
edit bagian yg berwarna [color=blue]biru[/color] dengan kata˛ kalian...
dan edit yg berwarna [color=red]merah[/color] sesuai dengan layouts kaliann
[b]happy tweaks all
[/b]
Last edited by bRaNdaLzZ (2008-08-05 23:24:24)