I've been working on my little "complete website configurability" project. Visitors can now choose from around 100 backgrounds and have unlimited colour control of the background and text colours.
What I want to do now is to let visitors use an image stored on their own computer as a background for my test site. I know I can use the old beginners mistake of using file:///D:/images/... to display an image from my computer but I can't get it to become a background. I've used both document.body.style.backgroundImage='url(file:///C:/images/...)'; and document.body.background='file:///C:/images/...' methods and neither work - at least in the way I tried them.
Anyone any ideas? (apart from giving up)
You can see what I'm trying to achieve at - be warned though that this is a test page and there may be some code left in their that may not work properly (though most has been tested on 8 servers, 3 OS's and 5 browsers) and zillions of images.
Ray
What I want to do now is to let visitors use an image stored on their own computer as a background for my test site. I know I can use the old beginners mistake of using file:///D:/images/... to display an image from my computer but I can't get it to become a background. I've used both document.body.style.backgroundImage='url(file:///C:/images/...)'; and document.body.background='file:///C:/images/...' methods and neither work - at least in the way I tried them.
Anyone any ideas? (apart from giving up)
You can see what I'm trying to achieve at - be warned though that this is a test page and there may be some code left in their that may not work properly (though most has been tested on 8 servers, 3 OS's and 5 browsers) and zillions of images.
Ray