[Project_owners] showPopup

Michael Johnston special.michael at gmail.com
Sun Jun 12 20:06:24 EDT 2005

i'm having problems  with getting my popup's to position themselves
where i want them.

it always appears in the top left of my screen (screen coordinatets 0,0 )

here is my code:
function other(){

	var popup= document.getElementById("my_popup");

	var focus= document.commandDispatcher.focusedElement;

	var x= -1; // this.screenX;
	var y= -1; // this.screenY;
	if(f!= null){
//		popup.showPopup(null,x,y,"popup","","");
}//function other()

focus comes back as a 

how can i get the popup to appear below the current focused HTMLInputElement?


More information about the Project_owners mailing list