gday folks.
i have a web-site for my cricket club at [url]www.eastscricket.com.au
i’m doing a bit of a redesign (mainly just the header graphic of the page).
the problem i have with the new header is:
– on 800×600 res, it looks perfect how i want it
– on 1024×800 res, it looks a little dodgy, although it doesn’t look COMPLETELY terrible.
i have an image that makes it look proper on 800×600, and i have an image that makes it look right on 1024×800. On larger resolutions, the second image doesn’t look perfect, but it looks decent enough and i’m not that bothered to fix it up.
i have been getting some help, but nothing seems to work.
<html>
<head>
<SCRIPT language=”JavaScript”>
function loadPic()
{
if (screen.width=<800)
{
document.getElementById(“image”).src=”icons/headers/01bottomlow.jpg”;
}
else
{
document.getElementById(“image”).src=”icons/headers/01bottomhigh.jpg”;
}
}
</SCRIPT>
<title>blah blah</title>
</head>
<BODY onLoad=”loadPic()”>
<IMG id=”image”>
</body>
Obviousbly, there is other code around that, but that is everything i have on the page to do with the image i want changed.
if anyone can help, it would be GREATLY appreciated.