<style type="text/css">
- banner {
width: 670px; height: 140px; background-image: url(http://minecraftwikinetwork.yolasite.com/resources/mc-banner.png); padding-right: 100px; background-repeat: no-repeat;
}
- blah {
position: absolute;
margin-left: 569px; margin-top: 20px; width: 331px; height: 116px;
}
- mc {
clear: both; position: absolute; margin-left: 300px; margin-top: 20px; width: 331px; height: 116px; text-align: center;
}
- mc img{
height: 116px; padding: 0; top: 0px;
}
</style>
<script src="http://splashjquery.googlecode.com/files/jquery.js"></script>
<script>
$(window).load(function() {
var images = ['Server.png', 'Red.png', 'Japan.png', 'Nuts.png', 'Gordon.png', 'Bad_password.png', 'Create.png', 'Keyboard_compatible.png', 'Random_splash.png', 'Swords_for_everyone.png', 'Technically_good.png', 'Ultimate_edition.png', 'We_heart_minecraft.png', 'Were_a_wiki.png'];
$('
').appendTo('#mc');
var $img = $('#mc img'),
scale = 0.9, h = $img.height(), sh = h * scale;
function scaleUp($elt) {
$elt.animate({ height: sh, duration: 5 }, function() { scaleDown($elt); });
}
function scaleDown($elt) {
$elt.animate({ height: h, duration: 5 }, function() { scaleUp($elt); });
}
scaleUp($img); }); </script> <body>
</body>