Comunitatea uCoz Configurări ale sistemului uCoz Configurarea design-ului Am un script ! (Trebuie editat putin !) |
Am un script ! |
Sall am si eu scriptul aceasta de cautare ...
Cine mi-l poate modifica si mie ? Cod <div startcont="this" id="poisk" style="display:none;"> <div style="font-weight: normal; font-style: normal; text-decoration: none; color: rgb(50, 205, 50); letter-spacing: 0pt; background-color: rgb(0, 0, 0);" align="center"><fieldset><legend><span style="color: rgb(255, 165, 0);">Cum să utilizaţi:</span></legend><span style="font-weight: bold;"></span><span style="font-size: 8pt;"><span style="font-size: 8pt;"><span style="color: rgb(50, 205, 50); font-size: 8pt;"><br></span></span></span><span style="font-size: 8pt;"><span style="font-size: 8pt;"><span style="font-size: 10pt;"><span style="font-size: 10pt; font-weight: bold;"><span style="font-size: 10pt;"><span style="font-size: 10pt; color: rgb(50, 205, 50); font-weight: bold;"><span style="color: rgb(255, 0, 0); font-size: 10pt; font-weight: bold;"><span style="font-size: 10pt; color: rgb(50, 205, 50);"><span style="color: rgb(50, 205, 50); font-size: 10pt;">1. "Căutarea", trebuie să conţină cel puţin un cuvânt. </span></span><br><br></span></span></span><span style="color: rgb(30, 144, 255); font-size: 10pt;"><span style="color: rgb(50, 205, 50); font-size: 10pt;"><span style="font-size: 10pt;"><span style="font-size: 10pt; font-weight: bold;">2.Pentru a căuta click pe "imaginea cu cauta" de mai jos.</span></span><br></span></span></span></span><br></span><span style="font-weight: bold; color: rgb(30, 144, 255); font-size: 8pt;"><span style="color: rgb(255, 0, 0); font-size: 8pt;"><span style="font-size: 8pt; font-weight: bold;"><span style="font-size: 8pt; font-weight: bold;"><span style="color: rgb(50, 205, 50); font-size: 8pt; font-weight: normal; font-style: normal; text-decoration: none; letter-spacing: 0pt; border: medium none;"><span style="font-weight: bold; font-size: 8pt;"></span></span></span></span></span></span></span></fieldset></div> <div style="background-color: rgb(0, 0, 0);" align="center"><fieldset><div><legend><span style="font-weight: bold; color: rgb(255, 165, 0);"><span style="font-size: 14pt; color: rgb(50, 205, 50);"><span style="font-size: 14pt; color: rgb(50, 205, 50); font-weight: bold;"><span style="color: rgb(50, 205, 50); font-size: 14pt; font-weight: bold;">Caută pe site:</span></span></span><br><br></span></legend><input value="" maxlength="" size="27" name="text1" style="width: 243px; font-weight: normal; font-style: normal; text-decoration: none; color: rgb(50, 205, 50); background-color: rgb(0, 0, 0); letter-spacing: 0pt;" val="" id="zapros" type="text"><br><br style="font-weight: normal; font-style: normal; text-decoration: none; background-color: rgb(0, 0, 0); letter-spacing: 0pt;"><div style="padding-top:2px;padding-left:2px;"><img alt="" src="http://testebb.ucoz.ro/Fis_Gen_Site/Cautare_AJAx/buton_cauta.png" onclick="gop();" height="25"><br></div></div> </fieldset><fieldset><legend><span style="color: rgb(255, 165, 0);">Rezultatul:</span></legend><div id="rez" style=""><span style="font-weight: bold; color: rgb(30, 144, 255);"><br><span style="color: rgb(255, 0, 0);"><span style="font-size: 12pt; font-weight: bold;"><span style="font-size: 12pt;"><span style="color: rgb(50, 205, 50); font-size: 12pt; font-weight: normal; font-style: normal; text-decoration: none; letter-spacing: 0pt; border: medium none;"><br><br><br></span></span></span></span></span><span style="font-size: 10pt;"><span style="font-size: 10pt; font-weight: bold;"><span style="font-weight: bold; color: rgb(30, 144, 255); font-size: 10pt;"><span style="color: rgb(255, 0, 0); font-size: 10pt;"><span style="font-size: 10pt; font-weight: bold;"><span style="font-size: 10pt; font-weight: bold;"><span style="color: rgb(50, 205, 50); font-size: 10pt; font-weight: normal; font-style: normal; text-decoration: none; letter-spacing: 0pt; border: medium none;"><span style="font-weight: bold; font-size: 10pt;">4.Pentru a începe, tastaţi un cuvânt sau o expresie de căutare, apoi apăsaţi pe imagine cauta altfel nu veti cauta.</span></span></span></span></span><span style="color: rgb(50, 205, 50); font-weight: bold; font-size: 10pt; font-style: normal; text-decoration: none;"><span style="font-size: 10pt; font-weight: bold; font-style: normal; text-decoration: none; color: rgb(50, 205, 50);"><span style="font-size: 10pt; font-weight: bold; font-style: normal; text-decoration: none; color: rgb(50, 205, 50); letter-spacing: 0pt;"><span style="color: rgb(50, 205, 50); font-size: 10pt; font-weight: bold; font-style: normal; text-decoration: none; letter-spacing: 0pt; border: medium none;"></span></span></span></span><span style="color: rgb(255, 0, 0); font-size: 10pt;"><span style="font-size: 10pt; font-weight: bold;"><br></span></span></span></span></span><br style="font-weight: normal; font-style: normal; text-decoration: none; background-color: rgb(0, 0, 0); letter-spacing: 0pt; color: rgb(255, 0, 0); border: medium none rgb(0, 0, 0);"></div></fieldset></div> </div> <script type="text/javascript"> // by Yonutz-Filme Online 2012-Subtitrate function poisk() { new _uWnd('sers','Caută pe site',0,0,{autosize: 1,modal: 0,align:'left'},$('#poisk').html()); }; function gop(){ if ($('#zapros').val() == '') { $('#rez').html('Campul de "Căutare" nu poate fi gol.'); _uWnd.alert('<b style="color:yellow;font-size:18px;">Eroare: campul de "Căutare" nu poate fi gol.</b>','Rezultatul',{w: 650,h: 150,t: 8000}); } else { var text_s = $('#zapros').val(); $('#rez').html('<img src="http://testebb.ucoz.ro/Fis_Gen_Site/Cautare_AJAx/i2.gif" style="padding:3px;">interogare de prelucrare.') $.get('/search/?q=' +text_s+'&m=site&m=news&m=blog&m=publ&m=load&m=photo&m=gb&m=forum&t=0', function (poi){ var zap = $('#body_get',poi).text(); if(zap == 'La cererea dumneavoastra nu se potrivesc urmatoarele cuvinte.') { $('#rez').html('La cererea dvs. <b>'+text_s+'</b> nici un rezultat, modifica cautarea şi încercaţi din nou.'); } else { $('#rez').html(''); $('.eTitle:lt(15)', poi).each(function () { $('#rez').append('<div class="diz_ok"><ul><li>'+$(this).html()+'</li></ul></div>'); });};});}}; </script><span style="font-weight: bold; font-size: 10pt;"> <span style="font-size: 10pt; font-weight: bold;"><a href="#" onclick="poisk();">Cauta pe site<br></a></span></span> Material modificat de HakTar123 - Marţi, 04/06/2013, 10:22 AM
|
| |||