• Lucid Dreaming - Dream Views




    Results 1 to 11 of 11
    1. #1
      Mr. Inactive Beef Jerky's Avatar
      Join Date
      Oct 2005
      Location
      My room
      Posts
      389
      Likes
      0

      Here's a neat little Javascript trick

      It was just posted on Facepunch


      Paste this into your URL bar on any page with a fair few images:

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



      Only works on IE7
      need to actually start like trying to LD i've pretty much started that now kinda.

    2. #2
      !DIREKTOR! Adam's Avatar
      Join Date
      Jan 2007
      Gender
      Location
      Aquanina's closet
      Posts
      5,194
      Likes
      34
      Since I dont have IE7 what does it do?

    3. #3
      Mr. Inactive Beef Jerky's Avatar
      Join Date
      Oct 2005
      Location
      My room
      Posts
      389
      Likes
      0
      It collects all images on the page and makes them go spinny at the top.

      Might work in IE6, I dunno. Doesn't work in Firefox, I know that.
      need to actually start like trying to LD i've pretty much started that now kinda.

    4. #4
      ├┼┼┼┼┤
      Join Date
      Jun 2006
      Gender
      Location
      Equestria
      Posts
      6,315
      Likes
      1191
      DJ Entries
      1
      It works in IE6.

      ---------
      Lost count of how many lucid dreams I've had
      ---------

    5. #5
      Dreaming up music skysaw's Avatar
      Join Date
      Jun 2007
      Gender
      Location
      Alexandria, VA
      Posts
      2,330
      Likes
      5
      Didn't work for me in 7. Got a JS error.
      _________________________________________
      We now return you to our regularly scheduled signature, already in progress.
      _________________________________________

      My Music
      The Ear Is Always Correct - thoughts on music composition
      What Sky Saw - a lucid dreaming journal

    6. #6
      宇宙です。。。 •Neko•'s Avatar
      Join Date
      Sep 2006
      Gender
      Location
      Scotland
      Posts
      658
      Likes
      3
      I can't get it to work in IE7, nothing happens at all.

    7. #7
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      For what it's worth, try replacing
      document.images;
      with
      document.getElementsByTagName("img");

      *edit*
      and I think .left & .top should be .offsetLeft & .offsetTop
      Last edited by Ynot; 07-23-2007 at 02:25 PM.
      (\_ _/)
      (='.'=)
      (")_(")

    8. #8
      Eprac Diem arby's Avatar
      Join Date
      May 2006
      LD Count
      i/0
      Gender
      Location
      Canada
      Posts
      1,957
      Likes
      52
      =P

    9. #9
      宇宙です。。。 •Neko•'s Avatar
      Join Date
      Sep 2006
      Gender
      Location
      Scotland
      Posts
      658
      Likes
      3
      Quote Originally Posted by arby View Post
      Wow, that's so cool!

    10. #10
      Member Identity X's Avatar
      Join Date
      Mar 2004
      Gender
      Posts
      1,529
      Likes
      7
      The linked version ^above^ works in Opera 9.

    11. #11
      Banned
      Join Date
      May 2007
      LD Count
      Loads
      Gender
      Location
      Digital Forest.
      Posts
      6,864
      Likes
      386
      I can't get it to work...

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •