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,13 +137,16 @@ a:active {
} }
#menu { #menu {
position:absolute; list-style:none;
display:inline;
position:absolute;
width:330px; width:330px;
height:14px; height:14px;
left: 143.5px; left: 143.5px;
top: 553px; top: 553px;
margin-top:2px; margin-top:2px;
z-index:10; z-index:10;
padding:0;
} }
#sub_menu { #sub_menu {

View file

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