Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    EmuTalk Member The Ice Man's Avatar
    Join Date
    Nov 2001
    Posts
    34

    Merry Christmas to Emu64

    this is a pretty cool script for he board, i use it on one of my boards, looks really nice, easy to add too, just go to the admin controls and go down to templats, and then go to forum display template, (also the forum homepage template) and add this code right under the <body*> tag

    <script language="JavaScript1.2" src=http://us.shop1.yimg.com/shopping.yimg.com/js/snow2.js></script>

    no class files or anything needed, real neat script



    i aint going to tell you what it doe, u gotta try it :p

    if anyone can figure out how to make it loop let me know


    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    What's that...? mesman00's Avatar
    Join Date
    Nov 2001
    Location
    USA
    Posts
    1,425

    cool

    cool script, i used it on my website!, check out the link below if ya want to, but i couldn't get it to loop either!
    Last edited by mesman00; December 12th, 2001 at 02:04.
    <font color="blue">System Specs</font>
    Dual Boot:
    1. Gentoo Linux
    2. Win2k
    Athlon XP Barton 2700
    512 MB PC 2700 DDR Ram
    GF4 Ti4200 AGP 8X 64 MB
    Onboard Sound

  3. #3
    EmuTalk Member The Ice Man's Avatar
    Join Date
    Nov 2001
    Posts
    34
    your link doesnt work

  4. #4
    What's that...? mesman00's Avatar
    Join Date
    Nov 2001
    Location
    USA
    Posts
    1,425
    thats funny, it seems to work fine for me, tryit again, anyone else ever have a problem with my link?
    <font color="blue">System Specs</font>
    Dual Boot:
    1. Gentoo Linux
    2. Win2k
    Athlon XP Barton 2700
    512 MB PC 2700 DDR Ram
    GF4 Ti4200 AGP 8X 64 MB
    Onboard Sound

  5. #5
    GODLIKE RatTrap's Avatar
    Join Date
    Nov 2001
    Location
    My place..
    Posts
    760

    How to make it loop..

    download the javascript file.. and then when your browsing thru the code.. take away this part

    setTimeout("sunshine()", 30000);

    function sunshine()
    {
    snowSwitch('off');return false;
    }
    what it does is make the script timeout (quit) after 30 seconds.. if you want.. you can change the 30 000 to 60 000 and you get it up for a minute.. and so on..

    also..

    you can add more flakes by changing the value on the

    var numflakes = 20;
    to for example 50.. you'll see more flakes on the screen on the same time.. and if you wanna hang up ppls browsers.. just set it to a stupid number like 1500 or sumthing like that ..

    another

    var swaymax = 20;
    change this if you want the flakes to sway more..

    anyways.. that script was pretty good.. but it had a bunch of stuff you don't really need to have in there for your website.. i sudgest editing so you only have the parts you need from it.. might teach you some javascript while your at it ..

    cheers mas:..

  6. #6
    EmuTalk Member The Ice Man's Avatar
    Join Date
    Nov 2001
    Posts
    34
    wtf

    umm, whered u get all this from? gah, all i did was snatch the code from wahoo shopping, so its just linked of them, thats why i cant edit anything, if u know how to get original code and stuff, pls post the whole thing,

    thanks

  7. #7
    GODLIKE RatTrap's Avatar
    Join Date
    Nov 2001
    Location
    My place..
    Posts
    760
    hehe ehm hmmm.. i know it can be a lil hard to figure out for ppl that havent been around to long.. but ok:

    <script language="JavaScript1.2" src=http://us.shop1.yimg.com/shopping.yimg.com/js/snow2.js></script>

    if you see what's bold.. you can just copy&paste it into your browser and it'll start a download for you.. it's very very simple isn't it?.. all you do after that is save the file on your website after you edit it.. and on your page change the "src" parameter..

    tip.. if your gonna link to a file on your own web directory.. never use http://.. use "/" and ".." to move thru the directory hirearchy instead.. saves the server some time..

  8. #8
    EmuTalk Member The Ice Man's Avatar
    Join Date
    Nov 2001
    Posts
    34
    you are a god!



    heres my own version, updated, abot 30 flakes, no timer :p

    my lil blizzard

    hey is there a code to make the flakes random colors?


    -edit-

    gah, cant attach that , ok, uploaded it, just download from here, pls dont link off my server! www.rocketblast.net/~tangier/ice/snow2.js

    Last edited by The Ice Man; December 12th, 2001 at 17:51.

  9. #9
    GODLIKE RatTrap's Avatar
    Join Date
    Nov 2001
    Location
    My place..
    Posts
    760
    sounds very weird.. works just fine for me.. the one on your link at least works without problems for me.. you sure you checked if your still linking to an old unedited one? :p..

    other thing you could do is just make them into comments..
    just add // before the row you don't want the browser to try to execute.. or if you have a section you wanna comment out of the code (rem).. just add /* in the beginning and */ at the end.. like so:

    //setTimeout("sunshine()", 30000);

    /*
    function sunshine()
    {
    snowSwitch('off');return false;
    }
    */
    all i can say is it works for moi.. if you can't get it to work.. well i dunno what your doing wrong :p.. and bout the colors.. those are pictures.. if you go thru the code you'll see some images being loaded into an array variable.. probably not too dificult to change that to your own pictures and add more pics too.. i sudgest going thru the code and actually trying to understand it.. programing in javascript is very simple compared to real programing.. most of the stuff is in plain english.. just it jumps around alot..

    hiidy-ho

  10. #10
    EmuTalk Member The Ice Man's Avatar
    Join Date
    Nov 2001
    Posts
    34
    sory about that, i got it working, i uploaded it to the forum display and forgot to also up it to the foru homepage, so when i saw it on the forum homepage i saw it wasnt working (course nt i didnt up it )

    anyways, working great now, thanks

Page 1 of 3 123 LastLast

Posting Permissions

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