i made a chromeless thing from an example on another site…but i want to edit the javascript to open any URL that i pass to it…
function openIT() {
theurl="siteconcept.swf"
wname ="CHROMELESSWIN"
W=1050;
H=700;
windowCERRARa = "img/close_a.gif"
windowCERRARd = "img/close_d.gif"
windowCERRARo = "img/close_o.gif"
windowTIT = "<font face=verdana size=1> window title</font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#FFFFFF"
windowTITBGCOLOR = "#e0e0e0"
windowTITBGCOLORsel = "#a0a0a0"
openchromeless(theurl, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowTIT,
windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
that is the current code and i dont know why i cant just do
function openIT(theurl) {
//theurl="siteconcept.swf"
wname ="CHROMELESSWIN"
W=1050;
H=700;
windowCERRARa = "img/close_a.gif"
windowCERRARd = "img/close_d.gif"
windowCERRARo = "img/close_o.gif"
windowTIT = "<font face=verdana size=1> window title</font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#FFFFFF"
windowTITBGCOLOR = "#e0e0e0"
windowTITBGCOLORsel = "#a0a0a0"
openchromeless(theurl, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowTIT,
windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
but it doesnt work… am i doing something wrong?