Menu forsvinder bag script
Hej!Jeg har en side med en menu, hvor man bl.a. kan se billeder. Problemer er at undermenuerne forsvinder bag billederne. Billedgallerierne er lavet ved hjælp af programmet Juicebox.
Hvordan får man menuen til altid at lægge øverst?
Kode for billedgalleriet:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Juicebox Gallery</title>
<meta charset="utf-8" />
<meta name="viewport" id="jb-viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1, user-scalable=0" />
<meta name="description" content="" />
<!-- START OPEN GRAPH TAGS-->
<meta property="og:title" content="Juicebox Gallery" />
<meta property="og:type" content="website" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />
<meta property="og:description" content="" />
<!-- END OPEN GRAPH TAGS-->
<style type="text/css">
body {
margin: 0px;
}
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><h2 class="h2center">Juni 2015</h2></td>
</tr>
<tr>
<td align="center">
<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
new juicebox({
containerId: 'juicebox-container',
galleryWidth: '70%',
galleryHeight: '93%',
backgroundColor: 'FFFFFF'
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->
</td>
</tr>
</table>
</body>
</html>
Kode for menuen:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link href="/banesiden/SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<link href="/banesiden/Css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link href="/banesiden/Css/menu.css" rel="stylesheet" type="text/css">
<script src="/banesiden/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<style type="text/css">
#apDiv2 {
position:absolute;
width:206px;
height:200px;
z-index:1;
overflow: auto;
border: 1px solid #7D0000;
top: 30%;
}
</style>
</head>
<body>
<div id="menu">
<table height="100%" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="82" valign="top"><a href="/banesiden/index.php"><img src="/banesiden/Gif/banesiden_lille.gif" width="220" height="66" border="0" /></a></td>
</tr>
<tr>
<td valign="top">
<div id="cssmenu">
<ul>
<li class="has-sub"><a href="#">Billeder</a>
<ul>
<li class="has-sub"><a href="#">2012</a>
<ul>
<li><a href="/banesiden/Billeder/12-2012/12-2012.php">December 2012</a></li>
</ul>
</li>
<li class="has-sub"><a href="#">2013</a>
<ul>
<li><a href="/banesiden/Billeder/2013-03-04/2013-03-04.php">Marts-April 2013</a></li>
<li><a href="/banesiden/Billeder/2013-04-1/2013-04-1.php">April 2013 – 1</a></li>
<li><a href="/banesiden/Billeder/2013-04-2/2013-04-2.php">April 2013 – 2</a></li>
<li><a href="/banesiden/Billeder/2013-05/2013-05.php">Maj 2013</a></li>
<li><a href="/banesiden/Billeder/2013-07-1/2013-07-1.php">Juli 2013 – 1</a></li>
</ul>
</li>
<li class="has-sub"><a href="#">2014</a>
<ul>
<li><a href="/banesiden/Billeder/2014-07-1/2014-07-1.php">Juli 2014 – 1</a></li>
<li><a href="/banesiden/Billeder/2014-07-2/2014-07-2.php">Juli 2014 – 2</a></li>
<li><a href="/banesiden/Billeder/2014-08-1/2014-08-1.php">August 2014 – 1</a></li>
<li><a href="/banesiden/Billeder/2014-08-2/2014-08-2.php">August 2014 – 2</a></li>
<li><a href="/banesiden/Billeder/2014-09-1/2014-09-1.php">September 2014 – 1</a></li>
<li><a href="/banesiden/Billeder/2014-09-2/2014-09-2.php">September 2014 – 2</a></li>
<li><a href="/banesiden/Billeder/2014-09-3/2014-09-3.php">September 2014 – 3</a></li>
<li><a href="/banesiden/Billeder/2014-12-1/2014-12-1.php">December 2014</a></li>
</ul>
</li>
<li class="has-sub"><a href="#">2015</a>
<ul>
<li><a href="/banesiden/Billeder/2015-01-1/2015-01-1.php">Januar 2015</a></li>
<li><a href="#">April 2015 – 1</a></li>
<li><a href="/banesiden/Billeder/2015-04-1/2015-04-1.php">April 2015 – 1</a></li>
<li><a href="/banesiden/Billeder/2015-04-2/2015-04-2.php">April 2015 – 2</a></li>
<li><a href="/banesiden/Billeder/2015-04-3/2015-04-3.php">April 2015 – 3</a></li>
<li><a href="/banesiden/Billeder/2015-04-4/2015-04-4.php">April 2015 – 4</a></li>
<li><a href="/banesiden/Billeder/2015-05-1/2015-05-1.php">Maj 2015</a></li>
<li><a href="/banesiden/Billeder/2015-06-1/2015-06-1.php">Juni 2015</a></li>
<li><a href="/banesiden/Billeder/2015-07-1/2015-07-1.php">Juli 2015 – 1</a></li>
</ul>
</li>
<li><a href="#">2016</a></li>
</ul>
</li>
<li><a href="/banesiden/Nyheder/nyheder.php">Nyheder</a></li>
<li><a href="/banesiden/Forkortelser/station.php">Forkortelser</a></li>
</ul>
</div>
</td>
</tr>
<tr>
<td valign="middle"><table width="220" cellpadding="2" cellspacing="2" bgcolor="#7D0000"">
<tr>
<td align="center"><strong><font color="#FFFFFF" class="ellevept">Opdateringer</font></strong></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF"><div class="scroll">
</td>
</tr>
<tr>
<td valign="bottom"><table width="220" cellpadding="2" cellspacing="2" bgcolor="#7D0000" class="nyhedsbrev">
<tr>
<td align="center" class="ellevept"><strong><font color="#FFFFFF">Modtag nyhedsbrev</font></strong></td>
</tr>
<tr>
<td height="50%" align="center" bgcolor="#FFFFFF"><form target="_blank" style="display:inline;" method="post" action="http://www.yourmailinglistprovider.com/subscribe.php?JohnsJernbaneside">
<table border="0">
<tr>
<td align="center"><b class="ellevept"> Fulde navn:</b><font size="1"><b><br />
<input type="text" name="YMP[0]" size="18" maxlength="50" class="border" />
<br />
<br />
</b></font></td>
</tr>
<tr>
<td align="center"><span class="ellevept"><b>E-mail:</b></span><b><br />
<input type="text" name="YMP[1]" size="18" maxlength="50" class="border" />
<br />
</b></td>
</tr>
<tr>
<td align="center"><font size="2"><b>
<input name="submit" type="submit" class="send" value="Send" />
</b></font></td>
</tr>
<tr>
<td height="20" align="center"><a href="http://www.yourmailinglistprovider.com/unsubscribe.php?JohnsJernbaneside" target="_blank" class="ellevept">Afmeld dig her</a></td>
</tr>
<tr>
<td height="20" align="center"><a href="http://www.yourmailinglistprovider.com/" target="_blank" class="ellevept">En Service fra YMLP</a></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table>
</div>
</body>
</html>