Post this in your browser

BaggedLancer
BaggedLancer Posts: 6,371
edited April 2 in Clubhouse Archives
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);


Enjoy polk fans, new screensaver!
Post edited by RyanC_Masimo on

Comments

  • TheReaper
    TheReaper Posts: 636
    edited October 2006
    Appears that the code got truncated.
    Win7 Media Center -> Onkyo TXSR702 -> Polk Rti70
  • BaggedLancer
    BaggedLancer Posts: 6,371
    edited October 2006
    ?? thats how its supposed to be, copy all that and put it in your browser.
  • audiobliss
    audiobliss Posts: 12,518
    edited October 2006
    Post it....where?
    Jstas wrote: »
    Simple question. If you had a cool million bucks, what would you do with it?
    Wonder WTF happened to the rest of my money.
    In Use
    PS3, Yamaha CDR-HD1300, Plex, Amazon Fire TV Gen 2
    Pioneer Elite VSX-52, Parasound HCA-1000A
    Klipsch RF-82ii, RC-62ii, RS-42ii, RW-10d
    Epson 8700UB

    In Storage
    [Home Audio]
    Rotel RCD-02, Yamaha KX-W900U, Sony ST-S500ES, Denon DP-7F
    Pro-Ject Phono Box MKII, Parasound P/HP-850, ASL Wave 20 monoblocks
    Klipsch RF-35, RB-51ii

    [Car Audio]
    Pioneer Premier DEH-P860MP, Memphis 16-MCA3004, Boston Acoustic RC520
  • millerman 3732
    millerman 3732 Posts: 1,488
    edited October 2006
    I think the page has been removed.
    Casey
    H/T: Epson 6500ub
    Sony UBP-X800
    Toshiba HD-XA2 (HD-DVD, CD)
    Onkyo 805 (pre-amp)
    Outlaw 7125
    Polk RTi 10 (bi-amped)
    Polk CSi5 (bi-amped)
    Polk RTi6
    SVS PB 12 plus/2
    Velodyne SMS-1

    TV Rig: Samsung 50'' 4k display
    Polk Signa-1 Surround bar
  • audiobliss
    audiobliss Posts: 12,518
    edited October 2006
    Hahahaha, that's awesome; I just got it to work.

    I had to use IE with javascript enabled. What you do is, at the Polk forum homepage, enter the text he posted into your navigation bar and hit enter. Things start flying around the page. It's pretty awesome.
    Jstas wrote: »
    Simple question. If you had a cool million bucks, what would you do with it?
    Wonder WTF happened to the rest of my money.
    In Use
    PS3, Yamaha CDR-HD1300, Plex, Amazon Fire TV Gen 2
    Pioneer Elite VSX-52, Parasound HCA-1000A
    Klipsch RF-82ii, RC-62ii, RS-42ii, RW-10d
    Epson 8700UB

    In Storage
    [Home Audio]
    Rotel RCD-02, Yamaha KX-W900U, Sony ST-S500ES, Denon DP-7F
    Pro-Ject Phono Box MKII, Parasound P/HP-850, ASL Wave 20 monoblocks
    Klipsch RF-35, RB-51ii

    [Car Audio]
    Pioneer Premier DEH-P860MP, Memphis 16-MCA3004, Boston Acoustic RC520
  • TheReaper
    TheReaper Posts: 636
    edited October 2006
    audiobliss - the code as it is displayed in your browser, does it end with:
    Math.sin(R*x1+i*x2+x
    

    or is there more?

    Because what I see is obviously truncated (missing code at the end), and doesn't run in my IE (script error at character 249).
    Win7 Media Center -> Onkyo TXSR702 -> Polk Rti70
  • audiobliss
    audiobliss Posts: 12,518
    edited October 2006
    There is a good bit more after math.sin. Here's the 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()',5); void(0);
    Jstas wrote: »
    Simple question. If you had a cool million bucks, what would you do with it?
    Wonder WTF happened to the rest of my money.
    In Use
    PS3, Yamaha CDR-HD1300, Plex, Amazon Fire TV Gen 2
    Pioneer Elite VSX-52, Parasound HCA-1000A
    Klipsch RF-82ii, RC-62ii, RS-42ii, RW-10d
    Epson 8700UB

    In Storage
    [Home Audio]
    Rotel RCD-02, Yamaha KX-W900U, Sony ST-S500ES, Denon DP-7F
    Pro-Ject Phono Box MKII, Parasound P/HP-850, ASL Wave 20 monoblocks
    Klipsch RF-35, RB-51ii

    [Car Audio]
    Pioneer Premier DEH-P860MP, Memphis 16-MCA3004, Boston Acoustic RC520
  • bobman1235
    bobman1235 Posts: 10,822
    edited October 2006
    Ha! That's pretty wild.

    Only works in IE for me. Be on any page with images on it, then enter the string that audiobliss has into the location bar, and all the images in the page will start spinning around. NEat.
    If you will it, dude, it is no dream.
  • TheReaper
    TheReaper Posts: 636
    edited October 2006
    audiobliss - thanks, now it works (with all the code from you)
    Win7 Media Center -> Onkyo TXSR702 -> Polk Rti70
  • PolkThug
    PolkThug Posts: 7,532
    edited October 2006
    haha That's pretty cool.
  • audiobliss
    audiobliss Posts: 12,518
    edited October 2006
    TheReaper wrote:
    audiobliss - thanks, now it works (with all the code from you)
    No problem. I would just say that I completed/fixed the code baggedlancer provided, but alas 'I cannot tell a lie'. That was code he gave me over IM.
    Jstas wrote: »
    Simple question. If you had a cool million bucks, what would you do with it?
    Wonder WTF happened to the rest of my money.
    In Use
    PS3, Yamaha CDR-HD1300, Plex, Amazon Fire TV Gen 2
    Pioneer Elite VSX-52, Parasound HCA-1000A
    Klipsch RF-82ii, RC-62ii, RS-42ii, RW-10d
    Epson 8700UB

    In Storage
    [Home Audio]
    Rotel RCD-02, Yamaha KX-W900U, Sony ST-S500ES, Denon DP-7F
    Pro-Ject Phono Box MKII, Parasound P/HP-850, ASL Wave 20 monoblocks
    Klipsch RF-35, RB-51ii

    [Car Audio]
    Pioneer Premier DEH-P860MP, Memphis 16-MCA3004, Boston Acoustic RC520
  • ND13
    ND13 Posts: 7,601
    edited October 2006
    Pretty Kewl!!
    "SOME PEOPLE CALL ME MAURICE,
    CAUSE I SPEAK OF THE POMPITIOUS OF LOVE"
  • mrbigbluelight
    mrbigbluelight Posts: 9,786
    edited October 2006
    I dunno ..... I became frightened !
    Sal Palooza
  • Polkitup2
    Polkitup2 Posts: 1,622
    edited October 2006
    Do that while you're in the tasteful babes thread and it's pretty wild!
  • del44
    del44 Posts: 686
    edited October 2006
    Wow, that thing is pretty slick.:)
    It works on other forums too.
  • BaggedLancer
    BaggedLancer Posts: 6,371
    edited October 2006
    heh, i fixed the code earlier so thats the right one at the top now.

    Glad to give everyone a little bit of entertainment