dep
01-04-2006, 07:17 PM
This is working in IE, but can I get some help with firefox?
var IE = document.all?true:false;
// Temporary variables to hold mouse x-y pos.s
var tempX = 0;
var tempY = 0;
var windowPos = dd.elements["popupWindow"];
// Main function to retrieve mouse x-y pos.s
if (IE) { // grab the x-y pos.s if browser is IE
tempX = event.clientX + document.body.scrollLeft + 20;
tempY = event.clientY + document.body.scrollTop - 32;
windowPos.moveTo(tempX, tempY);
}else{
// ?????????
}
dep
var IE = document.all?true:false;
// Temporary variables to hold mouse x-y pos.s
var tempX = 0;
var tempY = 0;
var windowPos = dd.elements["popupWindow"];
// Main function to retrieve mouse x-y pos.s
if (IE) { // grab the x-y pos.s if browser is IE
tempX = event.clientX + document.body.scrollLeft + 20;
tempY = event.clientY + document.body.scrollTop - 32;
windowPos.moveTo(tempX, tempY);
}else{
// ?????????
}
dep