Translate
Sub Menu
Links Menu
Online Users

In total there are 77 users online :: 2 registered, 0 hidden and 75 guests

Most users ever online was 372 on Thu May 09, 2019 3:50 am

Registered users: Exabot [Bot], Google [Bot] based on users active over the past 60 minutes

Last Online
In order to view the online list you have to be registered and logged in.



We are a free and open
community, all are welcome.

Click here to Register

Snow?

If you have any helpful hints and/or tips in the use of IntegraMOD, you can post it here to help other members of the IntegraMOD community.

Moderator: Integra Moderator

Snow?

PostAuthor: Helter » Sat Dec 01, 2007 4:13 pm

This .script will add js snowflakes to your site. It works in both IE and Firefox. I have not tested it in other browsers.
Attachments
forum_snow.zip
(2.11 KiB) Downloaded 292 times
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4125
Joined: Sat Mar 11, 2006 4:46 pm
Location: Seattle Wa

Re: Snow?

PostAuthor: CaNNon » Mon Dec 03, 2007 6:49 pm

This looks really good on a dark theme! <img>
Last edited by CaNNon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Joined: Thu Apr 19, 2007 12:15 pm

Re: Snow?

PostAuthor: fldodger » Tue Dec 04, 2007 8:54 pm

Yes it does look great on Dark template. I have made a new snowflake also
http://www.motomodding.us
Thanks again guys.
Last edited by fldodger on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Joined: Tue Jul 03, 2007 11:02 am

Re: Snow?

PostAuthor: Michalis » Thu Dec 06, 2007 7:42 am

Heres another PHP .script for snow

Code: Select all
 # #-----[ FIND ]------------------------------------------ # </head>  # #-----[ BEFORE, ADD ]------------------------------------------ #  <script>// Set the number of snowflakes (more than 30 - 40 not recommended)var snowmax=7  // Set the colors for the snow. Add as many colors as you likevar snowcolor=new Array("#aaaacc","#ddddFF","#ccccDD")  // Set the fonts, that create the snowflakes. Add as many fonts as you likevar snowtype=new Array("Arial Black","Arial Narrow","Times","Comic Sans MS")  // Set the letter that creates your snowflake (recommended] = 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>=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>"+snowletter+"</span>")}if (browserok) {    window.onload=initsnow}</script>  ##-----[ EoM ]------------------------------------------#  
Last edited by Michalis on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://www.houseofdance.net/images/Banners/HoDbanner2008.gif[/img]
User avatar
Michalis
Integra Member
Integra Member
 
Posts: 138
Joined: Sat Jun 16, 2007 5:37 pm
Location: UK

PostAuthor: fldodger » Tue Dec 25, 2007 5:57 pm

What do you have for New Year?
Last edited by fldodger on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Joined: Tue Jul 03, 2007 11:02 am

Re: Snow?

PostAuthor: CaNNon » Wed Dec 26, 2007 1:11 pm

I thought i saw a fireworks graphic that you could swap for the snow flake pic (for use with the original .script), but i have not been able to find it again.
So if anyone sees one I would like a link too! <img>
Last edited by CaNNon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Joined: Thu Apr 19, 2007 12:15 pm

PostAuthor: fldodger » Fri Dec 28, 2007 2:50 pm

I made some Confetti.

Check it out. Link is in above post.
Last edited by fldodger on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Joined: Tue Jul 03, 2007 11:02 am

Re: Snow?

PostAuthor: CaNNon » Fri Dec 28, 2007 7:13 pm

Looks good, you going to share? :wink: <img>
Last edited by CaNNon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Joined: Thu Apr 19, 2007 12:15 pm

PostAuthor: fldodger » Fri Jan 25, 2008 6:26 pm

Sorry I missed this Post. <img>
Please forgive me. I will post the images next time through.
Last edited by fldodger on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Joined: Tue Jul 03, 2007 11:02 am

Re: Snow?

PostAuthor: CaNNon » Sat Jan 26, 2008 12:01 pm

Errrrr.... I was joking about taking it to use for new years, I hope you didn't mind.
I think it should be added to the down load it's a nice little touch for new years and a very easy to edit to change displayed files.
Last edited by CaNNon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Joined: Thu Apr 19, 2007 12:15 pm

Re: Snow?

PostAuthor: fldodger » Sat Jan 26, 2008 1:20 pm

Here you go.
Just upload image and it will replace the snow.
[img=left:upkyh1q6]http://i129.photobucket.com/albums/p212/fldodger1/others/snow.gif[/img]
Last edited by fldodger on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Joined: Tue Jul 03, 2007 11:02 am

Re: Snow?

PostAuthor: Lycanth » Mon Dec 15, 2008 8:05 pm

Um, sorry, code newbie here...is there any way to slow down the snow?

Lycanth
Members
Members
 
Posts: 65
Joined: Mon Nov 12, 2007 6:20 pm
Location: Australia

Re: Snow?

PostAuthor: Helter » Mon Dec 15, 2008 9:04 pm

at the beginning of most of the scripts there will be a speed setting and explanation
Image
Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4125
Joined: Sat Mar 11, 2006 4:46 pm
Location: Seattle Wa

Re: Snow?

PostAuthor: Lycanth » Fri Feb 13, 2009 5:06 pm

Sorry, one more question. Is there any way to make it so several different images are randomly chosen from?

Hoping to use it for easter eggs when easter is upon us and would love to have different kinds of eggs falling.

Lycanth
Members
Members
 
Posts: 65
Joined: Mon Nov 12, 2007 6:20 pm
Location: Australia

Re: Snow?

PostAuthor: Helter » Fri Feb 13, 2009 7:19 pm

check http://www.dynamicdrive.com/ for something like that
Image
Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4125
Joined: Sat Mar 11, 2006 4:46 pm
Location: Seattle Wa


Return to Hints and Tips

Who is online

Registered users: Exabot [Bot], Google [Bot]

cron