Atomic Army
Welcome to Atomic Army. If you are new here, get started and click the Register button below. Already registered? Click the Log in button. If you would like to apply for the clan, appy in the forums under the "AtM Clan Section". Please read the rules before anything else if you are a new user.


-porscheguy928

Rules:

1. No Spamming
2. No illegal content is allowed
3. No flaming
4. No Insulting
5. No pornographic content or inaprpriate pictures
6. No one word posts
7. No Caps lock
8. No racism
9. No Advertising, unlees it is posted in the Advertisement section
10. Be respectful to Site Staff other Members

Atomic Army


 
HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Welcome to Atomic Army Guest!! Register and Enjoy the Site!
You now have the option to add your PSN Username, Xbox Live Username, and Clan Tag to your profile personalization.
Our Signature of the Week Contest is up again for the week of 2/6/10. Graphix Artists, please consider joining.
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» [PC] Wife Going To Fall, Attractive Flowers / Flower Charm - Part 1 - The Fallen Bride (hentai).torrent
by  Thu Dec 19, 2013 9:35 am

» Photos - Delicious Meals (Mix 15)
by  Thu Dec 19, 2013 8:07 am

» Photos - Delicious Meals (Mix 15)
by  Thu Dec 19, 2013 8:06 am

» Photos - Delicious Meals (Mix 15)
by  Thu Dec 19, 2013 8:06 am

» Primatte V5 Torrents
by  Thu Dec 19, 2013 7:27 am

» bringing site back
by sonicblast223 Tue Sep 04, 2012 11:46 pm

» Site News-redoing the site
by .::xXRAGEXx::. Tue May 03, 2011 1:09 am

» This made my day!!! (PSN)
by .::xXRAGEXx::. Tue May 03, 2011 1:02 am

» I AM NOT BACK
by The_shuriken559 Sun May 01, 2011 5:13 am

Atomic Radio
Top posters
.::xXRAGEXx::.
 
sonicblast223
 
XxSupaxX
 
xJohnny022x
 
Blacksun
 
[4Ł]T®uєŁegend
 
jerrmy12
 
khaoticking
 
The_shuriken559
 
ish_1996
 
Affiliates

Share | 
 

 How to Add Snow and Holiday Lights to your Websites

Go down 
AuthorMessage
.::xXRAGEXx::.
Site Founder
Site Founder
.::xXRAGEXx::.

Xbox Live Username Xbox Live Username : none
Clan Tag Clan Tag : AtM
PSN Username PSN Username : porscheguy928
Posts : 252
Atomic Reputation : -3
Join date : 2010-11-26
Age : 23
Location : Philadelphia, PA

PostSubject: How to Add Snow and Holiday Lights to your Websites   Wed Dec 15, 2010 11:14 pm

Snow


1. Go to your admin panel
2. go to modules>forum widgets
3. Click the "create a widget" button
4. Name it "Snow" and when it says "use table type...select No
5. Copy this Code:

Code:
<script>
// CREDITS:
// Snowmaker
// By Peter Gehrig
// Copyright (c) 2003 Peter Gehrig. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.24fun.com
// info@24fun.com
// 11/27/2003

// IMPORTANT:
// If you add this script to a script-library or script-archive
// you have to add a highly visible link to
// http://www.24fun.com on the webpage
// where this script will be featured

///////////////////////////////////////////////////////////////////////////
// CONFIGURATION STARTS HERE
///////////////////////////////////////////////////////////////////////////

// Set the number of snowflakes (more than 30 - 40 not recommended)
var snowmax=65

// Set the colors for the snow. Add as many colors as you like
var snowcolor=new Array("#aaaacc","#ddddFF","#ccccDD")

// Set the fonts, that create the snowflakes. Add as many fonts as you like
var snowtype=new Array("Arial Black","Arial Narrow","Times","Comic Sans MS")

// 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.6

// 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=3

///////////////////////////////////////////////////////////////////////////
// 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>

6. Select Save
7. Add the widget to your forum and/or portal
8. You have snow


Holiday Lights


1. Go to your admin panel
2. go to modules>forum widgets
3. Click the "create a widget" button
4. Name it "Holiday Lights" and when it says "use table type"...select No
5. Copy this Code:




Code:
<SCRIPT language=javascript type=text/javascript>
//<![CDATA[
var Ovr2='';
if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat')
  {cot_t1_DOCtp="_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft  + document.documentElement.clientWidth - offsetWidth);}";}
else
  {cot_t1_DOCtp="_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft  + document.body.clientWidth - offsetWidth);}";}

if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat')
  {cot_t1_DOCtp2="_top:expression(document.documentElement.scrollTop-20+document.documentElement.clientHeight-this.clientHeight);}";}
else
  {cot_t1_DOCtp2="_top:expression(document.body.scrollTop-20+document.body.clientHeight-this.clientHeight);}";}
var cot_tl_bodyCSS='* html {background: fixed;background-repeat: repeat;background-position: left top;}';
var cot_tl_fixedCSS='#cot_tl_fixed{position:fixed;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'_position:absolute;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'top:0px;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'left:0px;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'clip:rect(0 100 85 0);';
var cot_tl_fixedCSS=cot_tl_fixedCSS+cot_t1_DOCtp;
var cot_tl_popCSS='#cot_tl_pop {background-color: transparent;';
var cot_tl_popCSS=cot_tl_popCSS+'position:fixed;';
var cot_tl_popCSS=cot_tl_popCSS+'_position:absolute;';
var cot_tl_popCSS=cot_tl_popCSS+'height:98px;';
var cot_tl_popCSS=cot_tl_popCSS+'width: 1920px;';
var cot_tl_popCSS=cot_tl_popCSS+'right: 120px;';
var cot_tl_popCSS=cot_tl_popCSS+'top: 20px;';
var cot_tl_popCSS=cot_tl_popCSS+'overflow: hidden;';
var cot_tl_popCSS=cot_tl_popCSS+'visibility: hidden;';
var cot_tl_popCSS=cot_tl_popCSS+'z-index: 100;';
var cot_tl_popCSS=cot_tl_popCSS+cot_t1_DOCtp2;
document.write('<style type="text/css">'+cot_tl_bodyCSS+cot_tl_fixedCSS+cot_tl_popCSS+'</style>');


function COT(cot_tl_theLogo,cot_tl_LogoType,LogoPosition,theAffiliate)
{document.write('<div id="cot_tl_fixed">');
document.write('<><img src='+cot_tl_theLogo+' alt="" border="0"></a>');
document.write('</div>');}

//if(window.location.protocol == "http:")
COT("http://www.honeybearplayhomes.com/resources/flashing%20christmas%20lights.gif", "SC2", "none");
//]]>
</SCRIPT>

6. Select Save
7. Add the widget to your forum and/or portal
8. You have Holiday Lights

Back to top Go down
View user profile http://atmarmy.forumotion.com
khaoticking
Moderator
Moderator


Posts : 16
Atomic Reputation : 0
Join date : 2010-11-27

PostSubject: Re: How to Add Snow and Holiday Lights to your Websites   Thu Dec 16, 2010 4:42 pm

Porsche is there anyway to make it so the lights dont follow you when you scroll it getskinda annoying to have them there all the time. just saying..
Back to top Go down
View user profile
.::xXRAGEXx::.
Site Founder
Site Founder
.::xXRAGEXx::.

Xbox Live Username Xbox Live Username : none
Clan Tag Clan Tag : AtM
PSN Username PSN Username : porscheguy928
Posts : 252
Atomic Reputation : -3
Join date : 2010-11-26
Age : 23
Location : Philadelphia, PA

PostSubject: Re: How to Add Snow and Holiday Lights to your Websites   Fri Dec 17, 2010 1:32 am

sadly no...i looked all over for a code to try and keepit at the top of the page. But its just nice to have them on the site. They'll only be on here until christma....



�-�-ㄕ◊Яςサ∑бㄩㄚ928-�-�



[AtM]porscheguy928♦️[AtM].::xXRAGEXx::.♦️xXAtMXxXRAGEXx
Back to top Go down
View user profile http://atmarmy.forumotion.com
khaoticking
Moderator
Moderator


Posts : 16
Atomic Reputation : 0
Join date : 2010-11-27

PostSubject: Re: How to Add Snow and Holiday Lights to your Websites   Fri Dec 17, 2010 3:09 pm

i mean they are a great festive thing don't get me wrong i do like them they're just kinda annoying at times.
Back to top Go down
View user profile
.::xXRAGEXx::.
Site Founder
Site Founder
.::xXRAGEXx::.

Xbox Live Username Xbox Live Username : none
Clan Tag Clan Tag : AtM
PSN Username PSN Username : porscheguy928
Posts : 252
Atomic Reputation : -3
Join date : 2010-11-26
Age : 23
Location : Philadelphia, PA

PostSubject: Re: How to Add Snow and Holiday Lights to your Websites   Sat Dec 18, 2010 12:19 am

Yeah i know...ull get used to em. You only have to deal with em for another week




�-�-ㄕ◊Яςサ∑бㄩㄚ928-�-�



[AtM]porscheguy928♦️[AtM].::xXRAGEXx::.♦️xXAtMXxXRAGEXx
Back to top Go down
View user profile http://atmarmy.forumotion.com
GreatNoyz



Posts : 2
Atomic Reputation : 1
Join date : 2010-12-21

PostSubject: nice    Tue Dec 21, 2010 6:47 am

yo porsheguy that looks sweet and man imma be on the site everyday like checking whats new but the site does look nice
Back to top Go down
View user profile
.::xXRAGEXx::.
Site Founder
Site Founder
.::xXRAGEXx::.

Xbox Live Username Xbox Live Username : none
Clan Tag Clan Tag : AtM
PSN Username PSN Username : porscheguy928
Posts : 252
Atomic Reputation : -3
Join date : 2010-11-26
Age : 23
Location : Philadelphia, PA

PostSubject: Re: How to Add Snow and Holiday Lights to your Websites   Wed Dec 22, 2010 8:32 pm

thanks man..enjoy the site



�-�-ㄕ◊Яςサ∑бㄩㄚ928-�-�



[AtM]porscheguy928♦️[AtM].::xXRAGEXx::.♦️xXAtMXxXRAGEXx
Back to top Go down
View user profile http://atmarmy.forumotion.com
Sponsored content




PostSubject: Re: How to Add Snow and Holiday Lights to your Websites   

Back to top Go down
 
How to Add Snow and Holiday Lights to your Websites
Back to top 
Page 1 of 1
 Similar topics
-
» Trade: Xmas Holiday Stuff!
» So Sick Of The Snow
» I would like to know which pet are better now.
» Contest 39: BGF’s Holiday Food Hunt
» Photobucket Problems

Permissions in this forum:You cannot reply to topics in this forum
Atomic Army :: Forumotion Section :: Help-
Jump to:  
Free forum | © phpBB | Free forum support | Contact | Report an abuse | Forumotion.com