Hi, I would like to know how replace these line (window.location.replace...) by a image. If the resolution is 800x600, I will use a 800x600 image for background and the same thing
for other resolution !
Thanks !
if (screen.width==800||screen.height==600) //if 800x600
window.location.replace("
else if (screen.width==640||screen.height==480) //if 640x480
window.location.replace("
else if (screen.width==1024||screen.height==768) //if 1024x768
window.location.replace("
else //if all else
window.location.replace("
for other resolution !
Thanks !
if (screen.width==800||screen.height==600) //if 800x600
window.location.replace("
else if (screen.width==640||screen.height==480) //if 640x480
window.location.replace("
else if (screen.width==1024||screen.height==768) //if 1024x768
window.location.replace("
else //if all else
window.location.replace("