Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
<?php
$verz = "zufall"; // Das Verzeichnis wo die Bilder drin sind
$end = "jpg"; // Die Endung der Bilder
$max = "9"; // Anzahl Bilder
$bildis = rand(1,$max);
echo "<img src=\"$verz/$bildis.$end\">";
?>
<script>
bilder = new Array("bild1.jpg","bild2.jpg","bild3.jpg","bild4.jpg","bild5.jpg","bild6.jpg");
function zufall()
{
document.bild.src=bilder[Math.floor(Math.random()*bilder.length)];
setTimeout("zufall()",3000);
}
</script>
...........
<body>
<img src=bild1.jpg name=bild>
</body>