Location: PHPKode > projects > OpenCabling > opencabling/left.php
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<link rel="stylesheet" href="css/opencabling.css" type="text/css"></link>
<?php 
	require_once 'js/functions.js';
?>
<script>

function select(object_id) {

  // Disable bold attribute in the last clicked element
  selobj=document.getElementById('selobject');
  prevobject_id=selobj.value;
  if (prevobject_id!="") {
    oldobj=document.getElementById("obj_"+prevobject_id);
    if (oldobj)
      oldobj.style.fontWeight="normal";
  }

  // Enable bold attribute in the clicked element
  obj=document.getElementById("obj_"+object_id);
  if (obj)
    obj.style.fontWeight="bold";
  
  top.frames["right"].location.href="show_detail.php?object=" + object_id;
  top.frames["bottom"].location.href="show_connection.php?object=" + object_id;

	
}
</script>
</head>
<body>
<div id="0" class="smalltext">
<script>javascript:expand(0)</script>
</div>
<input type=hidden name='selobject' value="" id='selobject'></input>
<input type=hidden name='selconnection' value="" id='selconnection'></input>
</body>
</html>
Return current item: OpenCabling