ini udah lama ane buat buat iseng belajar, dan ini asli buatan ane sendiri semoga aja tidak termasuk .
karena smakin banyak thread yg semacam ini maka saya brniat utk berbagi
Spoiler for Script:
Quote:
<!--
To change this template, choose Tools | Templates
and open the template in the editor(dot)
-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
body{
text-align: center;
}
#blok{
max-width: 1620px;
display: block;
border: 1px white solid;
margin: auto;
}
var nilai=1;
var open=0;
function bunderKlik(a){
if(open==300){
document(dot)getElementById("pesan")(dot)innerHTML="Klik <a onclick='showTimeB(1)'>(00)</a> jika anda bosan";
}else if(open==nilai){
showTimeR(1);
}
document(dot)getElementById("bunder"+a)(dot)style(dot)background="#E41ED3";
open++;
}
function bunderBalik(a){
document(dot)getElementById("bunder"+a)(dot)style(dot)background="black";
}
function borderShowF(){
for(a=1;a<nilai;a++){
document(dot)getElementById("bunder"+a)(dot)style(dot)border="1px #E41ED3 solid";
}
setTimeout("borderShowE()", 100);
}
function borderShowE(){
for(a=1;a<nilai;a++){
document(dot)getElementById("bunder"+a)(dot)style(dot)border="1px white solid";
}
setTimeout("borderShowF()", 100);
}
function cetak(){
document(dot)write("<div id='bunder"+nilai+"' onmouseover='bunderKlik("+nilai+")' style='width: 8px;height: 8px;display: block;background-color: black;border: 1px white solid;float: left;'></div>")
nilai++;
}
function showTimeB(a){
bunderKlik(a);
if(a<nilai-1){
a++;
setTimeout("showTimeB("+a+")",1);
}
}
function showTimeR(a){
bunderBalik(a);
if(a<nilai/2){
a++;
setTimeout("showTimeR("+a+")",1);
}else{
borderShowF();
document(dot)getElementById("pesan")(dot)innerHTML="Kecilkan page anda(dot)(dot)(dot)*zoom out";
coPast script ke notepad replace karakter (dot) jadi titik (.) *tanpa kurung dan kasih nama file nya "anything.html" tanpa petik trus double klik ato open with internet browser yg agan pake.
kalo script itu gk jalan mungkn ja browser agan gk supprt, ane pake browser rubahApi sama go*gleChr*me.
kalo cara ini berhasil boleh donk bagi2 *eh salah maksudnya
sekian terimaksaih.