shadowbox open's in iframe Not in main page

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

shadowbox open's in iframe Not in main page

Stoffie
I've been lookin around for a good picture viewer. I came across 'shadowbox'.

I' ve created a site (index.html) where the menu is placed, and also an iframe. All the links opens in the iframe. (example locatie.html opens in the iframe.)
When I have a picture I want to show the shadowbox (kaartje.jpg) opens only in the iframe.

My problem is how can you make that the shadowbox covers the hole site (index.html) and not only the iframe.
-----------------------------------------------------------------------------------------------------------

Index.html:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

<html>
<head>

<meta http-equiv="content-script-type" content="javascript">
<meta http-equiv="Content-Language" content="nl-be">
<meta name="robots" content="index">
<title>.:Lentefeest 2009:. 17-18-19 April</title>
<link rel="stylesheet" type="text/css" href="opmaak.css" />
<script type="text/javascript" src="pagina/hover.js"></script>
</head>

<body class="main">
<div id="kader">
<div id="logo60">
</div>
    <div id="menublok">
       
        <ahref="pagina/home.html" target="iframe">home
        <ahref="pagina/locatie.html" target="iframe">locatie
   

</div>
<div id="iframe">
<iframe name="iframe" src="pagina/home.html" height ="350" width="584" frameborder="0" allowtransparency="true" scrolling="auto"></iframe>
</div>
</div>
</body>
</html>

-------------------------------------------------------------------------------------------------------------------------
locatie.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
<meta http-equiv="Content-style-type" content="text/html; charset=windows-1252">
<meta http-equiv="content-script-type" content="javascript">
<meta http-equiv="Content-Language" content="nl-be">
<link rel="stylesheet" type="text/css" href="../opmaak.css" />

<script type="text/javascript" src="build/shadowbox-base.js"></script><script type="text/javascript" src="shadowbox.js"></script><script type="text/javascript"> Shadowbox.loadSkin('classic', 'src/skin'); Shadowbox.loadLanguage('nl', 'build/lang'); Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], 'build/player'); window.onload = function(){ Shadowbox.init(); }; </script></head>

<body class="iframe">
       
           <arel="shadowbox" href="../images2009/kaartje.jpg" class="terug">Hier
 Vindt u een plan terug.


</body>
</html>
</body>
</html>

--------------------------------------------------------------------------------------------------------------------------

I've look through the forum but didn't find a solution.

Greetz
Reply | Threaded
Open this post in threaded view
|

Re: shadowbox open's in iframe Not in main page

build