|
Comunitatea uCoz Altele Instrumente şi Script-uri Decoratie pentru iarna (script zapada si imagine cu clopotei de brad) |
Decoratie pentru iarna |
Pentru incepatori m-am gandit sa postez acest script care va adauga zapada si in coltul dreapta sus o imagine cu 2 clopotei de brad.
Dati activare constructor iar in partea de sus a site-ului adaugati urmatorul cod: Code <layer name="lenta" top="0" right="0"> <div style="position:absolute; top:0; right:0;"> <img border="0" src="http://floodofgames.ucoz.ro/Grafica/Clopotei_de_brad.png" align="right"> </div> </layer> <div style="display:none" id="cneg_webo4ka"> <div class="mince"> <a id="clear" href="javascript:otkluchenie_cnega_webo4ka()"><img title="Opreste" src="http://www.iconsearch.ru/uploads/icons/ultimategnome/24x24/edit-delete.png" border="0"/></a> <a id="round" href="javascript:bolichii_xlopia_webo4ka()"><img title="Fulgi mari" src="http://www.iconsearch.ru/uploads/icons/ultimategnome/32x32/weather-snow.png" border="0"/></a> <a id="shadows" href="javascript:malenkie_c_teniu_webo4ka()"><img title="Fulgi mici cu umbra" src="http://www.iconsearch.ru/uploads/icons/ledicons/16x16/weather_snow.png" border="0"/></a> <a id="roundshadows" href="javascript:kruglichki_c_teniu_webo4ka()"><img title="Fulgi mari cu umbra" src="http://www.iconsearch.ru/uploads/icons/tango/32x32/weather-snow.png" border="0"/></a> <a id="collection" href="javascript:ckoplenie_cnega_webo4ka()"><img title="Viscol" src="http://www.iconsearch.ru/uploads/icons/ultimategnome/16x16/stock_weather-snow.png" border="0"/></a> </div> <script src='http://webo4ka.ru/Ucoz5/snowfall.min.jquery_cneg_dli_caita_JQuery.js'></script> <script type='text/javascript'>$(document).ready(function(){$(document).snowfall();$("#clear").click(function(){$(document).snowfall('clear');});$("#round").click(function(){$(document).snowfall('clear');$(document).snowfall({round : true, minSize: 5, maxSize:8});});$("#shadows").click(function(){$(document).snowfall('clear');$(document).snowfall({shadow : true, flakeCount:200});});$("#roundshadows").click(function(){$(document).snowfall('clear');$(document).snowfall({shadow : true, round : true, minSize: 5, maxSize:8});});$("#collection").click(function(){$(document).snowfall('clear');$(document).snowfall({collection : '.mince', flakeCount : 300});});});</script> <script type="text/javascript">function cneg_webo4ka(){_uWnd.alert($('#cneg_webo4ka').html(),'Porneste/Opreste zapada pe site',{w: 250,h: 99,tm: 30000,});} function otkluchenie_cnega_webo4ka(){_uWnd.alert('<font color="red">Zapada a fost oprita:(</font>','Notificare',{w: 250,h: 99,tm: 2000,});} function bolichii_xlopia_webo4ka(){_uWnd.alert('<font color="green">Zapada <b>"Fulgi mari"</b> a pornit</font>','Notificare',{w: 250,h: 99,tm: 2000,});} function malenkie_c_teniu_webo4ka(){_uWnd.alert('<font color="green">Zapada <b>"Fulgi mici cu umbra"</b> a pornit</font>','Notificare',{w: 250,h: 99,tm: 2000,});} function kruglichki_c_teniu_webo4ka(){_uWnd.alert('<font color="green">Zapada <b>"Fulgi mari cu umbra"</b> a pornit</font>','Notificare',{w: 250,h: 99,tm: 2000,});} function ckoplenie_cnega_webo4ka(){_uWnd.alert('<font color="green"><b>"Viscolul"</b> a pornit</font>','Notificare',{w: 250,h: 99,tm: 2000,});}</script> </div> Un exemplu puteti vedea la mine pe site... AICI Material modificat de Gravedigger - Sâmbătă, 01/12/2012, 4:31 PM
|
| |||
| |||