cuoreart
10-02-2002, 07:41 PM
Hi, i don't know anything about javascript but i got 2 scripts, i got them to work both, but now i want them togetter.
Let me explain better.
first script is to make an auto-popup
<script>
function openpopup(){
var popurl="thankyou.htm"
winpops=window.open(popurl,"","width=400,height=338,scrollbars,")
}
openpopup()
</script>
than the second one is to make a chromless window
<script language="javaScript" type="text/javascript" SRC="java.js"></SCRIPT>
<script>
function openIT() {
theURL="yourpage.html"
wname ="CHROMELESSWIN"
W=300;
H=100;
windowCERRARa = "close_a.gif"
windowCERRARd = "close_d.gif"
windowCERRARo = "close_o.gif"
windowNONEgrf = "none.gif"
windowCLOCK = "clock.gif"
windowREALtit = " ? Task title"
windowTIT = "<font face=verdana size=1> your chromless</font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#000000"
windowTITBGCOLOR = "#FF0033"
windowTITBGCOLORsel = "#FF0033"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script>
But now i want a Chromless Window to popup automaticly
Best Regards,
cuoreart
Let me explain better.
first script is to make an auto-popup
<script>
function openpopup(){
var popurl="thankyou.htm"
winpops=window.open(popurl,"","width=400,height=338,scrollbars,")
}
openpopup()
</script>
than the second one is to make a chromless window
<script language="javaScript" type="text/javascript" SRC="java.js"></SCRIPT>
<script>
function openIT() {
theURL="yourpage.html"
wname ="CHROMELESSWIN"
W=300;
H=100;
windowCERRARa = "close_a.gif"
windowCERRARd = "close_d.gif"
windowCERRARo = "close_o.gif"
windowNONEgrf = "none.gif"
windowCLOCK = "clock.gif"
windowREALtit = " ? Task title"
windowTIT = "<font face=verdana size=1> your chromless</font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#000000"
windowTITBGCOLOR = "#FF0033"
windowTITBGCOLORsel = "#FF0033"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script>
But now i want a Chromless Window to popup automaticly
Best Regards,
cuoreart