Nieuw lid |
|
Ja dat heb k gedaan maar nog steeds niet een andere achtergrond helemaal geen laat staan steeds andere. Script is nu:
<html>
<head>
</head>
<body>
<script type="text/javascript">
bg_items = new Array(
'bg_right.jpg',
'bg_right1.jpg',
'bg_right2.jpg',
'bg_right3.jpg',
);
function bg_set()
{
bg_random = Math.round(Math.random() * (bg_items.length - 1));
document.body.background = bg_items[bg_random];
}
bg_set();
</script>
</body>
</html>
<html> <head> </head> <body> <script type="text/javascript"> 'bg_right.jpg', 'bg_right1.jpg', 'bg_right2.jpg', 'bg_right3.jpg', ); function bg_set() { bg_random = Math .round(Math .random () * (bg_items .length - 1)); document.body.background = bg_items[bg_random]; } bg_set(); </script> </body> </html>
|