Ok, I may have spoken too soon.
The images are now loading and rotating, that’s all fine.
But whether or not the ID call of #supersized2 is commented out or not, the images for #supersized2 are always displayed and never the images from the first #supersized.
The only way I can get around this is by commenting out the jQuery/Javascript for the slides in #supersized2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" id="index">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="distribution" content="Global" />
<meta name="copyright" content="" />
<meta name="resource-type" content="document" />
<meta name="author" content="" />
<meta name="robots" content="index,follow" />
<meta name="content-language" content="english" />
<meta name="rating" content="General" />
<meta name="revisit" content="28 days" />
<link href="css/reset.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/default.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="js/peek-a-boo.js"></script>
<!-- supersized module -->
<script type="text/javascript" src="js/effects.core.js"></script>
<script type="text/javascript" src="js/supersized.3.0.js"></script>
<script type="text/javascript">
$(function(){
$('#supersized').supersized({
startwidth: 1024,
startheight: 768,
vertical_center: 1,
slideshow: 1,
navigation: 0,
thumbnail_navigation: 0,
transition: 1,
pause_hover: 0,
slide_counter: 0,
slide_captions: 0,
slide_interval: 5000,
slides : [
{image : 'img/item_1.jpg' },
{image : 'img/item_2.jpg' },
{image : 'img/item_3.jpg' },
{image : 'img/item_4.jpg' }
]
});
/*$('#supersized2').supersized({
slides : [
{image : 'img/item_5.jpg' },
{image : 'img/item_6.jpg' },
{image : 'img/item_7.jpg' }
]
});*/
});
</script>
<!--[if IE 6 ]>
<script type="text/javascript" src="js/DD_belatedPNG_0.0.8a-min.js"></script>
<script type="text/javascript">DD_belatedPNG.fix('#nav_bar, .news_box');</script>
<![endif]-->
<!--[if gte IE 7 ]>
<link href="css/ie7.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]-->
<title></title>
</head>
<body class="index">
<!-- background if no js -->
<noscript>
<img id="background" src="img/background_1.jpg" alt="" />
</noscript>
<!-- -->
<div id="loading"></div>
<div id="supersized"></div>
<div id="supersized2"></div>
I’d planned to hide the div using a jQuery .hide method, but obviously if the images are still being shown regardless of whether the div is there or not, that’s not going to work.
If I comment out the div #supersized (so not the second one) then nothing is displayed at all.
Thus meaning I guess, that for whatever reason, the images in the second slide array are still connected to #supersized and not #supersized2…