View Full Version : how to get a popup to close when mouse out

11-24-2010, 10:30 AM
hi i am creating a page with an image with hotspots on it using behaviors i added open browser window and entered a page size but when i tried it the page opens but stays open is there any code which i can add to get it to close when the mouse moves out of the hotspot area? thanks
here is the code im using

<area shape="circle" coords="345,143,32" href="#" onmouseover="MM_openBrWindow('shoulder.html','','width=100,heig ht=50')" />:confused:

11-24-2010, 10:38 AM
I think you can use a command called onmouseout.

11-25-2010, 04:30 PM
If you open a new browser window, I don't think you'll be able to close it using Dreamweaver's built in behaviors. It looks more like what you really want to do is show and hide a div which can be done.

11-25-2010, 09:35 PM
thanks guys i think i will just use onclick rather than mouse over it seems to work thanks again