Archived
1
0
Fork 0

use list for gallery menu (fixes #42)

This commit is contained in:
Jan Dittberner 2009-07-10 21:12:59 +00:00
parent 7a00edd2f5
commit a5b5e6002a
2 changed files with 11 additions and 8 deletions

View file

@ -137,6 +137,8 @@ a:active {
}
#menu {
list-style:none;
display:inline;
position:absolute;
width:330px;
height:14px;
@ -144,6 +146,7 @@ a:active {
top: 553px;
margin-top:2px;
z-index:10;
padding:0;
}
#sub_menu {

View file

@ -4,7 +4,9 @@
* die Ausgabe im Browser.
*
* @author Jan Dittberner <jan@dittberner.info>, Jeremias Arnstadt
* <douth024@googlemail.com> @version \$Id$
* <douth024@googlemail.com>
*
* @version \$Id$
*
* Copyright (c) 2008, 2009 Jan Dittberner
* Jan Dittberner IT-Consulting & -Solutions
@ -84,14 +86,12 @@ a:active {
<!-- container -->
<div id="container">
<div id="content">
<div id="menu"><?php
<ul id="menu"><?php
foreach (getGalleryLinks() as $data) {
if ($data['gallery'] == $gallery) {
$active = ' active';
}
printf('<a class="menu%s" href="%s">%s </a>', $active,
printf('<li class="menu%s"><a class="menu" href="%s">%s </a></li>',
($data['gallery'] == $gallery) ? ' active' : '',
$data['url'], $data['label']);
} ?></div>
} ?></ul>
<div id="content_container">
<div id="slider">
<div id="arrleft"><img src="css/grafiken/aro-lft.png" alt="nach links"