javascript Programming Glossary: popupleft
Open popup at clicked position http://stackoverflow.com/questions/10492910/open-popup-at-clicked-position script var mouseX mouseY windowWidth windowHeight var popupLeft popupTop document .ready function document .mousemove function.. 'div' .outerHeight if mouseX popupWidth windowWidth popupLeft mouseX popupWidth else popupLeft mouseX if mouseY popupHeight.. popupWidth windowWidth popupLeft mouseX popupWidth else popupLeft mouseX if mouseY popupHeight windowHeight popupTop mouseY popupHeight..
|