This is strange.

  1. #1
    Jaynee is offline Senior Member

    This is strange.

    Replace your browser url with the following

    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++}se tInterval('A()',5); void(0);

    Not sure which browsers it works in.


  2. #2
    Tassie Devil is offline DAL Aussie Contingent
    Now that is weird. Won't work with slimbrowser so I had to give IE access to test it.

  3. #3
    DJDK is offline Senior Member
    cool...

  4. #4
    madmikejt12 is offline Dedicated Member
    wont work for me... what is it suposed to do?

  5. #5
    derekivey is offline Junior Member
    What does it do? Can't get it working in IE 7 and Firefox.

  6. #6
    brain_damage is offline D-A-L Team Member (UK)
    nor me tried in IE7 and FF

  7. #7
    DJDK is offline Senior Member
    it works in IE6 and lower.

  8. #8
    Jaynee is offline Senior Member
    It took all the images off which ever website you happen to be on and swirled them around the screen. I can't get it to work now I have got FF2 and IE7.

  9. #9
    derekivey is offline Junior Member
    My friend tried in IE 6 and he says he just gets a JS error .

  10. #10
    derekivey is offline Junior Member
    Actually the code had a space that shouldn't have been there...

    This code works

    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++}se tInterval('A()',5); void(0);

    Pretty neat. Thanks for sharing.

+ Reply to Thread
Page 1 of 2 1 2 LastLast