.clear
		{
			clear:both;
		}
		#eventlog
		{
			overflow:auto;
			overflow-x:hidden;
			height : 150px;
			width : 280px;
		}	
	</style>

	<div class="box">
		<?php 
echo $km->Render();
?>
		
	</div>
	<div class="box focus">
		<b>Client-side events:  </b><hr/>
		<div id="eventlog"></div>		
	</div>
	<div class="clear"></div>
		
	<script type="text/javascript">
		km.registerEvent("OnBeforeItemSelect",function(sender,arg){
			
			if (confirm("Select ["+arg.ItemId+"] item?"))
			{
				writelog("Selecting " + arg.ItemId + " was approved");	
Exemple #2
0
		}
		.clear
		{
			clear:both;
		}
		#eventlog
		{
			overflow:auto;
			overflow-x:hidden;
			height : 150px;
			width : 280px;
		}	
	</style>

	<div class="box">
		<?php echo $km->Render();?>		
	</div>
	<div class="box focus">
		<b>Client-side events:  </b><hr/>
		<div id="eventlog"></div>		
	</div>
	<div class="clear"></div>
		
	<script type="text/javascript">
		km.registerEvent("OnBeforeItemSelect",function(sender,arg){
			
			if (confirm("Select ["+arg.ItemId+"] item?"))
			{
				writelog("Selecting " + arg.ItemId + " was approved");	
				return true;
			}