Here is the complete Head section of both pages. The only difference is the page title, as the complete section was copied and pasted from my template page to all pages (some identifying info has been x-ed out):
<!DOCTYPE HTML>
<html lang=“en”>
<head>
<title>xxxxx - Games Played 1988</title>
<meta name=“description” lang=“en-ca” content=“xxxxx - Games Played 1988”>
<meta charset=“UTF-8”>
<meta name=“viewport” content=“width=device-width, initial-scale=1.0”>
<meta name=“robots” content=“noindex, nofollow, noarchive”>
<link rel=“StyleSheet” href=“includes/xxxxx.css” type=“text/css”>
<link rel=“shortcut icon” href=“http://xxxxx/favicon.ico” type=“image/x-icon”>
<link rel=“icon” href=“http://xxxxx/favicon.ico” type=“image/x-icon”>
<script>
//<!–
winOpen = null;
function openPhotoWindow(vpage)
{
if (!winOpen || winOpen.closed)
{
popup = window.open(vpage,“popup”,“directories=no,menubar=no,status=no,toolbar=no,height=788,width=1044,top=20,left=10,scrollbars=yes,resizable=yes”);
}
popup.focus();
//return false;
}
function CloseModalWin()
{
if (window.name == “newWin” || window.name == “popup” || window.name == “viewFaq”)
{
opener.focus();
self.close();
}
}
//–>
<!–
function openGameDetails(vpage)
{
window.open(vpage,“gamedetails”,“menubar=no,scrollbars=yes,toolbar=no,location=no,directories=no,resizable=yes,height=680,width=940,top=20,left=20”);
}
//–>
</script>
</head>
Here is the line in the page that inserts the small image and should open the popup window for the larger image:
<a href=“javascript:openPhotoWindow(‘photos/2019/Game2019-11-29b.jpg’);”><img src=“photos/2019/Game2019-11-29b-36.jpg” class=“right” alt=“Photo” style=“margin: 2px 2px; border: 2px solid”></a>
Note that this line was copied for test purposes from the 2019 page, where it works, to the 1988 page, where the small image appears but the popup doesn’t. All pages are in a single folder on the server, with the photos in subfolders of the main folder.