Page 1 of 1

window co-ordinates and form question

Posted: Sun May 04, 2003 9:09 am
by minds_gifts
hello,

2 simple questions:
1.when you view this http://inkaytown.f2o.orgyou can observe, "enter site" image appearing somewhere on the top left side of the screen.I would like to position it inside my green background after the text.
2.when i click on the image, a window is opened.How can i control it in such a way its always positioned in the center of the screen.

Thanks everybody

<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>|--designed by sarath--|</title>
<meta name="Microsoft Border" content="none">
<script type="text/javascript">
function openwindow()
{
window.open("index3.html","my_new_window"," toolbar=no,location=no,directories=no,status=no,me
nubar=no,scrollbars=no,resizable=no,copyhistory=ye
s,width=720,height=478,top=5,left=108")
}
</script>
</head>

<body background="background_copy.gif" bgcolor="#000000" bgproperties="fixed" scroll="no">

<form>
<Input type="image" src="main1.jpg"
value="Open Window"
onclick="openwindow()">
</form>

</body>
</html

Posted: Sun May 04, 2003 11:48 am
by patrikG

Posted: Sun May 04, 2003 3:45 pm
by minds_gifts
Thanks Patrik.
Regarding positioning of the image, I fixed it by using CSS attributes.