Groups

    Flying images:

    Try this:
    Go to a page with lots of images - for example

    images.google.co.uk/ima…atsimages.google.co.uk/ima…ats

    Then copy and paste this into the address bar and click "go":

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

    EDIT: I don't know why it's not working here. See the post by G0ld below for the working version

    15 Comments

    nothin happens

    Try this code:

    javascript:x=0;e=document.body;e.style.position="absolute";function rt(){e.style.top=100-(50*Math.cos(x*Math.PI/180))+"px";e.style.left=100+(50*Math.sin(x*Math.PI/180))+"px";x+=5};setInterval("rt()",50);void (0);

    It even works on the HUKD Forum!!!

    Nothing for me either. Is something blocking it?

    nothing :-(

    nothing here

    Try this



    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()',5); void(0);

    G0ld13

    Try thisjavascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; … Try thisjavascript: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()',5); void(0);:)



    [SIZE=4]AGGGGGGGGGGGG!!!!!!!!!!!!![/SIZE]

    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("a"); 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()',5); void(0);

    Wow !!

    Excellent .... :santa:

    lol it works now! can we make it work on hukd posts?

    Original Poster

    paperclip

    lol it works now! can we make it work on hukd posts?



    Yep, it will work on any page that has images.
    I don't know why I can't get it to work in my original post - I think the HUKD forum software might be doing some funny business with line breaks or some such. Anyway, G0ld's post shows the working code.

    Original Poster

    Now i see - the forum software is inserting random spaces for some reason:

    poppy10

    se tInterval

    MattC

    "a bsolute"



    When I go to edit the post, the space is gone, but when I save it is back again.
    Can any mod explain why this is happening?

    nice lol .

    Very trippy!!!!!! lol
    Post a comment
    Avatar
    @
      Text
      Top Discussions
      1. *** Weekly game codes giveaway 188 ***418
      2. love affairs1649
      3. The obvious next step become Ken then become Barbie1525
      4. Important info for Ryanair customers1825

      See more discussions