he wants desktop background, not screensaver.Wilier. said:If you right click the desktop in XP, goto "properties" then go to screensaver, you can select "My Pictures slideshow" and select whatever settings you desire.
This will cycle through the images within the My Pictures folder of your documents..
OK, ignore me then.Funkybunny said:he wants desktop background, not screensaver
<!-- saved from url=(0014)about:internet -->
<html xml:lang="en-gb" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Ch3tan's Wallpaper</title>
<style type="text/css">
/* Begin Style Configuration */
body
{
background:black no-repeat center center;
color:white;
font:11px verdana,sans-serif;
text-align:right;
}
/* End Style Configuration */
</style>
<script type="text/javascript">
/* Begin Script Configuration */
// Define the interval between each wallpaper alternation in seconds
interval = 3600;
// Define the images
images = new Array(
"abc.jpg",
"123.jpg"
);
/* End Script Configuration */
function alternate_wallpaper (status)
{
// Start or stop the wallpaper alternation
if (status == "change")
{
// Stop
if (repeat) {
window.clearTimeout(repeat);
repeat = null;
// Start
} else {
repeat = setTimeout("alternate_wallpaper()", interval*1000);
}
}
// Alternate the wallpaper
else
{
// Define the page background
background = document.getElementsByTagName("body").item(0);
// Choose a wallpaper at random
wallpaper = images[ Math.round(Math.random() * (images.length - 1)) ];
// Apply the wallpaper
background.style.backgroundImage = "url(" + wallpaper + ")";
// Repeat the wallpaper alternation
repeat = setTimeout("alternate_wallpaper()", interval*1000);
}
}
// Actuate the wallpaper alternation when the page loads
window.onload = alternate_wallpaper;
</script>
</head>
<body>
<a onclick="alternate_wallpaper('change')" style="cursor:pointer">Start/Stop</a>
</body>
</html>
images = new Array(
"abc.jpg",
"subfolder/123.png",
"../xyz.gif"
);