+7 (911) 913-40---
menu
person
[ Обновленные темы · Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Обо всём » Собираем скрипты » Маленький слайдер (Подойдёт как иннформационный)
Маленький слайдер
GoДата: Понедельник, 26.05.2014, 15:26 | Сообщение # 1
Сержант
Группа: Проверенные
Сообщений: 32
Награды: 0
Репутация: 0
Статус: Offline

Код
<Style>
      A:Link{ Color: #000000; Text-decoration: underline}
      A:Visited{ Color: #000000; Text-decoration: underline}
      A:Hover{ Color: #000000; Text-decoration: none}
    td, body {font-family: verdana, arial, helvetica; font-size:11px;}     
    </Style>

<!-- HEAD START HERE -->

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'http://www.novickiy.ru/_ph/2/2/720755118.jpg'
Pic[1] = 'http://www.novickiy.ru/_ph/2/2/308060875.jpg'
Pic[2] = 'http://www.novickiy.ru/_ph/2/2/188720830.jpg'
Pic[3] = 'http://www.novickiy.ru/_ph/2/2/30361598.jpg'
Pic[4] = 'http://www.novickiy.ru/_ph/2/2/823518623.jpg'

// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad [i]= new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
//  End -->
</script>

<body bgcolor="#EDEDED" text="#000000" link="#000000" topmargin="0" leftmargin="0" onLoad="runSlideShow()">
<center>

<!-- BODY START HERE -->

<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="VU" height=150 width=150>
<img src="1.jpg" name='SlideShow' width=150 height=150>
</td>
</tr>
</table>

<!-- BODY END HERE -->

<p> </p>
<p align="center"> </p>
<div align="center">
     <center>
<table border="0" cellspacing="0" cellpadding="0">
     <tr>
       <td width="100%">
         <p align="center"><!--#exec cgi="/cgi-bin/inside/ads/ads.cgi" -->
         </td>
     </tr>
</table>

     </center>
</div>

ПОСМОТРЕТЬ
 
Форум » Обо всём » Собираем скрипты » Маленький слайдер (Подойдёт как иннформационный)
  • Страница 1 из 1
  • 1
Поиск: