Hello to eveyone,
I have managed to create a borderless window by using the example in tutorials. Thank you very much for that first of all.
But I don’t know how to arrange the position of the chromeless window. I add the script below. Could you show me where and what I need to write to arrange the position of the window from left and top side.
The window opens almost at the center in my computer but I checked in other computers it opened at the top and work like a fullscreen. I want it control by myself.
I hope you can help me.
Thank you very much.
alphaville
Indiana/Us
<script language="javascript" type="text/javascript" src="chromeless.js"></script>
<script language="javascript">
function openIT(u,W,H,X,Y,n) {
var cD ='images/close_down.gif'
var cU ='images/close_up.gif'
var cO ='images/close_over.gif'
var cL
var tH ='<font face=verdana size=3> Portfolio </font>'
var tW ='Online Portfolio'
var wB ='#003366'
var wBs ='#003366'
var wBG ='#8BB1D8'
var wBGs='#B1CBE4'
var wNS ='toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0'
var fSO ='scrolling=no noresize'
chromeless(u,n,W,H,X,Y,cD,cU,cO,cL,tH,tW,wB,wBs,wBG,wBGs,wNS,fSO)
}
</script>
<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<TITLE>index</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- URL's used in the movie-->
<A HREF=javascript:openIT('main3.html',880,440,null,null,'mywinname01');></A> <!-- text used in the movie-->
<!--Restricted AreaEnter PasswordAccessDeniedAccess Granted--><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="880" HEIGHT="440" id="index" ALIGN="">
<PARAM NAME=movie VALUE="index.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="index.swf" quality=high bgcolor=#FFFFFF WIDTH="880" HEIGHT="440" NAME="index" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</BODY>
</HTML>