Mercurial > hg > digilib
annotate xul/content/tree_nav.js @ 288:02d14eac0cb7
Servlet version 1.5.0b -- the beginning of the next generation :-)
- code restructuring to improve scaleability
- new Initialiser servlet that must be run first
- image transformation work moved to DigilibImageWorker class
- Maximum number of concurrent threads limited by Semaphore
- old JIMI toolkit implementation removed
author | robcast |
---|---|
date | Sun, 24 Oct 2004 20:23:49 +0200 |
parents | 49cb8a445126 |
children |
rev | line source |
---|---|
199
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
1 function open_link() |
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
2 { |
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
3 var t=document.getElementById("menu_tree"); //baum in variable t holen |
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
4 var l=t.view.getItemAtIndex(t.currentIndex); //aus baum treeitem herausholen mit dem selected index (currentIndex) |
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
5 var d=l.firstChild.firstChild.getAttribute("link"); //aus treeitem treecell (mit firstChild.firstChild) und dann dort wert von id herausholen (mit getAttribute) |
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
6 if (d!=""){ |
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
7 //alert(d); |
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
8 |
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
9 window.content.location.href="http://pythia2.unibe.ch:8080/docuserver/digitallibrary/digilib.jsp?lv=1&fn="+d; |
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
10 |
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
11 } |
49cb8a445126
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
12 } |