For the last 4 days I've been scanning the entire internet trying to solve my problem but to no avail.
Either the answers I found wouldn't work or, well, I didn't quite understand them. (Hence the username )
I am currently working on a project where my client insists I use Adobe Muse. This is not really an issue as I have been able to add code though I'm having problem with the code working properly.
I am trying to get a random background load each time the website reloads. So far, this has worked, however, it keeps tiling the image.
I have tried asking Adobe staff and forums but not really getting anywhere since most people have ignored my question So I'm sort of hoping to find some help here as I am convinced it is an easy fix..I just don't know how.
// # of images
var imgCount = 3;
// image directory
var dir = 'http://skywide.co.uk/test3/images/';
// random the images
var randomCount = Math.round(Math.random() * (imgCount - 1)) + 1;
// array of images & file name
var images = new Array
images = "background_test2.jpg",
images = "background_test.jpg",
images = "temp_background-03-08.png",
$('html').css('background-image','url("' + dir + images[randomCount] + '")');
Any help is really appreciated Though please bare in mind I may need to know where to put any extra code (like, be told exactly where to paste it)