paulie_h
02-06-2006, 01:00 PM
Hi everyone...
I have searched the forums to try and find the answer to this, but I have found similar answers but not precisely what I'm looking for, I'm not even sure if it is possible...
I have a HTML text scroller that loads a HTML text file at run time, and I am trying to load a JavaScript window that has no borders and menu and address bar etc... but I can't seem to get the HTML in the text document to be so correct to work... has anyone done this before or is it possible?
At the moment I have in my .txt document
<A HREF="javascript:openIT('page.html', 450, 250, null, null,'mywinname01');" TARGET="frame_Name">images .all images load in a new window
</A>info
and then in my .html document i have
<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=1>**Borderless Example</font>'
var tW ='Borderless Example'
var wB ='#003366'
var wBs ='#003366'
var wBG ='#8BB1D8'
var wBGs='#B1CBE4'
var wNS ='toolbar=0,location=0,directories=0,status=0,menu bar=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,wB G,wBGs,wNS,fSO)
}
</script>
Any help would be very appreciated.
Please let me know if an uploaded file would help.
:)
Cheers.
I have searched the forums to try and find the answer to this, but I have found similar answers but not precisely what I'm looking for, I'm not even sure if it is possible...
I have a HTML text scroller that loads a HTML text file at run time, and I am trying to load a JavaScript window that has no borders and menu and address bar etc... but I can't seem to get the HTML in the text document to be so correct to work... has anyone done this before or is it possible?
At the moment I have in my .txt document
<A HREF="javascript:openIT('page.html', 450, 250, null, null,'mywinname01');" TARGET="frame_Name">images .all images load in a new window
</A>info
and then in my .html document i have
<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=1>**Borderless Example</font>'
var tW ='Borderless Example'
var wB ='#003366'
var wBs ='#003366'
var wBG ='#8BB1D8'
var wBGs='#B1CBE4'
var wNS ='toolbar=0,location=0,directories=0,status=0,menu bar=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,wB G,wBGs,wNS,fSO)
}
</script>
Any help would be very appreciated.
Please let me know if an uploaded file would help.
:)
Cheers.