Forum Moderators: open

Message Too Old, No Replies

convert popup to onmouseover

         

tonynoriega

4:30 pm on Oct 16, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<p><a href="javascript:popUp('/plans/individual/continue-to-ap-pop.asp', '400', '200', '287', '266')">Upgrade my coverage to a plan with richer benefits.</a></p>

is there a way to call this popup page, which is a small .asp page, using onmouseover?

i have tried several techniques and can not figure it out...

thanks

oh, also, is the mouseover susepctable to being a "pop up" and being blocked?

rocknbil

6:03 pm on Oct 16, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<p><a href="/plans/individual/continue-to-ap-pop.asp" onClick="return popUp('/plans/individual/continue-to-ap-pop.asp', '400', '200', '287', '266')" onMouseOver="popUp('/plans/individual/continue-to-ap-pop.asp', '400', '200', '287', '266')">Upgrade my coverage to a plan with richer benefits.</a></p>

Add return false; to the very end of your popUp routine. This will stop the link from doing what it normally does on a click, allowing the JS to handle it, but if JS is disabled the link will still work.

Blocked, I don't know. If it doesn't, it SHOULD be because any arbitrary movements over the link will cause the pop up and this would be annoying.