If you have all of the images sized correctly to be the background of the HTML box, you could do this pretty simply with the Protaculous Action. I’m not aware of any pre-built Action for this purpose, but it sounds like a cool idea.
Apply Protaculous (download from ActionsForge if you don’t have it already) to the page. Apply the Upload Stuff or Extra Resources Action to the page, and use it to upload all of your background images to the same location. I would put them in the Resources folder. Make note of their precise filenames (case matters). For this example, I’m pretending these are image1.jpeg, image2.jpeg and image3.jpeg.
Click once on your HTML box and note the precise name of it that appears in the Inspector. (Again, case matters, and I’m using item4 for my example.)
In the Page / HTML Markup dialog, set the CSS to place your first background image (use the Before /HEAD section):
<style type="text/css">
#item4 {
background-image: url(Resources/image1.jpeg);
background-repeat: no-repeat;
background-position: center center;
}
</style>
Now click on the bottom Function Body button in the Protaculous Action interface (make sure the page is selected, and make sure the Actions palette is visible, and this will be obvious.
In the dialog box that button opens, enter the following code (adjust for your filenames and HTML box name):
var bgs = $w('image1.jpeg image2.jpeg image3.jpeg');
var idx = 0;
var t;
var changebg = function(){
if(idx == bgs.length) idx = 0;
$('item4').setStyle('background-image: url(Resources/' + bgs[idx]) + ')');
idx ++;
t = window.setTimeout(changebg, 8000) // 8 second interval
}
changebg();
Preview in a browser and see if it does the trick for you. If not, let me know and I’ll take another look at it.
Walter
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options