Я пытаюсь добавить jquery Cycle slideshow плагин на свою страницу с эффектом перехода «fade». Но все же я не мог заставить его работать.Плагин цикла JQuery не работает
Это мой HTML:
<div class="container">
<div class="slide1">
<blockquote>
<span class="leftquotes">“</span> He promptly completed the task at hand and communicates really well till the project reaches the finishing line. I was pleased with his creative design and will definitely be hiring him again. <span class="rightquotes">„ </span>
</blockquote>
<img src="images/profile.jpg" width="120" height="100" />
<h2>Steve Kruger</h2>
<h6>UI/UX Designer at Woof Design Studio</h6>
<div class="slide1bottom"></div>
</div>
<div class="slide2">
<blockquote>
<span class="leftquotes">“</span> Till the project reaches the finishing line. I recommend him to anyone who wants their work done professionally. project reaches the finishing line. I recommend him to anyone who wants their work done professionally. The project ... <a href="#"> read more</a><span class="rightquotes">„ </span>
</blockquote>
<img src="images/images.jpg" width="120" height="100" />
<h2>John Doe</h2>
<h6>Developer Relations at Woof Studios</h6>
<div class="slide2bottom"></div>
</div>
<div class="slide3">
<blockquote>
<span class="leftquotes "> “</span> He promptly completed the task at hand and communicates really well till the project reaches the finishing line. I was pleased with his creative design and will definitely be hiring him again. <span class="rightquotes">„ </span>
</blockquote>
<img src="images/summer_school.png" width="120" height="100" />
<h2>Steve Stevenson</h2>
<h6>CEO Woof Web Design Studios</h6>
<div class="slide3bottom"></div>
</div>
</div>
Это мой JQuery:
$(function() {
$('#container').cycle();
});
я импортировал JQuery плагин, плагин цикла и ослабление плагин на мою страницу правильно.
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/jquery.color.js"></script>
<script type="text/javascript" src="js/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="jscript/jquery.easing.1.3.js"></script>
Это моя скрипка: http://jsfiddle.net/kRZ5r/
Ой, Большая ошибка. Спасибо. – TNK
Можете ли вы рассказать мне, как я могу управлять временем между двумя слайдами. – TNK
Используйте настройку 'timeout'. Варианты исходного цикла можно найти здесь: http://www.malsup.com/jquery/cycle/options.html и опции Cycle2 можно найти здесь: http://www.malsup.com/jquery/cycle2/api/ @ ТНК – darshanags