Thanks, guys, for pointing me in the right direction. I guess I exhausted all my brain cells in my Town Council meeting last night, because I still can't get this to work. The output seems almost identical to another theme I've tried that correctly shows the EXIF data hiding/unhiding. I'm fairly competent with PHP, but I'm still a marked amateur with javascript. I thought maybe the link to my css was invalid, but it seems to be parsing correctly. I feel really dumb, here! Here's what I'm working with:
`
<?php if (!defined('WEBPATH')) die(); ?>
<?php include ('theme-functions.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php printGalleryTitle(); ?> | <?=getAlbumTitle();?> | <?=getImageTitle();?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="imagetoolbar" content="false" />
<link rel="stylesheet" href="<?= $_zp_themeroot ?>/zen.css" type="text/css" />
<link rel="stylesheet" href="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/js/thickbox.css" type="text/css" />
<script src="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/js/thickbox.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
var ua = navigator.userAgent;
var opera = /opera [56789]|opera\/[56789]/i.test(ua);
var ie = !opera && /msie [56789]/i.test(ua);
var moz = !opera && /mozilla\/[56789]/i.test(ua);
function toggle(obj) {document.getElementById(obj).style.display=(document.getElementById(obj).style.display!="block")? "block" : "none";}
<?php if (hasNextImage()) { ?>var nextURL="<?=getNextImageURL();?>";<?php } ?>
<?php if (hasPrevImage()) { ?>var prevURL="<?=getPrevImageURL();?>";<?php } ?>
function keyDown(e){
if (!ie) {var keyCode=e.which;}
if (ie) {var keyCode=event.keyCode;}
if(keyCode==39){<?php if (hasNextImage()) { ?>window.location=nextURL<?php } ?>};
if(keyCode==37){<?php if (hasPrevImage()) { ?>window.location=prevURL<?php } ?>};}
document.onkeydown = keyDown;
if (!ie)document.captureEvents(Event.KEYDOWN);
document.oncontextmenu=new Function("return false");
//document.onselectstart=new Function ("return false");
document.ondragstart=new Function ("return false") ;
function opacity(id, opacStart, opacEnd, millisec) {
var speed = Math.round(millisec / 100);
var timer = 0;
if(opacStart > opacEnd) {
for(i = opacStart; i >= opacEnd; i--) {
setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
timer++;
}
} else if(opacStart < opacEnd) {
for(i = opacStart; i <= opacEnd; i++){
setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
timer++;
}
}
}
function changeOpac(opacity, id) {
var object = document.getElementById(id).style;
object.opacity = (opacity / 100);
object.MozOpacity = (opacity / 100);
object.KhtmlOpacity = (opacity / 100);
object.filter = "alpha(opacity=" + opacity + ")";
}
function toggleComments() {
var commentDiv = document.getElementById("comments");
if (commentDiv.style.display == "block") {
commentDiv.style.display = "none";
} else {
commentDiv.style.display = "block";
}
}
-->
</script>
<?php printPreloadScript(); ?>
<?php zenJavascript(); ?>
</head>
<body>
<?php printAdminToolbox(); ?>
<div id="main">
<div id="gallerytitle">
<a>" title="Gallery Index"><?=getGalleryTitle();?></a>
<div class="left"><a title="Home">">home</a> > <a>"> <?php printAlbumTitle(false);?></a> > <?php printImageTitle(true); ?>use arrow keys to navigate
</div>
<?php if (hasNextImage()) { ?>
<a>" title="Next Image">Next Image</a>
<?php } else { ?>
<div class="block">Next Image
<?php } ?>
<?php if (hasPrevImage()) { ?>
<a>" title="Previous Image">Previous Image</a>
<?php } else { ?>
Previous Image
<?php } ?>
<a>" title="<?=getImageTitle();?>">full size</a>
</div>
<a>" title="<?=getImageTitle();?>"> <?php printDefaultSizedImageAlt(getImageTitle()); ?></a>
<?php if (getImageDesc() !='') { ?>
<div id="desc">
<?printImageDesc(true); ?>
<?}?>
<!-- exif -->
<?php
if (getImageEXIFData()) {
echo "<a>".gettext("Image Info")."</a>";
printImageMetadata('', false);
}
?>
<?php $num = getCommentCount(); echo ($num == 0) ? "[i]No Comments[/i]" : ("[i]Comments ($num)[/i]"); ?>, Add comment
<? if (isset($error)) { ?>
<div class="error">There was an error submitting your comment. Name, a valid e-mail address, and a comment are required.
<? } else { ?>
<? }?>
<!-- If comments are on for this image AND album... -->
<form id="commentform" action="#" method="post">
<div><input type="hidden" name="comment" value="1" />
<input type="hidden" name="remember" value="1" />
<label for="name">Name:</label><input type="text" id="name" name="name" size="20" value="<?=$stored[0];?>" />
<label for="email">E-Mail:</label><input type="text" id="email" name="email" size="20" value="<?=$stored[1];?>" />
<!-- <label for="website">Site:</label><input type="text" id="website" name="website" size="40" value="<?=$stored[2];?>" />
-->
<textarea name="comment" rows="6"></textarea>
<input type="submit" value="Add Comment" onmouseover="this.className = 'pushbuttonl'" onmouseout="this.className = 'pushbutton'" class="pushbutton" />
</form>
</div>
</div>
<?php while (next_comment()): ?>
<div class="comment">
<div class="commentmeta">
<?php printCommentAuthorEmail(); ?>
<?=getCommentDate();?>, <?=getCommentTime();?> <?php printEditCommentLink('Edit', ' | ', ''); ?>
<?=getCommentBody();?>
</div>
<?php endwhile; ?>
</div>
</div>
Powered by zenphoto | theme by cimi
</div>
</body>
</html>
`
I appreciate the help you've both given thus far. Hopefully you can tell me what I'm doing wrong? THANKS!!!