Question:
How can javascript tell if the mouse is not over a popup window?
beleoa
2007-05-22 10:04:21 UTC
if there is a way using ycoord and xcoord on a popup window to Know if the user is nolonger on the popup window?

xscreen will take the coordinates of the whole screen which is not the desired effect.

the code snipit:

this.popup = window.createPopup();
alert ("this.popup = window.createPopup();");
popupCreated58498 = 1;
this.popup.document.open();
this.popup.document.write('' + html58498 + '');
this.popup.document.close();
unexpanded58498 = document.all("FlashUES58498");
this.popup.show(eleft58498,etop58498,ewidth58498,parseInt(eheight58498),unexpanded58498);
----------------------------------------
or is there a way to use onmouseoff to tell if the user is nolonger on the popup?

the popup is being generated only by javascript. so I can't use javascript out side of the tag.
Three answers:
Vikram C
2007-05-22 11:28:46 UTC
You can do it with the help of javascript.

I think this code can help you. Its just a sample code

you can modify it.

What this code does is.... whenever you move your mouse

inside the body tag 'onMouseMove' event is fired.

and when you move out 'onMouseOut' event is fired.














onmouseOut="xyz()">



signorelli
2016-11-26 06:15:42 UTC
image taken during WW II exhibits all around st Paul's burning and then the outstanding dome showing above the rubble. The British human beings labored annoying to keep ST Paul's and Prince Charles and Princess Diana have been given married there in 1981.
anonymous
2007-05-22 10:16:26 UTC
i bet if you use some PHP you can put a code in the pop up window and on the page the window opens, but i do not know were to find it.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...