On my image page, I'm trying to print a menu of all the images in the album.
The list prints, but the links don't work. When I look at the page source from my browser, all the necessary info has been included to create a link
ex:
onebut it doesn't function as one, I can't click on it.
I use the same code to generate a menu on my album page and it works fine.
here is the source for my image.php, there is a comment next to the code I used to make menu.
`<?php if (!defined('WEBPATH')) die(); $themeResult = getTheme($zenCSS, $themeColor, 'light'); $firstPageImages = normalizeColumns('2', '6');?>
<!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>
<title>Jordor.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel = "stylesheet" type="text/css" href="
http://www.jordor.com/jordor.css" >
</head>
<body>
<div id="wrapper">
<div id="top">
<div id="section">
<?php echo getAlbumTitle();?>
</div>
<div id="menu">
<?php include( 'inc/menu.php' ); ?>
</div>
</div>
</div>
</div>
<div id="strip">
JORDOR.com : the web portfolio of JORDAN HARRIS
</div>
<div id="bottom">
<!-- HERE IS MY IMAGE MENU -->
<div id="submenu">
<?php while (next_image()): ?>
<div class="subalbum">
+
" title="<?php echo getImageTitle();?>"><?php echo getImageTitle();?> </div>
<?php endwhile; ?>
</div>
<div id="content">
<div id="description">
<h1><?php echo getImageTitle();?></h1>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>'
note: I used an include for the menu of albums because I couldn't figure out how to get it display on the album.php page. I seem to be having menu problems all around, as soon as I go down one tier, problems arise.
anyway,
here are the links to the page, the image menu is below the black bar.
an album page:
http://jordor.com/index.php?album=artan image page:
http://jordor.com/index.php?album=art&image=2116402210_96b6c73606.jpgThank you for your help.
Comments
Please put the code into `backticks`. The image menu part of your post is unreadable so that we can't really help.