Last active
December 23, 2015 23:29
-
-
Save likr/6710389 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<link rel="stylesheet" href="bgstretcher.css" /> | |
<script type="text/javascript" src="jquery-1.6.1.js"></script> | |
<script type="text/javascript" src="bgstretcher.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
var iter = 0; | |
var images = ['images/白い画像.jpg', 'images/sample-2.jpg']; | |
$('BODY').bgStretcher({ | |
images: images, imageWidth: 1024, imageHeight: 768, | |
slideShowSpeed: 1000, | |
sequenceMode: 'normal', | |
callbackfunction: function () { | |
if (++iter == images.length - 1) { | |
$('body').bgStretcher.pause(); | |
} | |
} | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
テキスト(省略) | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment