JavaScript Slider
Добавлено: 15 май 2009, 23:31
Пример тут: http://movies.ho-sting.ru/wp-content/te ... lider.html (Работает)
Установка:
1) В <head>:
2) <BODY> меняем на:
3) По месту:
В slider.css не забудьте прописать путь до картинок!
Установка:
1) В <head>:
Код: Выделить всё
<link rel="stylesheet" href="slider.css" type="text/css" />
<script type="text/javascript" src="slider.js"></script>2) <BODY> меняем на:
Код: Выделить всё
<body onload="slider('slider',1)">3) По месту:
Код: Выделить всё
<div id="slider">
<div class="header" id="one-header">Скрипт by Web-Codes.Net</div>
<div class="content" id="one-content">
<div class="text">
Скрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.Net
</div>
</div>
<div class="header" id="two-header">Скрипт by Web-Codes.Net</div>
<div class="content" id="two-content">
<div class="text">
Скрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.Net
</div>
</div>
<div class="header" id="three-header">Скрипт by Web-Codes.Net</div>
<div class="content" id="three-content">
<div class="text">
Скрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.NetСкрипт by Web-Codes.Net
</div>
</div>
</div>
В slider.css не забудьте прописать путь до картинок!


...