view xul/content/tree_nav.js @ 487:39a8844ac7d4

new servlet version 1.7.0b - changed semaphore code to use Java 1.5 - changed digilib worker to do write the output outside the semaphore
author robcast
date Thu, 02 Aug 2007 19:22:47 +0200
parents 49cb8a445126
children
line wrap: on
line source

function open_link()
{
var t=document.getElementById("menu_tree");    //baum in variable t holen
var l=t.view.getItemAtIndex(t.currentIndex);	        //aus baum treeitem herausholen mit dem selected index (currentIndex)
var d=l.firstChild.firstChild.getAttribute("link");       //aus treeitem treecell (mit firstChild.firstChild) und dann dort wert von id herausholen (mit getAttribute)
if (d!=""){
  //alert(d);

     window.content.location.href="http://pythia2.unibe.ch:8080/docuserver/digitallibrary/digilib.jsp?lv=1&fn="+d;
  
}
}