Guest KV5 Posted February 20, 2009 Share Posted February 20, 2009 OK, so I'm at a loss here. I've read most of the tutorials on the website and have not been able to find an answer to this question, so I figured I would ask those who know more than I do. The original code for the "create a pop up" window tutorial is as follows: <html><head><script type="text/javascript">function show_popup(){var p=window.createPopup();var pbody=p.document.body;pbody.style.backgroundColor="lime";pbody.style.border="solid black 1px";pbody.innerHTML="This is a pop-up! Click outside the pop-up to close.";p.show(150,150,200,50,document.body);}</script></head><body><button onclick="show_popup()">Show pop-up!</button></body></html> What I am trying to do is to make an "onmouseOut" event that makes the pop-up window disappear when you leave the object. For the life of me, I can't figure this out. Any help would be appreciated!KV5 Link to comment Share on other sites More sharing options...
justsomeguy Posted February 23, 2009 Share Posted February 23, 2009 I'm not real sure how those popups work, that code only runs in IE. None of the other browsers have a window.createPopup method. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.