Click to See Complete Forum and Search --> : How do I open a fixed size image in new window, using html??


jensroom
02-24-2006, 02:12 PM
Hiya! Can anyone help me?

I need to open a gif in a new window, but if it opens in a window too small, it squishes up & looks wrong. Is there any way of opening it up in a max window, or is there a way to specify the size of the window?

Is it possible to specify that the image is not 'squished', but appears in actual size, with scroll bars if necessary?

All I have is the basic html:

<A href="GIF" target="_blank" STYLE="text-decoration:none">Picture </A>

I have tried putting width=700 & stuff like that, but nothing works, and I don't really know what I'm doing.

I have found some stuff using Java, but I don't understand Java at all, and it scares the pants off me...

Is there a simple html answer, or a complete idiot's guide to java answer?

Love, Jen The Confused

:eek:

KDLA
02-24-2006, 03:47 PM
http://www.irt.org/script/633.htm

KDLA

TiGGi
02-24-2006, 03:52 PM
Here you go!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body>
<a href="javascript:;" onClick="MM_openBrWindow('image.gif','','scrollbars=yes,width=200,height=300')">Picture</a>
</body>
</html>