Somewhere in my source code two windows are opening, one in a regular browswer size with scroll bars and address area, and
the other (the one that i want) opens in a predefined window size.
I am quite new to the java side of things, but would love to know where in my source code the code is still telling two windows to open. I only want to open a window upon arriving to it in a fixed size.
I am posting the source code here :
(sorry its so long i dont know where the extra window opening up is so i have to include it all)
- Code: Select all
<html>
<head>
<title>Gallery_Index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.photo_description {
font-size: 0.9em;
font-family: Georgia, "Times New Roman", Times, serif;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
color: #666666;
letter-spacing: 0.25pt;
vertical-align: text-top;
word-spacing: normal;
text-align: left;
white-space: normal;
display: inline;
margin: 0px;
padding: 0px;
height: 0px;
width: 0px;
left: 2px;
top: 2px;
right: 2px;
bottom: 2px;
}
body,td,th {
font-family: Georgia, Times New Roman, Times, serif;
font-size: small;
color: #666666;
}
body {
margin-left: 2px;
margin-top: 2px;
margin-right: 2px;
margin-bottom: 2px;
}
-->
</style>
<script language="Javascript" type="text/javascript"><!--
window.open('index.html', 'Gallery_Index', 'height=535,resizable=no,width=410');
//-->
</script>
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<style type="text/css">
<!--
.style2 {font-size: 10px}
.style3 {font-size: 12px}
-->
</style>
</head>
<body onLoad="MM_preloadImages('../../popup_nav/emailus_up.jpg', '../../popup_nav/all_photos.jpg', '../../popup_nav/forward_up.jpg')">
<div align="left"></div>
<table width="410" height="506" border="1" align="center" cellpadding="1" cellspacing="1" bordercolor="#999999">
<tr>
<td width="421" height="37" background="../../popup_nav/upperbar.jpg"><table width="408" height="33" border="0" align="center">
<tr>
<td width="417"><font color="#666666" size="5" face="Georgia, Times New Roman, Times, serif">Title
Of Event or Place </font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="28" background="../../popup_nav/bar.jpg"><table width="408" border="0" align="center">
<tr>
<td width="226" height="20"><font color="#666666" size="3" class="photo_description">Place
it took </font></td>
<td width="221"><font color="#666666" size="3" class="photo_description">Date
of Event </font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="306" align="center" valign="middle"><table width="400" height="235" border="0" align="center" cellpadding="2" cellspacing="2" bordercolor="#FFFFFF" >
<tr>
<td height="60" align="center"><a href="Main_Pages/main001.html"><img src="thumbnails/001.jpg" alt="Just a Trial (125kb)" height="54" width="72" border="0"></a> </td>
<td align="center"><a href="Main_Pages/main002.html"><img src="thumbnails/002.jpg" alt="Cooking CookingCooking CookingCooking CookingCooking CookingCooking Cooking (119kb)" height="54" width="72" border="0"></a> </td>
<td align="center"><a href="Main_Pages/main003.html"><img src="thumbnails/003.jpg" alt="Cooking CookingCooking Cooking (105kb)" width="72" height="54" border="0" align="middle"></a> </td>
<td align="center"><a href="Main_Pages/main004.html"><img src="thumbnails/004.jpg" alt="Cooking Again (172kb)" height="54" width="72" border="0"></a> </td>
<td align="center"><a href="Main_Pages/main005.html"><img src="thumbnails/005.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a> </td>
</tr>
<tr>
<td height="56" align="center"><a href="Main_Pages/main006.html"><img src="thumbnails/006.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main007.html"><img src="thumbnails/007.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main008.html"><img src="thumbnails/008.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main009.html"><img src="thumbnails/009.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main010.html"><img src="thumbnails/010.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
</tr>
<tr>
<td align="center"><a href="Main_Pages/main011.html"><img src="thumbnails/011.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main012.html"><img src="thumbnails/012.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main013.html"><img src="thumbnails/013.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main014.html"><img src="thumbnails/014.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main015.html"><img src="thumbnails/015.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
</tr>
<tr>
<td align="center"><a href="Main_Pages/main016.html"><img src="thumbnails/016.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main017.html"><img src="thumbnails/017.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main018.html"><img src="thumbnails/018.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main019.html"><img src="thumbnails/019.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
<td align="center"><a href="Main_Pages/main020.html"><img src="thumbnails/020.jpg" alt="Eating And Cooking (125kb)" height="54" width="72" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="50" align="left" background="../../popup_nav/bar.jpg"><div align="left" class="photo_description">
<table width="408" border="0" align="center" class="style2">
<tr>
<td height="42" class="photo_description"><font color="#666666"><span class="style3">short
description goes here this is the most space there is for this
and here is some jh kjhlkhk ;asdikf;sdkafds';kjaf;dlskj<font color="#666666">short
description goes here this is the most space there is for this
and here is some</font> asfdsafdsadsfasdfdsafda </span></font></td>
</tr>
</table>
<font color="#666666"></font></div></td>
</tr>
<tr>
<td height="35" bgcolor="#ADB972"><table width="408" border="0" align="center">
<tr>
<td width="122"><a href="mailto:events@jillprescott.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('email_us', '', '../../popup_nav/emailus_up.jpg',1)"><img src="../../popup_nav/emailus_down.jpg" name="email_us" width="122" height="34" border="0"></a></td>
<td width="167"><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Gallery_All_Photos', '', '../../popup_nav/all_photos.jpg',1)"><img src="../../popup_nav/all_photos_down.jpg" name="Gallery_All_Photos" width="160" height="34" border="0"></a></td>
<td width="50"><img src="../../popup_nav/back_down.jpg" name="Gallery_Back_Nav" width="49" height="34" border="0"></td>
<td width="56"><a href="Main_Pages/main001.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Gallery_Forward_Nav', '', '../../popup_nav/forward_up.jpg',1)"><img src="../../popup_nav/forward_down.jpg" name="Gallery_Forward_Nav" width="49" height="34" border="0" align="right"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="32" bgcolor="#ADB972"><table width="408" align="center">
<tr>
<td><img src="../../popup_nav/jillprescott_copyright.jpg" width="399" height="21" align="middle"></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
Thank You
Papucs
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.5.2 (KHTML, like Gecko) Safari/312.3.3



