Achja und würdest du mir vielleicht nochmal sagen welchen Teil und wohin ich den Code für das wechselnde Startbild hinsetze?
Schöne Grüsse, Sandro
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
#banner {
height:100px;
border:1px solid #000;
background:#ffffcc url(images/pmoblogob.jpg) no-repeat center center;
}
</style>
<script type="text/javascript">
<!--
if (document.getElementById) { window.onload = swap };
function swap() {
var numimages=7;
rndimg = new Array("http://www.tutorials.de/forum/images/screen2col1.gif", "http://www.tutorials.de/forum/images/screen2col2.gif", "http://www.tutorials.de/forum/images/screen2col3.gif", "http://www.tutorials.de/forum/images/screen2col4.gif", "http://www.tutorials.de/forum/images/screen2col5.gif", "http://www.tutorials.de/forum/images/screen2col6.gif", "http://www.tutorials.de/forum/images/pmoblogoa.jpg");
x=(Math.floor(Math.random()*numimages));
randomimage=(rndimg[x]);
document.getElementById("banner").style.backgroundImage = "url("+ randomimage +")";
}
//-->
</script>
</head>
<body >
<div id="banner"></div>
</body>
</h