Though deprecated in strict HTML, iframe and target are still valid in transitional. This would seem to be a job for those. You can put an iframe on your top page and have the various carousels each on separate pages. Have the links href to these pages and target the iframe. Something like:
HTML Code:
<iframe name="carousels" src="carousel_1.htm" frameborder=0 width=300 height=250 scrolling="auto"></iframe>
and:
HTML Code:
<a href="carousel_2.htm" target="carousels">Second Carousel</a>
Set the width and height of the iframe to about the width and height of the carousels, a little larger. On the various carousel_X.htm pages, have only one carousel on each of them, and set the style:
Code:
body {
margin:0;
padding:0;
}
to prevent it looking off center in the iframe in some browsers, and perhaps:
Code:
html, body {
overflow: hidden;
}
to prevent scrollbars for the iframe if the dimensions don't exactly match up, or if the script's hidden content causes scrollbars for the iframe in some browsers.
Bookmarks