HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/komma-mediadesign.nl/wwwroot/oude root folder/voorpeter/scroll.php
<?php

	$foto_nummer = mt_rand(1,4);

?>

<html>


<head>

<script type="text/javascript" src="jquery-1.5.1.min.js"> </script>
<script type="text/javascript" src="jquery.ba-dotimeout.min.js"> </script>

<script type="text/javascript">

$(document).ready(function(){
	
	$(document).scrollLeft(250)
	
	$("#homeFoto img.image1").fadeIn('slow', fotoRotate());
	
/*		$("#homeFoto img.image1").load( $("#homeFoto img.image1").fadeIn('slow', fotoRotate()));
	
	$('<img />').load( function(){
  console.log('loaded');
}).attr('src', imgUrl);
	*/
	
	function fotoRotate(){
		$.doTimeout( 4000, function(){
			$("#homeFoto img.image1").fadeOut('slow');
			$("#homeFoto img.image2").fadeIn('slow');
			verwijzing();
		});
	}
	
	
	function verwijzing(){
		$.doTimeout( 4000, function(){
		
		});
	}
	

});
</script>

<style type="text/css">

#homeFoto{
	margin: 50px auto;
	position:relative;
	width:800px;
	height:600px;
	overflow:hidden;
}
#homeFoto img{
	position:absolute;
	top:0;
	left:0;
	display:none;
}


</style>

</head>

<body>

	<div id="homeFoto">

        <img class="image1" src="800x600px_<?php echo($foto_nummer); ?>a.jpg"  />
        <img class="image2" src="800x600px_<?php echo($foto_nummer); ?>b.jpg"  />

	</div>

</body>


</html>