chromeless und resized problem

snikka

Mitglied
ich habe ein ganz normales chromeless window, jedoch möchte ich es an eine bestimmte stelle im browser anzeigen lassen... hat jemand eine idee?

PHP:
function MDM_openWindow(theURL) 
{ 
	wname ="CHROMELESSWIN"
	W=800;
	H=290;
	windowCERRARa 			= "close_a.gif"
	windowCERRARd 			= "close_d.gif"
	windowCERRARo 			= "close_o.gif"
	windowNONEgrf 			= "none.gif"
	windowCLOCK				= "clock.gif"
	windowREALtit			= " "
	windowTIT 	    		= "<font face=verdana size=1>test  &nbsp 1 &nbsp 2 &nbsp 3 </font>"
	windowBORDERCOLOR   	= "#DDE2D7"
	windowBORDERCOLORsel	= "#DDE2D7"
	windowTITBGCOLOR    	= "#DDE2D7"
	windowTITBGCOLORsel 	= "#DDE2D7"
  	var _W=openchromeless(theURL, wname, W, H, windowCERRARa,
                       windowCERRARd, windowCERRARo,
                       windowNONEgrf, windowCLOCK, windowTIT,
                       windowREALtit,windowBORDERCOLOR,
                       windowBORDERCOLORsel, windowTITBGCOLOR,
                       windowTITBGCOLORsel );
	  
    _W.moveTo(10,10)  
}

ich hatte das _W.moveTo auch schon in der openchromeless klammer drinne.. gebracht hats aber nur, dass das window mit dem link sich resized hat und nicht das chromeless ....

snikka
 
jo das mit der variabel ist ja klar.... mhm aber mit dem fensternamen klappt es acuh nicht... muss das .moveTo an eine andere stelle?
 
windowREALtit = " "
Wer denkt sich solche Scripte aus? :)
muss das .moveTo an eine andere stelle?
Njet, das ist richtig dort.
Aber du musst halt ein "chromelesswin" davorsetzen, denn das ist der Fenstername - und das muss gehen. :)
PHP:
function MDM_openWindow(theURL) 
{ 
    wname = "chromelesswin";
    W=800;
    H=290;
    windowCERRARa             = "close_a.gif";
    windowCERRARd             = "close_d.gif";
    windowCERRARo             = "close_o.gif";
    windowNONEgrf             = "none.gif";
    windowCLOCK                = "clock.gif";
    windowREALtit            = " ";
    windowTIT                 = "<font face=verdana size=1>test  &nbsp 1 &nbsp 2 &nbsp 3 </font>";
    windowBORDERCOLOR       = "#DDE2D7";
    windowBORDERCOLORsel    = "#DDE2D7";
    windowTITBGCOLOR        = "#DDE2D7";
    windowTITBGCOLORsel     = "#DDE2D7";
    openchromeless (theURL, wname, W, H, windowCERRARa,
                       windowCERRARd, windowCERRARo,
                       windowNONEgrf, windowCLOCK, windowTIT,
                       windowREALtit,windowBORDERCOLOR,
                       windowBORDERCOLORsel, windowTITBGCOLOR,
                       windowTITBGCOLORsel );
      
    chromelesswin.moveTo(10,10);
}
hth,
Geist
 

Neue Beiträge

Zurück