inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Nov 30, 2005 2:13:18 GMT -8
I have seen boards with falling Snow etc, I have My own image of a purple heart thats hosted - Can I have that falling ? If so HOW ?
|
|
kapt
New Member
Posts: 3
inherit
158523
0
Sept 18, 2010 20:42:32 GMT -8
kapt
3
September 2010
captkozmo
|
Post by kapt on Nov 30, 2005 2:22:11 GMT -8
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Nov 30, 2005 3:06:00 GMT -8
<script language="javascript"> //Rain/Snow effect- By Craig Blanchette Craiga.topcities.com //Script featured on Dynamic Drive //Visit www.dynamicdrive.com for this script and more snow = true; // false-rain; true-snow snowsym = " * " //These are the symbols for each rainsym = " ' " //You can put images here. howmany = 20 //How many drops/snowflakes? /**************Do not need to change anything below***********/ if(snow){sym = snowsym; speed=1; angle=10; drops=howmany} else{sym = rainsym; speed=50; drops=howmany; angle=6} movex = -speed/angle; movey = speed; count = 0; function moverain(){ for(move = 0; move < drops; move++){ xx
|
|
#eb7100
1480
0
1
Apr 29, 2024 4:42:16 GMT -8
Craig
208,869
September 2001
cmdynasty
|
Post by Craig on Nov 30, 2005 14:44:31 GMT -8
snowsym = "url here"; //These are the symbols for each
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Nov 30, 2005 14:46:11 GMT -8
Sorted Thankya
|
|
#eb7100
1480
0
1
Apr 29, 2024 4:42:16 GMT -8
Craig
208,869
September 2001
cmdynasty
|
Post by Craig on Nov 30, 2005 14:52:16 GMT -8
Welcome
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Dec 1, 2005 1:15:02 GMT -8
Any idea if I can make Hearts fall faster ?
|
|
inherit
5
xdreamreaverx blackhand2099
0
Sept 29, 2014 11:28:11 GMT -8
ĐR
Missin' the good ol' days
19,719
January 1970
roamer1
|
Post by ĐR on Dec 1, 2005 1:20:57 GMT -8
Insert your image url into the code below and replace the one you have with it and see if it speeds it up any <script language="javascript">
//Rain/Snow effect- By Craig Blanchette Craiga.topcities.com //Script featured on Dynamic Drive //Visit www.dynamicdrive.com for this script and more
snow = true; // false-rain; true-snow snowsym = " * " //These are the symbols for each rainsym = " ' " //You can put images here. howmany = 20 //How many drops/snowflakes?
/**************Do not need to change anything below***********/ if(snow){sym = snowsym; speed=1; angle=10; drops=howmany} else{sym = rainsym; speed=100; drops=howmany; angle=6} movex = -speed/angle; movey = speed; count = 0;
function moverain(){ for(move = 0; move < drops; move++){ xx+=movex; yy+=mv; hmm = Math.round(Math.random()*1); if(xx < 0){xx = maxx+10;} if(yy > maxy){yy = 10;} drop.left = xx drop.top = yy+document.body.scrollTop; }setTimeout('moverain()','1')}
</script>
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Dec 1, 2005 1:24:21 GMT -8
Sorry to sound such a fool but where do I add the Image Url ?
|
|
inherit
5
xdreamreaverx blackhand2099
0
Sept 29, 2014 11:28:11 GMT -8
ĐR
Missin' the good ol' days
19,719
January 1970
roamer1
|
Post by ĐR on Dec 1, 2005 1:29:08 GMT -8
No problem. Just replace the old code with this one and see if it works. No editing required <script language="javascript">
//Rain/Snow effect- By Craig Blanchette Craiga.topcities.com //Script featured on Dynamic Drive //Visit www.dynamicdrive.com for this script and more
snow = true; // false-rain; true-snow snowsym = "http://img515.imageshack.us/img515/2025/tinyheart7yk.gif" //These are the symbols for each rainsym = " ' " //You can put images here. howmany = 20 //How many drops/snowflakes?
/**************Do not need to change anything below***********/ if(snow){sym = snowsym; speed=1; angle=10; drops=howmany} else{sym = rainsym; speed=100; drops=howmany; angle=6} movex = -speed/angle; movey = speed; count = 0;
function moverain(){ for(move = 0; move < drops; move++){ xx+=movex; yy+=mv; hmm = Math.round(Math.random()*1); if(xx < 0){xx = maxx+10;} if(yy > maxy){yy = 10;} drop.left = xx drop.top = yy+document.body.scrollTop; }setTimeout('moverain()','1')}
</script>
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Dec 1, 2005 1:44:19 GMT -8
It didnt work at all No hearts at all
|
|
inherit
5
xdreamreaverx blackhand2099
0
Sept 29, 2014 11:28:11 GMT -8
ĐR
Missin' the good ol' days
19,719
January 1970
roamer1
|
Post by ĐR on Dec 1, 2005 1:55:29 GMT -8
Hmmm...well I tried to change the speed setting in the code. I wasn't sure if it would work or not. Apparently it did not. Earlier in this thread Craig told you where the image url went in the code. Did it not work for you the first time? You posted as if to say you understood then you posted again asking where the image url went again. I'm a bit confused lol.
|
|
inherit
49270
0
Jun 17, 2011 13:58:03 GMT -8
~*Lisa*~
1,019
July 2005
mumsworld
|
Post by ~*Lisa*~ on Dec 1, 2005 2:18:07 GMT -8
Im a bit confused too..Lol I dont think it did work, thats why I used the code I have now, Oh well..Slow hearts are better than no hearts ! Thanks again.
|
|
inherit
64979
0
Jan 21, 2008 5:44:54 GMT -8
heidster
11
November 2005
heidster
|
Post by heidster on Dec 1, 2005 10:26:33 GMT -8
Hi there ... I found a script that I'm using now (because I couldn't get any of the ones I found on here to work) ... Just wanted to share:
<script> // CREDITS: // Snowmaker Copyright (c) 2003 Peter Gehrig. All rights reserved.
// Set the number of snowflakes (more than 30 - 40 not recommended) var snowmax=50
// Set the colors for the snow. Add as many colors as you like var snowcolor=new Array("#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF")
// Set the fonts, that create the snowflakes. Add as many fonts as you like var snowtype=new Array("akaFrivolity","Arial Black","Arial Narrow","Times","Comic Sans MS","Verdana")
// Set the letter that creates your snowflake (recommended:*) var snowletter="*"
// Set the speed of sinking (recommended values range from 0.3 to 2) var sinkspeed=0.9
// Set the maximal-size of your snowflaxes var snowmaxsize=22
// Set the minimal-size of your snowflaxes var snowminsize=8
// Set the snowing-zone // Set 1 for all-over-snowing, set 2 for left-side-snowing // Set 3 for center-snowing, set 4 for right-side-snowing var snowingzone=1
/////////////////////////////////////////////////////////////////////////// // CONFIGURATION ENDS HERE ///////////////////////////////////////////////////////////////////////////
// Do not edit below this line var snow=new Array() var marginbottom var marginright var timer var i_snow=0 var x_mv=new Array(); var crds=new Array(); var lftrght=new Array(); var browserinfos=navigator.userAgent var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/) var ns6=document.getElementById&&!document.all var opera=browserinfos.match(/Opera/) var browserok=ie5||ns6||opera
function randommaker(range) { rand=Math.floor(range*Math.random()) return rand }
function initsnow() { if (ie5 || opera) { marginbottom = document.body.clientHeight marginright = document.body.clientWidth } else if (ns6) { marginbottom = window.innerHeight marginright = window.innerWidth } var snowsizerange=snowmaxsize-snowminsize for (i=0;i<=snowmax;i++) { crds[i] = 0; lftrght[i] = Math.random()*15; x_mv[i] = 0.03 + Math.random()/10; snow[i]=document.getElementById("s"+i) snow[i].style.fontFamily=snowtype[randommaker(snowtype.length)] snow[i].size=randommaker(snowsizerange)+snowminsize snow[i].style.fontSize=snow[i].size snow[i].style.color=snowcolor[randommaker(snowcolor.length)] snow[i].sink=sinkspeed*snow[i].size/5 if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)} if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)} if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4} if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2} snow[i].posy=randommaker(2*marginbottom-marginbottom-2*snow[i].size) snow[i].style.left=snow[i].posx snow[i].style.top=snow[i].posy } movesnow() }
function movesnow() { for (i=0;i<=snowmax;i++) { crds[i] += x_mv[i]; snow[i].posy+=snow[i].sink snow[i].style.left=snow[i].posx+lftrght[i]*Math.sin(crds[i]); snow[i].style.top=snow[i].posy if (snow[i].posy>=marginbottom-2*snow[i].size || parseInt(snow[i].style.left)>(marginright-3*lftrght[i])){ if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)} if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)} if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4} if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2} snow[i].posy=0 } } var timer=setTimeout("movesnow()",50) }
for (i=0;i<=snowmax;i++) { document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>") } if (browserok) { window.onload=initsnow } </script>
|
|
inherit
38089
0
Dec 1, 2005 10:36:27 GMT -8
freeda
62
March 2005
freeda
|
Post by freeda on Dec 1, 2005 10:41:16 GMT -8
I have the same one as heidster... got it on hypergurl.com It works fine.
|
|