Mercurial > hg > digilib-old
comparison client/digitallibrary/dcMenu.html @ 224:b51840f2ff75
new digicat version with only one js file
author | luginbue |
---|---|
date | Fri, 09 Jul 2004 02:15:54 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
223:41de43a00bf8 | 224:b51840f2ff75 |
---|---|
1 <html> | |
2 <head> | |
3 <style type="text/css"> | |
4 .menu1 {position:absolute; top:122; left:41; width:44; height:138; clip:rect(0,44,138,0); visibility:hidden} | |
5 .item1 {position:absolute; left:43; width:40; height:14; clip:rect(0,40,14,0); visibility:hidden} | |
6 | |
7 .text {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; text-decoration: none} | |
8 </style> | |
9 <script language="JavaScript" src="buttons/menu.js"></script> | |
10 <script language="JavaScript"> | |
11 // because on a netscape 4.xx bug (messing up with layers on resize) we cache the window | |
12 // resize event and redisplay the navigation frame | |
13 if (document.layers && !document.getElementById) { | |
14 window.onresize = function() {parent.rightFrame.location.reload();} | |
15 } | |
16 | |
17 function reloadTable(row, col) { | |
18 parent.att[2] = row; | |
19 parent.att[3] = col; | |
20 parent.loadThumbTable(); | |
21 } | |
22 | |
23 // turn off the contexthelp | |
24 var showHelp = false; | |
25 </script> | |
26 </head> | |
27 | |
28 <body bgcolor="#CCCCCC" leftmargin="8" marginwidth="8" topmargin="20" marginheight="20" onload="preloadImages();"> | |
29 <a href="#" onClick="parent.Backpage(); return false;" onmouseover="overButton(0)" onmouseout="awayButton(0)"><img src="buttons/back0.gif" width="73" height="30" border="0"></a><br> | |
30 <a href="#" onClick="parent.Nextpage(); return false;" onmouseover="overButton(1)" onmouseout="awayButton(1)"><img src="buttons/next0.gif" width="73" height="30" border="0"></a><br><br> | |
31 <a href="#" onclick="hideMenu(); showMenu(1); return false;" onmouseover="overButton(2)" onmouseout="awayButton(2)"><img src="buttons/matrix0.gif" width="73" height="30" border="0"></a><br> | |
32 | |
33 <div id="menu1" class="menu1"></div> | |
34 <div id="menu11" class="item1" style="top:124"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(1, 2); return false;" onmouseover="overItem(11)" onmouseout="awayItem(11)">1x2</a></center></div> | |
35 <div id="menu12" class="item1" style="top:139"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(2, 3); return false;" onmouseover="overItem(12)" onmouseout="awayItem(12)">2x3</a></center></div> | |
36 <div id="menu13" class="item1" style="top:154"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(2, 4); return false;" onmouseover="overItem(13)" onmouseout="awayItem(13)">2x4</a></center></div> | |
37 <div id="menu14" class="item1" style="top:169"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 2); return false;" onmouseover="overItem(14)" onmouseout="awayItem(14)">3x2</a></center></div> | |
38 <div id="menu15" class="item1" style="top:184"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 3); return false;" onmouseover="overItem(15)" onmouseout="awayItem(15)">3x3</a></center></div> | |
39 <div id="menu16" class="item1" style="top:199"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 4); return false;" onmouseover="overItem(16)" onmouseout="awayItem(16)">3x4</a></center></div> | |
40 <div id="menu17" class="item1" style="top:214"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 5); return false;" onmouseover="overItem(17)" onmouseout="awayItem(17)">3x5</a></center></div> | |
41 <div id="menu18" class="item1" style="top:229"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(4, 5); return false;" onmouseover="overItem(18)" onmouseout="awayItem(18)">4x5</a></center></div> | |
42 <div id="menu19" class="item1" style="top:244"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(4, 6); return false;" onmouseover="overItem(19)" onmouseout="awayItem(19)">4x6</a></center></div> | |
43 | |
44 <script language="Javascript"> | |
45 // initial background color of the menues (has to be done like this, | |
46 // otherwise menues in ns4 you will have wrong dimensions) | |
47 changeBc("menu1", "#666666"); | |
48 </script> | |
49 </body> | |
50 </html> |