Problem Problem Problem

sachii

Member
Sep 17, 2008
8,708
268
0
Ĭǹ Ẏṑũř Ȟĕâřŧ
I need to know this java script doesnt work in other site but it doesnt work in Elakiri. Is there any professional. can you tell me the reason. :( :(

here the script

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.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)


*Just search some images in Google
*copy this script to address bar
*press enter
*see how its working :D
 
Last edited:

kosandpol

Well-known member
  • Jun 10, 2008
    45,329
    1,492
    113
    well, elakiri is NOT google.
    that script is written to work with the google image search result page.
     

    sachii

    Member
    Sep 17, 2008
    8,708
    268
    0
    Ĭǹ Ẏṑũř Ȟĕâřŧ
    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.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)
     

    kosandpol

    Well-known member
  • Jun 10, 2008
    45,329
    1,492
    113
    sachii said:
    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.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)
    this doesnt work on google either.
     

    sachii

    Member
    Sep 17, 2008
    8,708
    268
    0
    Ĭǹ Ẏṑũř Ȟĕâřŧ
    kosandpol said:
    did you try that script on google even ? it doesnt work there either.

    I just copy from my notepad and paste in address bar. it working seeeeeeeeeeee

    nothing wrong with the coding. same coding i paste here


    2a0cjmq.jpg
     
    Last edited:

    kosandpol

    Well-known member
  • Jun 10, 2008
    45,329
    1,492
    113
    here's the working script:
    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.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);
     

    sachii

    Member
    Sep 17, 2008
    8,708
    268
    0
    Ĭǹ Ẏṑũř Ȟĕâřŧ
    kosandpol said:
    here's the working script:
    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.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 ok thanks script doesnt work when i copy paste here.
     

    **cut

    Well-known member
  • Feb 9, 2008
    15,037
    1,315
    113
    Kandy
    kosandpol said:
    here's the working script:
    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.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);


    this script working