Quantcast

iframe

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

iframe

Swiss-Hans
Hi

What is wrong in my code?

http://www.rvvordemwald.ch/shadowbox-test.htm

Code in iframe:
...
<script type="text/javascript">
var Shadowbox = window.parent.Shadowbox;
</script>
</head>
<body>
<div class="bildbox"><a rel="shadowbox[Album1]" href="dsc_0739_std.jpg" title="Fahrerausflug 2014"><img src="dsc_0739_thm.jpg" alt="Fahrerausflug 2014"></a></div>
<div class="bildbox"><a rel="shadowbox[Album1]" href="dsc_0740_std.jpg" title="Fahrerausflug 2014"><img src="dsc_0740_thm.jpg" alt="Fahrerausflug 2014"></a></div>
...
__________________________________________________________________

Code in parent:
...
<link rel="stylesheet" type="text/css" href="/shadowbox/shadowbox.css">
<script type="text/javascript" src="/shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
    animate: false,
	animateFade: false,
	handleOversize: "drag",
    modal: false,
	counterType: "skip",
	overlayOpacity: 0.8,
	fadeDuration: 0.1,
	counterLimit:10
});
</script>
</head>
____________________________________________________________
Loading...