Hi,
I am trying to set image sizes based on screen resolution per help I received in a previous message. The code I have now that doesn't work is listed below. With the images outside of the Javascript the images display fine but not within the tags.
<html>
<head>
<script language="javascript">
if (screen.width > 800)
{
<img src="images/untitled2.gif"><FONT COLOR="#006699">;
}
if (screen.width < 800)
{
<img src="images/untitled2test.gif"><FONT COLOR="#006699">;
}
</script>
</head>
</html>
I am trying to set image sizes based on screen resolution per help I received in a previous message. The code I have now that doesn't work is listed below. With the images outside of the Javascript the images display fine but not within the tags.
<html>
<head>
<script language="javascript">
if (screen.width > 800)
{
<img src="images/untitled2.gif"><FONT COLOR="#006699">;
}
if (screen.width < 800)
{
<img src="images/untitled2test.gif"><FONT COLOR="#006699">;
}
</script>
</head>
</html>