Sub Menu
Links Menu
Online Users

In total there are 312 users online :: 3 registered, 0 hidden and 309 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

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 3: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 471 times
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Snow?

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

This looks really good on a dark theme! <img>
Last edited by CaNNon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

Re: Snow?

PostAuthor: fldodger » Tue Dec 04, 2007 7: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 4:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 03, 2007 10:02 am
Cash on hand: 0.00

Re: Snow?

PostAuthor: Michalis » Thu Dec 06, 2007 6: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 4: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
Likes: 0 post
Liked in: 0 post
Joined: Sat Jun 16, 2007 4:37 pm
Cash on hand: 0.00
Location: UK

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

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

fldodger
Members
Members
 
Posts: 52
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 03, 2007 10:02 am
Cash on hand: 0.00

Re: Snow?

PostAuthor: CaNNon » Wed Dec 26, 2007 12: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 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

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

I made some Confetti.

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

fldodger
Members
Members
 
Posts: 52
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 03, 2007 10:02 am
Cash on hand: 0.00

Re: Snow?

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

Looks good, you going to share? :wink: <img>
Last edited by CaNNon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

PostAuthor: fldodger » Fri Jan 25, 2008 5: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 4:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 03, 2007 10:02 am
Cash on hand: 0.00

Re: Snow?

PostAuthor: CaNNon » Sat Jan 26, 2008 11:01 am

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 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

Re: Snow?

PostAuthor: fldodger » Sat Jan 26, 2008 12: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 4:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 03, 2007 10:02 am
Cash on hand: 0.00

Re: Snow?

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

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

Lycanth
Members
Members
 
Posts: 65
Likes: 0 post
Liked in: 0 post
Joined: Mon Nov 12, 2007 5:20 pm
Cash on hand: 0.00
Location: Australia

Re: Snow?

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

at the beginning of most of the scripts there will be a speed setting and explanation
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Snow?

PostAuthor: Lycanth » Fri Feb 13, 2009 4: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
Likes: 0 post
Liked in: 0 post
Joined: Mon Nov 12, 2007 5:20 pm
Cash on hand: 0.00
Location: Australia

Re: Snow?

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

check http://www.dynamicdrive.com/ for something like that
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3


Return to Hints and Tips

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]