Jump to content
kecik-88

Javascript Trick...sonok Tue....

Recommended Posts

aku bukan dak programming @ java...so nak share ngan korang....

copy sources code kat bawah nie....

java script:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI= document.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5 ); void(0)

***Sila Rapatkan "java script" jadi "javascript" coz aku tak leh edit die la..

pastue pegi kat Laman Utama Putera.com dan paste sources code nie kat address bar.....

dan nikmati keseronokan nyer.....

kat yahoo,myspace,excite pon boleh gak....

Edited by kecik-88

Share this post


Link to post
Share on other sites

aku buat tak bolehlah..... Firefox 2

benda2 ni macam2 jenis style ada. Ada yg berpusing-pusing, boleh alihkan sendiri, boleh edit sesuatu web, wesite jadi beranimasi.

Kat youtube pun ada banyak video yg boleh ubah2 begini.

Share this post


Link to post
Share on other sites

Tak boleh pun ..

Tunjuklah screenshot .. gambar tu ..

Tak faham la aku .. huhuhu

Share this post


Link to post
Share on other sites

aku wat guna ie pon xdapat gak..... :(

java script:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI= document.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5 ); void(0)

Rapatkan "java script" jadi "javascript".

Share this post


Link to post
Share on other sites

Ya.. akhirnya jadi jugak.. berpusing-pusing imej tu ..

Pening kepala aku .. wuhooo....

java script:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI= document.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5 ); void(0)

Ye la ...

Cuba buat kat laman web utusan : http://www.utusan.com.my

Berpusing-pusing gambar tu ...

Share this post


Link to post
Share on other sites

cuba yang ni plak:

java script:function reverse() { var inp = " )-: !krej 2uaruG .nawakgnek ey el paam katniM ?taw kan ek tgs ejek ed kat had ,in ok alapA...eheheH !!!DETCEFNI YLLUFSECCUS SAW METSYS RUOY"; var outp = ""; for (i = 0; i <= inp.length; i++) {outp = inp.charAt (i) + outp ; } alert(outp) ;}; reverse()

***Sila Rapatkan "java script" jadi "javascript" coz aku tak leh edit die jugak la (pinjam kata2 ko jap kecik-88) .. :lol::rolleyes:

Edited by icezmanz

Share this post


Link to post
Share on other sites

cuba yang ni plak:

java script:function reverse() { var inp = " )-: !krej 2uaruG .nawakgnek ey el paam katniM ?taw kan ek tgs ejek ed kat had ,in ok alapA...eheheH !!!DETCEFNI YLLUFSECCUS SAW METSYS RUOY"; var outp = ""; for (i = 0; i <= inp.length; i++) {outp = inp.charAt (i) + outp ; } alert(outp) ;}; reverse()

***Sila Rapatkan "java script" jadi "javascript" coz aku tak leh edit die jugak la (pinjam kata2 ko jap kecik-88) .. :lol::rolleyes:

cam ner ko buat wahai icezmanz....??

tulis bahase lain kuar bahase melayu....

gurauan diterime.....

Edited by kecik-88

Share this post


Link to post
Share on other sites

java script:function reverse() { var inp = " )-: !krej 2uaruG .nawakgnek ey el paam katniM ?taw kan ek tgs ejek ed kat had ,in ok alapA...eheheH !!!DETCEFNI YLLUFSECCUS SAW METSYS RUOY"; var outp = ""; for (i = 0; i <= inp.length; i++) {outp = inp.charAt (i) + outp ; } alert(outp) ;}; reverse()

tgk yang nih..huhuh

tulih terbalik ek..?huhu :lol:

Share this post


Link to post
Share on other sites

cam ner ko buat wahai icezmanz....??

tulis bahase lain kuar bahase melayu....

gurauan diterime.....

aku pun tatau pasal code2 ni kecik-88, just rip org punya, itu bukan 'bahasa lain', cuma reverse je. kalau ko perati kat code tu ada 'reverse' kan.

**aik..time aku reply aku nampak ko dah reply..kira aku lambat 1 saat ja... :lol:

Share this post


Link to post
Share on other sites

Mana korang dapat source code javascript ni. Menarik betul.

Bagilah link sumber rujukan.

Boleh juga kami godek-godek coding tu nanti.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...