Im using this
http://www.flashxml.net/3d-carousel-menu.html[
^]
I have managed to insert my own background image behind the carousel, but i cannot do it also on the page that its embedded on with this:
<body "background-image: url(qpq.jpg);">
nor with this:
<script type="text/javascript">
window.addEvent('domready',function(){
<!-- BG Image load -->
window.addEvents({
// fire when the DOM is loaded
domready: function(){
// path to the image
var pathToBackgroundImage = 'x11.jpg';
// set the background-image
$(document.body).setStyle('background-image','url(' + pathToBackgroundImage + ')');
}
});
</script>
This is my source code for page in question:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("3DCarouselMenuFX.swf", "CarouselDiv", "600", "400", "9.0.0", false, flashvars, params, attributes);
</script>
</head>
<body "background-image: url(images/02.jpg);">
<div style="border: 1px solid black; background-image: url(images/02.png); height: 400px; width: 600px;">
<div id="CarouselDiv"></div>
</div>
<div id="CarouselDiv"> <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a> </div>
<span style="z-index: 2; left: 602px; top: 0px; position: absolute;"><iframe name="I1" src="../innext.html" frameborder="0" height="415" scrolling="no" width="760">Your
browser does not
support inline frames or is currently configured
not to display inline frames.</iframe></span>
</body></html>
i strongly suspect that i have just placed the second method in the wrong place. i went to flashxml for help but they said as its not the bg image inside carousel there not assisting with that..so i'm here. please help.