Hi All,
Im trying to run a porfolio of sites but i cannot seem to get the slideshow to work using an iframe.
is this allowed in shadowbox or is it just images?
im using jquery 1.31 and shadowbox 3.0b
<code>
var img1 = {
player: 'iframe',
content: '
http://www.google.com',
gallery: 'sites',
title: "Welcome",
height: 350,
width: 550
};
var img2 = {
player: 'iframe',
content: '
http://www.yahoo.co.uk',
gallery: 'sites',
title: "Welcome",
height: 350,
width: 550
};
var img3 = {
player: 'iframe',
content: '
http://www.bing.co.uk',
gallery: 'sites',
title: "Welcome",
height: 350,
width: 550
};
Shadowbox.init({
players: ["iframe"]
});
window.onload = function(){
Shadowbox.open([img1, img2, img3],{
gallery: 'sites',
continuous: true,
autoplay: true,
slideshowDelay: 1
});
};
</code>
Thanks for any help
Charlie