Yes, the snow script is stand alone. In the download zip, just copy the snow script and insert it in the footer at the beggining.
New Christmas Style
Collapse
X
-
-
sorry i am new to this, could you give an example?Comment
-
Originally posted by Puntoboysorry i am new to this, could you give an example?Comment
-
ok here is my current footer code...
Code:<br /> <div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div> <br /> $spacer_close <!-- /content area table --> <form action="$vboptions[forumhome].php" method="get"> <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center"> <tr> <if condition="$show['quickchooser']"> <td class="tfoot"> <select name="styleid" id="ressel" onchange="switch_styleid(this)"> <optgroup label="$vbphrase[quick_style_chooser]"> $quickchooserbits </optgroup> </select> </td> </if> <td class="tfoot" align="$stylevar[right]"> <div class="smallfont"> <strong> <a href="/forums/$vboptions[contactuslink]">$vbphrase[contact_us]</a> - <a href="$vboptions[homeurl]">$vboptions[hometitle]</a> - <if condition="$show['admincplink']"><a href="/forums/$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> -</if> <if condition="$show['modcplink']"><a href="/forums/$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> -</if> <if condition="$vboptions['archiveenabled']"><a href="/archive/index.php">$vbphrase[archive]</a> -</if> <if condition="$vboptions[privacyurl]"><a href="/forums/$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if> <a href="/forums/#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a> </strong> </div> </td> </tr> </table> <br /> <div align="center"> <div class="smallfont" align="center"> <!-- Do not remove this copyright notice --> $vbphrase[powered_by_vbulletin] <!-- Do not remove this copyright notice --> </div> <div class="smallfont" align="center"> <!-- Do not remove $cronimage or your scheduled tasks will cease to function --> $cronimage <!-- Do not remove $cronimage or your scheduled tasks will cease to function --> $vboptions[copyrighttext] </div> </div> </form> <if condition="$show['dst_correction']"> <!-- auto DST correction code --> <form action="profile.php" method="post" name="dstform"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="dst" /> </form> <script type="text/javascript"> <!-- var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff]; var utcOffset = new Date().getTimezoneOffset() / 60; if (Math.abs(tzOffset + utcOffset) == 1) { // Dst offset is 1 so its changed document.forms.dstform.submit(); } //--> </script> <!-- / auto DST correction code --> </if> <script type="text/javascript"> <!-- // Main vBulletin Javascript Initialization vBulletin_init(); // Initialize 'Active' Table Cells //activecells_init(); //--> </script>
Code:<?xml version="1.0" encoding="ISO-8859-1"?> <style name="Xcalibur Christmas VB 3.5" vbversion="3.5.0" product="vbulletin" type="custom"> <templategroup name="CSS Special Templates"> <template name=".alt1, .alt1Active" templatetype="css" date="1132663107" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:7:"#cf0000";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template> <template name=".alt2, .alt2Active" templatetype="css" date="1132662909" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:7:"#256204";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template> <template name=".button" templatetype="css" date="1132972201" username="~Xcalibur~" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:70:"verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:0:"";}]]></template> <template name=".fjdpth0" templatetype="css" date="1133322188" username="~Xcalibur~" version=""><![CDATA[a:2:{s:10:"background";s:94:"#decdb2 url(../forums/images/XcaliburChristmas/gradients/gradient_panel.gif) repeat-x top left";s:5:"color";s:7:"#000000";}]]></template> <template name=".fjsel" templatetype="css" date="1133322188" username="~Xcalibur~" version=""><![CDATA[a:2:{s:10:"background";s:94:"#decdb2 url(../forums/images/XcaliburChristmas/gradients/gradient_panel.gif) repeat-x top left";s:5:"color";s:7:"#000000";}]]></template> <template name=".navbar" templatetype="css" date="1132972691" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:70:"verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template> <template name=".page" templatetype="css" date="1132636154" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:7:"#Cf0000";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template> <template name=".panel" templatetype="css" date="1132662909" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:7:"#256204";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:35:"padding: 10px; border: 2px outset;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template> <template name=".panelsurround" templatetype="css" date="1132662909" username="~Xcalibur~" version=""><![CDATA[a:4:{s:10:"background";s:7:"#256204";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";}]]></template> <template name=".smallfont" templatetype="css" date="1121860354" username="~Xcalibur~" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:70:"verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:0:"";}]]></template> <template name=".tborder" templatetype="css" date="1132971592" username="~Xcalibur~" version=""><![CDATA[a:4:{s:10:"background";s:7:"#D1D1D1";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:26:"border: 1px solid #D1D1D1;";}]]></template> <template name=".tcat" templatetype="css" date="1133322188" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:93:"#256204 url(../forums/images/XcaliburChristmas/gradients/gradient_tcat.gif) repeat-x top left";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"10pt";s:6:"family";s:70:"verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#D6D7D9";s:15:"text-decoration";s:9:"underline";}}]]></template> <template name=".tfoot" templatetype="css" date="1133322188" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:93:"#256204 url(../forums/images/XcaliburChristmas/gradients/gradient_tcat.gif)repeat-x top left";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#D6D7D9";s:15:"text-decoration";s:9:"underline";}}]]></template> <template name=".thead" templatetype="css" date="1133271314" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:8:"#256204 ";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:78:"tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#D6D7D9";s:15:"text-decoration";s:9:"underline";}}]]></template> <template name=".time" templatetype="css" date="1132635683" username="~Xcalibur~" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";}]]></template> <template name=".vbmenu_control" templatetype="css" date="1133322188" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:94:"#256204 url(../forums/images/XcaliburChristmas/gradients/gradient_tcat.gif)repeat-x top left";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:78:"tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:74:"padding: 3px 6px 3px 6px; white-space: nowrap; border: 1px solid #D1D1D1;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#D6D7D9";s:15:"text-decoration";s:9:"underline";}}]]></template> <template name=".vbmenu_hilite" templatetype="css" date="1132664087" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:7:"#cf0000";s:5:"color";s:7:"#003333";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:70:"verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:66:"white-space: nowrap; cursor: pointer; border: 1px solid #CCCCCC;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#D6D7D9";s:15:"text-decoration";s:4:"none";}}]]></template> <template name=".vbmenu_option" templatetype="css" date="1132972840" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:7:"#256204";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:70:"verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:66:"white-space: nowrap; cursor: pointer; border: 1px solid #CCCCCC;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#D6D7D9";s:15:"text-decoration";s:4:"none";}}]]></template> <template name=".vbmenu_popup" templatetype="css" date="1132972785" username="~Xcalibur~" version=""><![CDATA[a:4:{s:10:"background";s:7:"#256204";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:26:"border: 1px solid #D1D1D1;";}]]></template> <template name=".wysiwyg" templatetype="css" date="1132663107" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:7:"#cf0000";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"10pt";s:6:"family";s:70:"verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template> <template name="body" templatetype="css" date="1133322188" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:64:"#ffffff url(../forums/images/XcaliburChristmas/snowy.jpg) repeat";s:5:"color";s:7:"#256204";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"10pt";s:6:"family";s:70:"verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:42:"margin: 5px 10px 10px 10px; padding: 0px;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:9:"underline";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#ffffff";s:15:"text-decoration";s:9:"underline";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#D6D7D9";s:15:"text-decoration";s:9:"underline";}}]]></template> <template name="legend" templatetype="css" date="1132663820" username="~Xcalibur~" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:7:"#E2E2E2";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:78:"tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:0:"";}]]></template> <template name="select" templatetype="css" date="1132972244" username="~Xcalibur~" version=""><![CDATA[a:4:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"11px";s:6:"family";s:70:"verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:26:"border:1px #D1D1D1 solid ;";}]]></template> <template name="td.inlinemod" templatetype="css" date="1132635683" username="~Xcalibur~" version=""><![CDATA[a:7:{s:10:"background";s:7:"#FFFFCC";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:0:"";s:6:"family";s:0:"";}s:5:"EXTRA";s:0:"";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:0:"";s:15:"text-decoration";s:0:"";}}]]></template> <template name="textarea, .bginput" templatetype="css" date="1132662909" username="~Xcalibur~" version=""><![CDATA[a:4:{s:10:"background";s:7:"#256204";s:5:"color";s:7:"#ffffff";s:4:"font";a:3:{s:5:"style";s:0:"";s:4:"size";s:4:"10pt";s:6:"family";s:70:"verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:0:"";}]]></template> </templategroup> <templategroup name="StyleVar Special Templates"> <template name="imgdir_attach" templatetype="stylevar" date="1133322188" username="~Xcalibur~" version=""><![CDATA[images/XcaliburChristmas/attach]]></template> <template name="imgdir_button" templatetype="stylevar" date="1133322188" username="~Xcalibur~" version=""><![CDATA[images/XcaliburChristmas/buttons]]></template> <template name="imgdir_editor" templatetype="stylevar" date="1133322188" username="~Xcalibur~" version=""><![CDATA[images/XcaliburChristmas/editor]]></template> <template name="imgdir_misc" templatetype="stylevar" date="1133322188" username="~Xcalibur~" version=""><![CDATA[images/XcaliburChristmas/misc]]></template> <template name="imgdir_poll" templatetype="stylevar" date="1133322188" username="~Xcalibur~" version=""><![CDATA[images/XcaliburChristmas/polls]]></template> <template name="imgdir_rating" templatetype="stylevar" date="1133322188" username="~Xcalibur~" version=""><![CDATA[images/XcaliburChristmas/rating]]></template> <template name="imgdir_reputation" templatetype="stylevar" date="1133322188" username="~Xcalibur~" version=""><![CDATA[images/XcaliburChristmas/reputation]]></template> <template name="imgdir_statusicon" templatetype="stylevar" date="1133322188" username="~Xcalibur~" version=""><![CDATA[images/XcaliburChristmas/statusicon]]></template> <template name="spacersize" templatetype="stylevar" date="1121862045" username="~Xcalibur~" version=""><![CDATA[10]]></template> <template name="titleimage" templatetype="stylevar" date="1133322594" username="~Xcalibur~" version=""><![CDATA[images/XcaliburChristmas/Xcalibur_Christmas.gif]]></template> </templategroup> <templategroup name="Editor"> <template name="editor_styles_button_normal" templatetype="template" date="1132663820" username="~Xcalibur~" version="3.5.0"><![CDATA[background: #E2E2E2; color: #000000; padding: 1px; border: none;]]></template> </templategroup> <templategroup name="Ungrouped Templates"> <template name="footer" templatetype="template" date="1133405631" username="~Xcalibur~" version="3.5.0"><![CDATA[<script type="text/javascript"> /****************************************** * Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html) * Random Fall Rate modification by ViRoy * Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code *This notice must stay intact for use ******************************************/ //Configure below to change URL path to the snow image var snowsrc="http://www.realmoutfitters.com/forums/images/hrfchristmas/snow4.gif" // Configure below to change number of snow to render var no = 20; // Configure whether snow should disappear after x seconds (0=never): var hidesnowtime = 0; // Configure how much snow should drop down before fading ("windowheight" or "pageheight") var snowdistance = "pageheight"; ///////////Stop Config////////////////////////////////// var ie4up = (document.all) ? 1 : 0; var ns6up = (document.getElementById&&!document.all) ? 1 : 0; function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } var dx, xp, yp; // coordinate and position variables var am, stx, sty; // amplitude and step variables var i, doc_width = 800, doc_height = 600; if (ns6up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = iecompattest().clientWidth; doc_height = iecompattest().clientHeight; } dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "http://www.realmoutfitters.com/forums/images/hrfchristmas/snow4.gif" : snowsrc for (i = 0; i < no; ++ i) { dx[i] = 0; // set coordinate variables xp[i] = Math.random()*(doc_width - 75); // set position variables yp[i] = Math.random()*doc_height; am[i] = Math.random()*30; // set amplitude variables stx[i] = 0.02 + Math.random()/10; // set step variables sty[i] = Math.random() * 5 ; if (sty[i] < .5) {sty[i]=1} // set step variables if (ie4up||ns6up) { if (i == 0) { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>"); } else { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>"); } } } function snowIE_NS6() { // IE and NS6 main animation function doc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10; doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")? iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight; for (i = 0; i < no; ++ i) { // iterate for every dot yp[i] += sty[i]; if (yp[i] > doc_height-50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = 0; stx[i] = 0.02 + Math.random()/10; sty[i] = Math.random() * 5 ; if (sty[i] < .5) {sty[i]=1} } dx[i] += stx[i]; document.getElementById("dot"+i).style.top=yp[i]+"px"; document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px"; } snowtimer=setTimeout("snowIE_NS6()", 10); } function hidesnow(){ if (window.snowtimer) clearTimeout(snowtimer) for (i=0; i<no; i++) document.getElementById("dot"+i).style.visibility="hidden" } if (ie4up||ns6up){ snowIE_NS6(); if (hidesnowtime>0) setTimeout("hidesnow()", hidesnowtime*1000) } </script> <br /> <div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div> <br /> $spacer_close <!-- /content area table --> <form action="$vboptions[forumhome].php" method="get"> <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center"> <tr> <if condition="$show['quickchooser']"> <td class="tfoot"> <select name="styleid" onchange="switch_id(this, 'style')"> <optgroup label="$vbphrase[quick_style_chooser]"> $quickchooserbits </optgroup> </select> </td> </if> <if condition="$show['languagechooser']"> <td class="tfoot"> <select name="langid" onchange="switch_id(this, 'lang')"> <optgroup label="$vbphrase[quick_language_chooser]"> $languagechooserbits </optgroup> </select> </td> </if> <td class="tfoot" align="$stylevar[right]" width="100%"> <div class="smallfont"> <strong> <if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if> <a href="$vboptions[homeurl]">$vboptions[hometitle]</a> - <if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if> <if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if> <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if> <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if> <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a> </strong> </div> </td> </tr> </table> <br /> <div align="center"> <div class="smallfont" align="center"> <!-- Do not remove this copyright notice --> $vbphrase[powered_by_vbulletin] <!-- Do not remove this copyright notice --> </div> <div class="smallfont" align="center"> <!-- Do not remove $cronimage or your scheduled tasks will cease to function --> $cronimage <!-- Do not remove $cronimage or your scheduled tasks will cease to function --> $vboptions[copyrighttext] </div> </div> </form> <if condition="$show['dst_correction']"> <!-- auto DST correction code --> <form action="profile.php" method="post" name="dstform"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="dst" /> </form> <script type="text/javascript"> <!-- var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff]; var utcOffset = new Date().getTimezoneOffset() / 60; if (Math.abs(tzOffset + utcOffset) == 1) { // Dst offset is 1 so its changed document.forms.dstform.submit(); } //--> </script> <!-- / auto DST correction code --> </if> <script type="text/javascript"> <!-- // Main vBulletin Javascript Initialization vBulletin_init(); //--> </script>]]></template> </templategroup> </style>
sorry about all the questions...Comment
-
Comment
-
Nope, that is not the snow code that is the xml style file. The snow code is in the zip folder you downloaded and is a word document file named snow script.rtf , Only paste the script from that word document in the footer. It will be at the very first of the footer.Comment
-
Comment
-
Its nice, but a bit to much for my likingComment
-
Trying to make this work on 3.6.2 and not having any luck.
this is my code. I've tried using it in the footer and also in forumhome.
PHP Code:<script type="text/javascript">
/******************************************
* Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html)
* Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code
* Last updated Nov 9th, 05' by DD. This notice must stay intact for use
******************************************/
//Configure below to change URL path to the snow image
var snowsrc="snow.gif"
// Configure below to change number of snow to render
var no = 10;
// Configure whether snow should disappear after x seconds (0=never):
var hidesnowtime = 0;
// Configure how much snow should drop down before fading ("windowheight" or "pageheight")
var snowdistance = "pageheight";
///////////Stop Config//////////////////////////////////
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns6up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = iecompattest().clientWidth;
doc_height = iecompattest().clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "snow.gif" : snowsrc
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ie4up||ns6up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>");
}
}
}
function snowIE_NS6() { // IE and NS6 main animation function
doc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10;
doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")? iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight;
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
}
dx[i] += stx[i];
document.getElementById("dot"+i).style.top=yp[i]+"px";
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px";
}
snowtimer=setTimeout("snowIE_NS6()", 10);
}
function hidesnow(){
if (window.snowtimer) clearTimeout(snowtimer)
for (i=0; i<no; i++) document.getElementById("dot"+i).style.visibility="hidden"
}
if (ie4up||ns6up){
snowIE_NS6();
if (hidesnowtime>0)
setTimeout("hidesnow()", hidesnowtime*1000)
}
</script>
Comment
-
Ok got it imported now how do you put the Merry Christmas at the top of the board as I used my default style. Also are the various buttons in one of those folders? Told you I was new at this, so do I need to download all those file folders to get the images?Last edited by Idnew; Mon 4 Dec '06, 1:49pm.Comment
-
This template is working fine in 3.6.4 but I am getting this message in my control pannel
Out-of-Date Custom Templates Found!There are currently 1 customized template(s) that need to be updated or reverted. Some sections of vBulletin may not function if you do not do this!
Click here to view these templates!
Xcalibur Christmas VB Style 3.5 - SNOWfooter
Default Template Updated in vBulletin 3.6.0 Beta 1 by Ed Sullivan
Your Custom Template Last Edited in vBulletin 3.5.0 by ~Xcalibur~
This is the code it goes to : footer
PHP Code:<script type="text/javascript">
/******************************************
* Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html)
* Random Fall Rate modification by ViRoy
* Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code
*This notice must stay intact for use
******************************************/
//Configure below to change URL path to the snow image
var snowsrc="http://www.realmoutfitters.com/forums/images/hrfchristmas/snow4.gif"
// Configure below to change number of snow to render
var no = 20;
// Configure whether snow should disappear after x seconds (0=never):
var hidesnowtime = 0;
// Configure how much snow should drop down before fading ("windowheight" or "pageheight")
var snowdistance = "pageheight";
///////////Stop Config//////////////////////////////////
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns6up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = iecompattest().clientWidth;
doc_height = iecompattest().clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "http://www.realmoutfitters.com/forums/images/hrfchristmas/snow4.gif" : snowsrc
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width - 75); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*30; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = Math.random() * 5 ;
if (sty[i] < .5) {sty[i]=1} // set step variables
if (ie4up||ns6up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>");
}
}
}
function snowIE_NS6() { // IE and NS6 main animation function
doc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10;
doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")? iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight;
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = Math.random() * 5 ;
if (sty[i] < .5) {sty[i]=1}
}
dx[i] += stx[i];
document.getElementById("dot"+i).style.top=yp[i]+"px";
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px";
}
snowtimer=setTimeout("snowIE_NS6()", 10);
}
function hidesnow(){
if (window.snowtimer) clearTimeout(snowtimer)
for (i=0; i<no; i++) document.getElementById("dot"+i).style.visibility="hidden"
}
if (ie4up||ns6up){
snowIE_NS6();
if (hidesnowtime>0)
setTimeout("hidesnow()", hidesnowtime*1000)
}
</script>
<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />
$spacer_close
<!-- /content area table -->
<form action="$vboptions[forumhome].php" method="get">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>
<br />
<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>
<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$vboptions[copyrighttext]
</div>
</div>
</form>
<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
Comment
-
Revert then re-add your changes.Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Steve Machol Photography
Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.
Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment