speed_ballerina
03-16-2003, 05:58 AM
I am having troble getting my Chromless Window up and running. I have followed Lissa's instructions very carefully, but when I open up my splash page in a browser, and click on the link to open up my window, i get a little error down the bottom.
When I try to follow the link in Frontpage, a popup tells me -
An error has occured in the script on this page
Line: 14
Char: 3
Error: Object Expected
Code: 0
URL: file://C:\WINDOWS\TEMP\FrontPageTempDir\pvw1.htm
Do you want to continue running scripts on this page?
Please Help. I need to get my page on the web quickly!
I have put this code into my splash page:
<a href="#" onclick="mywindow=openIT('index.html',400,200,null,null,'my windowname')">Open Chromeless</a>
And I have put this code in the page I want to pop up in the window. Its a frames page, so I put it into the big Frames Page HTML Document:
<script src="chromeless_35.js"></script>
<script language="javascript">
// CREDITS:
// Chromeless window script by Gabriel Suchowolski ( www.microbians.com )
// Distributed with permission by Lissa ( www.lissaexplains.com )
function openIT(u,W,H,X,Y,n,b,x,m,r) {
var cU ='close_up.gif'
var cO ='close_ovr.gif'
var cL ='clock.gif'
var mU ='min_up.gif'
var mO ='min_ovr.gif'
var xU ='max_up.gif'
var xO ='max_ovr.gif'
var rU ='res_up.gif'
var rO ='res_ovr.gif'
var tH ='<font face=verdana size=1> Window title</font>'
var tW =' window title'
var wB ='#9966ff'
var wBs ='#FFFFFF'
var wBG ='#ffe0ff'
var wBGs='#9966ff'
var wNS ='toolbar=0,location=0,directories=0,status=0,menu bar=0,scrollbars=0,resizable=0'
var fSO ='scrolling=no noresize'
var brd =b||0;
var max =x||false;
var min =m||false;
var res =r||true;
var tsz =20;
return chromeless(u,n,W,H,X,Y,cU,cO,cL,mU,mO,xU,xO,rU,rO,
tH,tW,wB,wBs,wBG,wBGs,wNS,fSO,brd,max,min,res,tsz)
}
</script>
And I have extracted all of the Zip file pictures, and the script file, into my webpage folder.
What Is going wrong?
When I try to follow the link in Frontpage, a popup tells me -
An error has occured in the script on this page
Line: 14
Char: 3
Error: Object Expected
Code: 0
URL: file://C:\WINDOWS\TEMP\FrontPageTempDir\pvw1.htm
Do you want to continue running scripts on this page?
Please Help. I need to get my page on the web quickly!
I have put this code into my splash page:
<a href="#" onclick="mywindow=openIT('index.html',400,200,null,null,'my windowname')">Open Chromeless</a>
And I have put this code in the page I want to pop up in the window. Its a frames page, so I put it into the big Frames Page HTML Document:
<script src="chromeless_35.js"></script>
<script language="javascript">
// CREDITS:
// Chromeless window script by Gabriel Suchowolski ( www.microbians.com )
// Distributed with permission by Lissa ( www.lissaexplains.com )
function openIT(u,W,H,X,Y,n,b,x,m,r) {
var cU ='close_up.gif'
var cO ='close_ovr.gif'
var cL ='clock.gif'
var mU ='min_up.gif'
var mO ='min_ovr.gif'
var xU ='max_up.gif'
var xO ='max_ovr.gif'
var rU ='res_up.gif'
var rO ='res_ovr.gif'
var tH ='<font face=verdana size=1> Window title</font>'
var tW =' window title'
var wB ='#9966ff'
var wBs ='#FFFFFF'
var wBG ='#ffe0ff'
var wBGs='#9966ff'
var wNS ='toolbar=0,location=0,directories=0,status=0,menu bar=0,scrollbars=0,resizable=0'
var fSO ='scrolling=no noresize'
var brd =b||0;
var max =x||false;
var min =m||false;
var res =r||true;
var tsz =20;
return chromeless(u,n,W,H,X,Y,cU,cO,cL,mU,mO,xU,xO,rU,rO,
tH,tW,wB,wBs,wBG,wBGs,wNS,fSO,brd,max,min,res,tsz)
}
</script>
And I have extracted all of the Zip file pictures, and the script file, into my webpage folder.
What Is going wrong?