1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Slideshow 2!</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="author" content="Aeron Glemann (http://www.electricprism.com/aeron/)" />
<link rel="stylesheet" type="text/css" href="css/slideshow.css" media="screen" />
<script type="text/javascript" src="js/mootools.js"></script>
<script type="text/javascript" src="js/slideshow.js"></script>
<script type="text/javascript">
//<![CDATA[
window.addEvent('domready', function(){
// Load your images here
var data = [
// "1.jpg", "2.jpg", "3.jpg"
];
// Initialize the Slideshow instance
var myShow = new Slideshow('show', data, { height: 300, hu: 'images/', width: 400 });
});
//]]>
</script>
</head>
<body>
<div id="show" class="slideshow">
<!-- Add your default image here -->
<img src="" alt="" />
<img src="" alt="" />
</div>
</body>
</html> |
Partager