скрипты
|
|
gali-23rus | Дата: Вторник, 06.03.2012, 12:25 | Сообщение # 16 |
 Профи-ветеран
Группа: Администраторы
Сообщений: 4455
| СПС Пойду думать
ПОМОЩЬ ПОЛЬЗОВАТЕЛЯМ
|
|
| |
gali-23rus | Дата: Вторник, 06.03.2012, 13:27 | Сообщение # 17 |
 Профи-ветеран
Группа: Администраторы
Сообщений: 4455
| При таком коде ссылки могут моргать всеми цветами радуги)))) Code <style type="text/css"> a{color:#FF00CC; text-decoration:none; } body {font-size:12px; font-family:verdana;} </style><!--fantasyflash.ru--> <link href="http://fantasyflash.ru/script/web/image/style.css" type=text/css rel=stylesheet>
ПОМОЩЬ ПОЛЬЗОВАТЕЛЯМ
|
|
| |
gali-23rus | Дата: Вторник, 06.03.2012, 14:09 | Сообщение # 18 |
 Профи-ветеран
Группа: Администраторы
Сообщений: 4455
| nen
ПОМОЩЬ ПОЛЬЗОВАТЕЛЯМ
|
|
| |
gali-23rus | Дата: Вторник, 06.03.2012, 15:10 | Сообщение # 19 |
 Профи-ветеран
Группа: Администраторы
Сообщений: 4455
| 1 2 3 4 5
| <style type="text/css" > a{color:#FF00CC; text-decoration:none; } body {font-size:12px; font-family:verdana;} </style ><!--fantasyflash.ru-- > <link href="http://fantasyflash.ru/script/web/image/style.css" type=text/css rel=stylesheet > |
|
ПОМОЩЬ ПОЛЬЗОВАТЕЛЯМ
|
|
| |
gali-23rus | Дата: Вторник, 06.03.2012, 15:11 | Сообщение # 20 |
 Профи-ветеран
Группа: Администраторы
Сообщений: 4455
| Это я опробовала генератор подсветки кода http://redactor-online.ru/code_highlights.php#rhlc
код из Сообщение # 18 , только так удачно подсвечен, что читается удобно и выглядит красиво!
ПОМОЩЬ ПОЛЬЗОВАТЕЛЯМ
|
|
| |
gali-23rus | Дата: Вторник, 06.03.2012, 15:48 | Сообщение # 21 |
 Профи-ветеран
Группа: Администраторы
Сообщений: 4455
| Код баннера со ссылкой на странмцу сайта | 1 2 3
| <a href="http://experiment12.ucoz.ru/forum/44-142-1" target="_self" > <img src="http://experiment12.ucoz.ru/img/fon3.gif" alt="Конкурс ПРОДОЛЖАЕТСЯ!!!" title="Конкурс ПРОДОЛЖАЕТСЯ!!!" border="0" ></a > |
|
ПОМОЩЬ ПОЛЬЗОВАТЕЛЯМ
|
|
| |
gali-23rus | Дата: Вторник, 06.03.2012, 17:57 | Сообщение # 22 |
 Профи-ветеран
Группа: Администраторы
Сообщений: 4455
| НОВЫЙ БАННЕР К КОНКУРСУ "ВЕСЕННЕЕ НАСТРОЕНИЕ" | 1 2 3
| <a href="http://experiment12.ucoz.ru/forum/31-150-1" target="_self" > <img src="http://experiment12.ucoz.ru/_fr/0/8945978.jpg" alt="ВЕСНА! ВЕСНА!!!" title="ВЕСНА! ВЕСНА!!!" border="0" ></a > |
|
ПОМОЩЬ ПОЛЬЗОВАТЕЛЯМ
|
|
| |
gali-23rus | Дата: Пятница, 09.03.2012, 13:19 | Сообщение # 23 |
 Профи-ветеран
Группа: Администраторы
Сообщений: 4455
| Убрала скрипт с бабочками , тормозит сайт на медленных соединениях Дублирую на всяк слу Code <script type="text/javascript"> /*PRELEVATO DA NOTTE STELLATA - http://nottestellata.altervista.org */ //Configure below to change URL path to the snow image var snowsrc="http://fantasyflash.ru/anime/butterfly/image/butterfly34.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>
ПОМОЩЬ ПОЛЬЗОВАТЕЛЯМ
|
|
| |
gali-23rus | Дата: Вторник, 29.01.2013, 13:54 | Сообщение # 24 |
 Профи-ветеран
Группа: Администраторы
Сообщений: 4455
| Пора подобрать скрипт с маленькими сердечками вместо снега. к празднику ближайшему
ПОМОЩЬ ПОЛЬЗОВАТЕЛЯМ
|
|
| |
gali-23rus | Дата: Среда, 06.02.2013, 21:18 | Сообщение # 25 |
 Профи-ветеран
Группа: Администраторы
Сообщений: 4455
| Наташ. посмотри на этот скрипт, если чистый , то попробуй плиз заменить им снег Код <SCRIPT LANGUAGE="JavaScript1.2"> <!-- Оригинал: Altan (snow@altan.hr) --> <!-- WWW: http://www.altan.hr/snow --> <!-- Begin var no = 12; // number of hearts var speed = 10; // smaller number moves the hearts faster var heart = "img/heart.gif";// Адрес рисунка var flag; var ns4up = (document.layers) ? 1 : 0; // browser sniffer var ie4up = (document.all) ? 1 : 0;
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 (ns4up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx = new Array(); xp = new Array(); yp = new Array(); amx = new Array(); amy = new Array(); stx = new Array(); sty = new Array(); flag = new Array(); for (i = 0; i < no; ++ i) { dx [i]= 0; // set coordinate variables xp [i]= Math.random()*(doc_width-30)+10; // set position variables yp [i]= Math.random()*doc_height; amy [i]= 12+ Math.random()*20; // set amplitude variables amx [i]= 10+ Math.random()*40; stx [i]= 0.02 + Math.random()/10; // set step variables sty [i]= 0.7 + Math.random(); // set step variables flag [i]= (Math.random()>0.5)?1:0; if (ns4up) { // set layers if (i == 0) { document.write("<layer name="dot"+ i +"" left="15" "); document.write("top="15" visibility="show"><img src=""); document.write(heart+ "" border="0"></layer>"); } else { document.write("<layer name="dot"+ i +"" left="15" "); document.write("top="15" visibility="show"><img src=""); document.write(heart+ "" border="0"></layer>"); } } else if (ie4up) { if (i == 0) { document.write("<div id="dot"+ i +"" style="POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;"><img src=""); document.write(heart+ "" border="0"></div>"); } else { document.write("<div id="dot"+ i +"" style="POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;"><img src=""); document.write(heart+ "" border="0"></div>"); } } }
function snowNS() { // Netscape main animation function for (i = 0; i < no; ++ i) { // iterate for every dot if (yp [i]> doc_height-50) { xp [i]= 10+ Math.random()*(doc_width-amx[i]-30); yp [i]= 0; flag[i]=(Math.random()<0.5)?1:0; stx [i]= 0.02 + Math.random()/10; sty [i]= 0.7 + Math.random(); doc_width = self.innerWidth; doc_height = self.innerHeight; } if (flag[i]) dx [i]+= stx[i]; else dx [i]-= stx[i]; if (Math.abs(dx[i]) > Math.PI) { yp[i]+=Math.abs(amy[i]*dx[i]); xp[i]+=amx[i]*dx[i]; dx[i]=0; flag[i]=!flag[i]; } document.layers["dot"+i].top = yp [i]+ amy[i]*(Math.abs(Math.sin(dx[i])+dx[i])); document.layers["dot"+i].left = xp [i]+ amx[i]*dx[i];
} setTimeout("snowNS()", speed); }
function snowIE() { // IE main animation function for (i = 0; i < no; ++ i) { // iterate for every dot if (yp [i]> doc_height-50) { xp [i]= 10+ Math.random()*(doc_width-amx[i]-30); yp [i]= 0; stx [i]= 0.02 + Math.random()/10; sty [i]= 0.7 + Math.random(); flag[i]=(Math.random()<0.5)?1:0; doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } if (flag[i]) dx [i]+= stx[i]; else dx [i]-= stx[i]; if (Math.abs(dx[i]) > Math.PI) { yp[i]+=Math.abs(amy[i]*dx[i]); xp[i]+=amx[i]*dx[i]; dx[i]=0; flag[i]=!flag[i]; }
document.all["dot"+i].style.pixelTop = yp [i]+ amy[i]*(Math.abs(Math.sin(dx[i])+dx[i])); document.all["dot"+i].style.pixelLeft = xp [i]+ amx[i]*dx[i]; } setTimeout("snowIE()", speed); }
if (ns4up) { snowNS(); } else if (ie4up) { snowIE(); } // End --> </script>
Вот ещё ссыль на скачивание , но чёт доверия не вызывает , там на странице сидит зараза
ПОМОЩЬ ПОЛЬЗОВАТЕЛЯМ
|
|
| |
Fenix | Дата: Суббота, 09.02.2013, 18:35 | Сообщение # 26 |
 Наш Человек
Группа: Администраторы
Сообщений: 691
| ага
Цитата (gali-23rus) Вот ещё ссыль на скачивание , но чёт доверия не вызывает , там на странице сидит зараза уже видела сама напоролось на подобное
|
|
| |
Fenix | Дата: Понедельник, 20.05.2013, 14:53 | Сообщение # 27 |
 Наш Человек
Группа: Администраторы
Сообщений: 691
| переводчик Код <div id="google_translate_element"></div> <script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'ru', multilanguagePage: true }, 'google_translate_element'); $('#google_translate_element div div select').attr({style:"width:100%"});//ширина селекта $('#google_translate_element div').attr({style:"color:rgb(255, 0, 0)"});//цвет слова "Технологии" $('#google_translate_element div span a').attr({style:"color:rgb(0, 0, 255)"});//цвет слова "Перевод" } </script> <script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
|
|
| |