Newer
Older
Digital_Repository / Repositories / Maps / css_map.php
<?php
	list( $start_micro, $start_sec ) = explode( " ", microtime() );
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
        "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="pragma" content="no-cache" />
	<title>Repository hit visualisation using CSS</title>
	<meta name="generator" content="BBEdit 8.2" />
	<script type="text/javascript" src="css_map.js"></script>
</head>
<?php
	echo '<body onload="load('
		. ( ( (float)$start_micro + (float)$start_sec ) * 1000 )
		. ','
		. ( ( isset( $_REQUEST['top'] ) ) ? $_REQUEST['top'] : 10 )
		. ','
		. ( ( isset( $_REQUEST['show'] ) ) ? ( "'" . $_REQUEST['show'] . "'" ) : "'both'" )
		. ','
		. ( ( isset( $_REQUEST['eprint'] ) ) ? ( "'" . $_REQUEST['eprint'] . "'" ) : "''" )
		. ')">';
?>

<h1>Repository hit visualisation using CSS</h1>

<div id="timer">Loading&hellip;</div>

<div id="map" style="background-image:url(map_1024x520.jpg); width:1024px; height:520px; position:absolute; border:1px solid black;"></div>

</body>
</html>