Alynutzu | Data: Joi, 2012-08-30, 5:21 PM | Mesaj # 1 |
|
A fost verificat doar pe șabloanele originale (cele oferite de ucoz).
Instalare: Panoul de Control - Design - Administrarea design-ului (şabloane) - Secţiuni globale - într-un recipient adăugați:
Code <script type="text/javascript"> function okno(){ _uWnd.alert($("#okno1").html(),'Schimbarea fundalului',{name:'24a', align:'left', w:420, h:400, tm:400000, icon:'http://s36.ucoz.net/img/icon/tip.png'}) };
function plat1(){ setCookie('platbg1','1','365'); eraseCookie('platbg2');eraseCookie('platbg3');eraseCookie('platbg4');eraseCookie('platbg5');eraseCookie('platbg6'); eraseCookie('platbg7'); eraseCookie('platbg8'); eraseCookie('platbg9'); $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/11.jpg")'); };
function plat2(){ setCookie('platbg2','1','365'); eraseCookie( 'platbg1' );eraseCookie( 'platbg3' );eraseCookie( 'platbg4' );eraseCookie( 'platbg5' );eraseCookie( 'platbg6' ); eraseCookie('platbg7'); eraseCookie('platbg8'); eraseCookie('platbg9'); $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/1.jpg")'); };
function plat3(){ setCookie('platbg3','1','365'); eraseCookie( 'platbg1' );eraseCookie( 'platbg2' );eraseCookie( 'platbg4' );eraseCookie( 'platbg5' );eraseCookie( 'platbg6' ); eraseCookie('platbg7'); eraseCookie('platbg8'); eraseCookie('platbg9'); $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/111.jpg")'); };
function plat4(){ setCookie('platbg4','1','365'); eraseCookie( 'platbg1' );eraseCookie( 'platbg2' );eraseCookie( 'platbg3' );eraseCookie( 'platbg5' );eraseCookie( 'platbg6' ); eraseCookie('platbg7'); eraseCookie('platbg8'); eraseCookie('platbg9'); $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/1111.jpg")'); };
function plat5(){ setCookie('platbg5','1','365'); eraseCookie( 'platbg1' );eraseCookie( 'platbg2' );eraseCookie( 'platbg3' );eraseCookie( 'platbg4' );eraseCookie( 'platbg6' ); eraseCookie('platbg7'); eraseCookie('platbg8'); eraseCookie('platbg9'); $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/11111.jpg")'); };
function plat6(){ setCookie('platbg6','1','365'); eraseCookie( 'platbg1' );eraseCookie( 'platbg2' );eraseCookie( 'platbg3' );eraseCookie( 'platbg4' );eraseCookie( 'platbg5' ); eraseCookie('platbg7'); eraseCookie('platbg8'); eraseCookie('platbg9'); $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/111111.jpg")'); }; function plat7(){ setCookie('platbg7','1','365'); eraseCookie( 'platbg1' );eraseCookie( 'platbg3' );eraseCookie( 'platbg4' );eraseCookie( 'platbg5' );eraseCookie( 'platbg6' ); eraseCookie('platbg2'); eraseCookie('platbg8'); eraseCookie('platbg9'); $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/1111111.jpg")'); };
function plat8(){ setCookie('platbg8','1','365'); eraseCookie( 'platbg1' );eraseCookie( 'platbg3' );eraseCookie( 'platbg4' );eraseCookie( 'platbg5' );eraseCookie( 'platbg6' ); eraseCookie('platbg2'); eraseCookie('platbg7'); eraseCookie('platbg9'); $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/11111111.jpg")'); }; function plat9(){ setCookie('platbg9','1','365'); eraseCookie( 'platbg1' );eraseCookie( 'platbg3' );eraseCookie( 'platbg4' );eraseCookie( 'platbg5' );eraseCookie( 'platbg6' ); eraseCookie('platbg7'); eraseCookie('platbg8'); eraseCookie('platbg2'); $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/111111111.jpg")'); }; </script> <script src="http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/1.js"></script> <script> if(getCookie('platbg1')) { $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/11.jpg")'); }; if(getCookie( 'platbg2' )) { $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/1.jpg")'); }; if(getCookie( 'platbg3' )) { $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/111.jpg")'); }; if(getCookie( 'platbg4' )) { $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/1111.jpg")'); }; if(getCookie( 'platbg5' )) { $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/11111.jpg")'); }; if(getCookie( 'platbg6' )) { $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/111111.jpg")'); }; if(getCookie( 'platbg7' )) { $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/1111111.jpg")'); }; if(getCookie( 'platbg8' )) { $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/11111111.jpg")'); }; if(getCookie( 'platbg9' )) { $('body').css('background-image', 'url(" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/111111111.jpg")'); }; </script> <div style="display:none;" id="okno1"> <img onclick="plat1()" src=" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/11.jpg " width="130px" height="110px"> <img onclick="plat2()" src=" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/1.jpg " width="130px" height="110px"> <img onclick="plat3()" src=" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/111.jpg " width="130px" height="110px"> <img onclick="plat4()" src=" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/1111.jpg " width="130px" height="120px"> <img onclick="plat5()" src=" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/11111.jpg " width="130px" height="120px"> <img onclick="plat6()" src=" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/111111.jpg " width="130px" height="120px"> <img onclick="plat7()" src=" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/1111111.jpg " width="130px" height="120px"> <img onclick="plat8()" src=" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/11111111.jpg " width="130px" height="120px"> <img onclick="plat9()" src=" http://fierbinte.ucoz.ro/Forum/Aspect/Fundal/111111111.jpg " width="130px" height="120px"> </div>
<a href="javascript://" onclick="okno();"><font size="6">Schimbă fundalul</font></a>
* Imaginile deja le înlocuiți cu cele dorite de dvs.
Rezultatul:
|
|
|
|