By the way, if anyone is experienced with Firefox extensions - message me, so I can publish my extension for Firefox with your help.
edited 1×, last 22.11.12 05:44:45 pm
function ChangeBG(img){ if (typeof img === 'undefined') {var img = "http://higgs.rghost.ru/41736844/image.png"} else {var img = img} document.body.style.backgroundImage = img; // Your background image here. :) return img; } // Usage: // ChangeBG("URL goes here!") it will run the function and change the background image with desired background image. // ChangeBG() returns the "default image" when function is executed.
$(function () { 	function InstantChangeBG () { 		$('body').css('backgroundImage', 'url(http://mywebsite.com/file.gif)'); 	} });