
Slideshow pomocí jQuery nefunguje
Chtěl jsem jednoduchý slideshow, ale zobrazí se mi jen tři obrázky vedle sebe. Prostě to nějak neumím.
Kde dělám chybu?
Předem moc dík, za nakopnutí správným směrem.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<title></title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.slideshow').cycle({
fx: 'fade'
});
});
</script>
</head>
<body>
<div class="slideshow">
<img src="stojan1.png" alt="stojan1" />
<img src="stojan2.png" alt="stojan2" />
<img src="stojan3.png" alt="stojan3" />
</div>
</body>
</html>