|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
Fun Java trick
Find a website with .jpg's this site can do or a pRon site would be cool too
clear the adress bar paste this into it Code:
javascript: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.getElementsByTagName("img"); 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)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',50); void(0); funky
__________________
|
#2
|
||
|
what does it do exactly?
|
#3
|
||
|
make all the images flow in a circle near the top, no harm done
__________________
|
#4
|
||
|
Doesn't work lol. WTF?
Chris_OJB_DF645 --
__________________
Intel Core Duo E7300 2.66GHz // SuperTalent DDR2 800 2GB // ASUS nVidia GeForce 8400GS 512MB // Western Digital 7200RPM 320GB SATA // LG GH-20LS 20X SATA DVD-RAM // Windows XP Pro 32-bit // Thermaltake XP550 NP 430W // Thermaltake SOPRANO SECC Black |
#5
|
||
|
it only works on some sites : \
__________________
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New dog old trick | MERMITE | Delta Force | 0 | 08-15-2009 04:15 PM |
Trick to positioing in CSS | Acid | Web design and Programming | 0 | 02-28-2009 04:21 PM |
old html trick | .::nØ燎ƒµEL::. | Web design and Programming | 15 | 03-08-2006 03:18 PM |
Cool Trick and Tip for Links | .DareDevil. | Web design and Programming | 21 | 08-22-2004 12:59 PM |
NEW BHD DEMO(time trick) | HØWÁRÐ †hè Ðû¢k | Delta Force | 6 | 01-15-2003 07:51 AM |