Clan Adverts

PHP Web Host - Quality Web Hosting For All PHP Applications

www.clan-themes.co.uk :: View topic - Snowstorm

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Snowstorm
Goto page 1, 2  Next

14 Replies / 4848 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » Java Scripts

View previous topic :: View next topic


hummer454
Reputation: 461.5
Local time: 9:29 PM
Location: Box
belgium.gif

Status: Offline
0.01 posts per day
Medals: 0

Joined: Dec 18, 2006
Last Visit: 22 Apr 2007
Posts: 9
Points: 250 

Post Snowstorm Posted: Wed Dec 20, 2006 11:10 am   

I changed the snowstorms little blocks into nice snowflakes :p:)




if i'm allowd i will upload it (dunno if its allowed to post remakes of scripts)



check Here

Greetz
 

 
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

floppy
Reputation: 1794.6
votes: 10
Local time: 3:29 PM
Location: Jackson Mississippi
usa.gif

Status: Offline
2.77 posts per day
Medals: 1 (View more...)
Dedicated User (Amount: 1)
Clan Themes Scripts/Coder
Clan Themes Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 02 Dec 2008
Posts: 2074
Points: 4423 

View user's profileSend private messageVisit poster's website Reply with quote

hummer454
Reputation: 461.5
Local time: 9:29 PM
Location: Box
belgium.gif

Status: Offline
0.01 posts per day
Medals: 0

Joined: Dec 18, 2006
Last Visit: 22 Apr 2007
Posts: 9
Points: 250 

View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote


Scorpion
Reputation: 471.1
Local time: 8:29 PM
Location: 30 miles from Carentan
blank.gif

Status: Offline
0.41 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
Very Important Person
Very Important Person
Joined: Dec 09, 2006
Last Visit: 04 Apr 2008
Posts: 295
Points: 31063 

View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote

bassaddicted
Reputation: 462.2
Local time: 3:29 PM
Location: Quebec
canada.gif

Status: Offline
0.07 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)
Site Helper
Site Helper
Joined: Dec 16, 2006
Last Visit: 26 Nov 2008
Posts: 53
Points: 9287 

View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

Scorpion
Reputation: 471.1
Local time: 8:29 PM
Location: 30 miles from Carentan
blank.gif

Status: Offline
0.41 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
Very Important Person
Very Important Person
Joined: Dec 09, 2006
Last Visit: 04 Apr 2008
Posts: 295
Points: 31063 

Post Posted: Wed Dec 20, 2006 10:25 pm   

I like this effect so much that I've moded it for the Autumn period - ( Link Removed )

But there's a problem with it and I'm not sure why..... any ideas?

also ie won't show it but firefox does???

Last edited by Scorpion on Sun Dec 24, 2006 12:21 am; edited 2 times in total
 

 
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote


Ped
Reputation: 336.9
votes: 17
Local time: 9:29 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

Post Posted: Wed Dec 20, 2006 11:03 pm   

Bad HAir Day yup your right it doesnt work in GAY IE ! lol

http://www.sta-site.net/ doesnt either ill look at another script ive got very similar give me 5 and ill let you know

LMAO "Ramsgate Rail Regiment" LMAO should be Ramsgate Ram Raiders ! Kiss
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

Ped
Reputation: 336.9
votes: 17
Local time: 9:29 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

Post Posted: Wed Dec 20, 2006 11:12 pm   

Ok ive tested the other one and it works, this is purely just java no images ...

replace the snowstorm.js with this snow.js one

Code:
var snowmax=30;
var snowcolor=new Array("#ccccdd","#aaaacc","#ccccdd","#999999","#aaaacc");
var snowtype=new Array("Arial Black","Arial Narrow","Times","Times");
var snowletter="*";
var sinkspeed=0.6;
var snowmaxsize=32;
var snowminsize=8;
var snowingzone=1;
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 = document.body.clientHeight;      marginright = window.innerWidth;   }   
var snowsizerange=snowmaxsize-snowminsize;   for (i=0;i<=snowmax;i++) {      crds[i] = 0;          lftrght[i] = Math.random()*35;          x_mv[i] = 0.13 + 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+"px";      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 +"px";      snow[i].style.top=snow[i].posy +"px";   }   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]) +"px";      snow[i].style.top=snow[i].posy +"px";      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='z-index:300;position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>");}if (browserok) {   window.onload=initsnow;}


I tested it on clan themes in both IE and Mozzila and the only thing i noticed in Mozzila in the forums it didnt show, but i attatched it to the theme header, i might try adding it to the yoursite/header.php

Hope this helps
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

bassaddicted
Reputation: 462.2
Local time: 3:29 PM
Location: Quebec
canada.gif

Status: Offline
0.07 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)
Site Helper
Site Helper
Joined: Dec 16, 2006
Last Visit: 26 Nov 2008
Posts: 53
Points: 9287 

Post Posted: Wed Dec 20, 2006 11:17 pm   

hehe nice but this sucks cause on my website everywhere i putted it or upload it redid the code to redirect somewhere else " i like the Cleaness of my Host :D nothing worked even witht he original Configurations so i gave up . i might try that :D ill tell you if it work BTW








P.S still Uploading Files on server hehe :d Just redid it i hate the CMS php to much stuff for nothing hehe and can't change the theme cause half the stuff don't work if you do hehe
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote




Ped
Reputation: 336.9
votes: 17
Local time: 9:29 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

Scorpion
Reputation: 471.1
Local time: 8:29 PM
Location: 30 miles from Carentan
blank.gif

Status: Offline
0.41 posts per day
Medals: 3 (View more...)
Dedicated User (Amount: 1)
Very Important Person
Very Important Person
Joined: Dec 09, 2006
Last Visit: 04 Apr 2008
Posts: 295
Points: 31063 

View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote

Ped
Reputation: 336.9
votes: 17
Local time: 9:29 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

Post Posted: Thu Dec 21, 2006 12:25 am   

Ped wrote:


I tested it on clan themes in both IE and Mozzila and the only thing i noticed in Mozzila in the forums it didnt show, but i attatched it to the theme header, i might try adding it to the yoursite/header.php


Yup i know, ive not tried adding it to the sites header yet
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

Post new topic   Reply to topic  
   www.clan-themes.co.uk Forum Index » Java Scripts


 
14 Replies / 4848 Views
Page 1 of 2
All times are GMT
Goto page 1, 2  Next
Display posts from previous:   
 
Jump to: