striddle
06-26-2004, 04:40 AM
Okay, so I was on this graphics site (Day Dream Graphics (http://www.daydreamgraphics.com)) and I got this layout that used css, i frames, java-scripe and chromeless windows. Pretty simple stuff, however, there seems to be something wrong in the code that after you hit the enter button on the splash page, the pop-up window takes up the entire screen instead of being a certain smaller size.
I believe this is the code, but I haven't a clue what to change. I think I need it 601x289, but like I said, I'm not sure.
<link rel="stylesheet" href="style.css" type="text/css">
<script language="javaScript" type="text/javascript" SRC="chromeless.js"></SCRIPT>
<script language="javaScript">
function openIT(theURL,W,H,X,Y, wname) {
CLOSEdwn = "closea.gif"
CLOSEup = "closea.gif"
CLOSEovr = "closeb.gif"
MINIdwn = "down.gif"
MINIup = "down.gif"
MINIovr = "over.gif"
NONEgrf = "None.gif"
CLOCKgrf = "Clock.gif"
titHTML = "<font face=verdana size=2 color=#FFFFFF> The Parting of the Ways </font>"
titWIN = "*"
winBORDERCOLOR = "#006AFC"
winBORDERCOLORsel = "#FFFFFF"
winBGCOLOR = "#83B8FF"
winBGCOLORsel = "#9DD2FE"
return openchromeless(theURL, wname, W, H, X, Y, NONEgrf, CLOSEdwn, CLOSEup, CLOSEovr, MINIdwn, MINIup, MINIovr, CLOCKgrf, titHTML, titWIN, winBORDERCOLOR, winBORDERCOLORsel, winBGCOLOR, winBGCOLORsel)
}
</SCRIPT>
</HEAD>
<BODY TOPMARGIN=10 LEFTMARGIN=10 MARGINWIDTH=0 MARGINHEIGHT=0 scroll="no" bgcolor="#9DD2FE" bgproperties="fixed">
<a href="javascript://" onclick="mywinname01=openIT('dragonair.html', 601, 289, null, null, 'mywinname01');" onmouseover="window.status='';return true;" onfocus="window.status='';this.blur()"><img src="enter.gif" border=0 alt="press me"></a> </p>
I believe this is the code, but I haven't a clue what to change. I think I need it 601x289, but like I said, I'm not sure.
<link rel="stylesheet" href="style.css" type="text/css">
<script language="javaScript" type="text/javascript" SRC="chromeless.js"></SCRIPT>
<script language="javaScript">
function openIT(theURL,W,H,X,Y, wname) {
CLOSEdwn = "closea.gif"
CLOSEup = "closea.gif"
CLOSEovr = "closeb.gif"
MINIdwn = "down.gif"
MINIup = "down.gif"
MINIovr = "over.gif"
NONEgrf = "None.gif"
CLOCKgrf = "Clock.gif"
titHTML = "<font face=verdana size=2 color=#FFFFFF> The Parting of the Ways </font>"
titWIN = "*"
winBORDERCOLOR = "#006AFC"
winBORDERCOLORsel = "#FFFFFF"
winBGCOLOR = "#83B8FF"
winBGCOLORsel = "#9DD2FE"
return openchromeless(theURL, wname, W, H, X, Y, NONEgrf, CLOSEdwn, CLOSEup, CLOSEovr, MINIdwn, MINIup, MINIovr, CLOCKgrf, titHTML, titWIN, winBORDERCOLOR, winBORDERCOLORsel, winBGCOLOR, winBGCOLORsel)
}
</SCRIPT>
</HEAD>
<BODY TOPMARGIN=10 LEFTMARGIN=10 MARGINWIDTH=0 MARGINHEIGHT=0 scroll="no" bgcolor="#9DD2FE" bgproperties="fixed">
<a href="javascript://" onclick="mywinname01=openIT('dragonair.html', 601, 289, null, null, 'mywinname01');" onmouseover="window.status='';return true;" onfocus="window.status='';this.blur()"><img src="enter.gif" border=0 alt="press me"></a> </p>