Newbie question about popups

  • Follow


Hey all,

This seems like it should be simple to me...
I have several pics. When a user moves their mouse over a pic, a
javascript popup appears. When they move their mouse off the pic, the
popup disappears. No problem.

Recently I decided to turn the popup text into links. I accomplished
this with no errors. My problem is that the popup still disappears when
the user moves their mouse off the pic. IOW, the mouseover focus
doesn't transfer to the popup. I'm thinking I need to convert the
javascript popup into a full-fledged menu to accomplish this.

Does anyone have a useful link or info on this kind of
dynamic-menu-over-image-file-scenario? 

Thanks

0
Reply roy.anderson (24) 12/7/2005 9:26:54 PM

royDOTandersonATgmail said the following on 12/7/2005 4:26 PM:
> Hey all,
> 
> This seems like it should be simple to me...
> I have several pics. When a user moves their mouse over a pic, a
> javascript popup appears. When they move their mouse off the pic, the
> popup disappears. No problem.
> 
> Recently I decided to turn the popup text into links. I accomplished
> this with no errors. My problem is that the popup still disappears when
> the user moves their mouse off the pic. IOW, the mouseover focus
> doesn't transfer to the popup. I'm thinking I need to convert the
> javascript popup into a full-fledged menu to accomplish this.
> 
> Does anyone have a useful link or info on this kind of
> dynamic-menu-over-image-file-scenario? 

Add an onmouseover to your popup that is the exact same as your 
onmouseover for the image and make sure the image and the popup overlap 
one another. It is the basis for most div-based menu systems.

-- 
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
0
Reply Randy 12/7/2005 9:45:14 PM


1 Replies
78 Views

(page loaded in 0.044 seconds)


Reply: