Location: PHPKode > projects > JavaScript PHP Window Manager > jpwm0.32/php/starter.php
<?php
	function starter($top = 0, $left = 0)
	{
		$ret .= '<div id="starter" class="starter" style="top:'.$top.';left:'.$left.';">'.createstarters().'</div>' . "\n";
		$ret .= '<script type="text/javascript">' . "\n";
		$ret .= '<!--' . "\n";$ret .= '';
		$ret .= 'ADD_DHTML("starter'.$this->id.'"+CURSOR_MOVE);' . "\n";
		$ret .= '-->' . "\n";
		$ret .= '</script>' . "\n";

		echo $ret;
	}
	function createstarters()
	{
		global $starter;
		$ret .= '<div id="clock" class="clock"></div>&nbsp;<span class="bold">jpwm</span>&nbsp;'. $starter;
		return $ret;
	}
?>
Return current item: JavaScript PHP Window Manager