I do recall that there are other, at least one other thing(s) that need to be done for this to work right. Unfortunately for you, I'm just about to leave for a much needed vacation, so will be a bit busy for the next few days. However, I will be online throughout much of my travels, so once I get on the road I may take a closer look at this. I did have this working in a bare bones installation with a slightly earlier version of lytebox. Here is my top page:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="lytebox.js"></script>
<link rel="stylesheet" href="lytebox.css" type="text/css" media="screen" />
</head>
<body>
<iframe name="DisplayFrame" src="t.htm" width="300" height="300" scrolling="auto" frameborder="1"></iframe>
</body>
</html>
Here is my enframed t.htm:
Code:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" language="javascript" src="lytebox.js"></script>
<link rel="stylesheet" href="lytebox.css" type="text/css" media="screen" />
</script>
</head>
<body>
<a href="photo.jpg" rel="lytebox">Test</a>
</body>
</html>
I think the key is that your iframe must have a name, as mine does on the top page.
Bookmarks