PDA

View Full Version : 'on MOuse Up' Compatibility


BusterLee
11-11-2002, 07:35 PM
Not sure whether this should be here of in Java but here goes anyway.

I have place an advert on a page that needs to be clicked before visitors can enter a subsequent page.

When the advert is 'clicked' a new window opens woth advert, however in the main window a new page opens as a result of a 'on mouse up' command.

How universal is 'on mouse up'? Are there any problems i am likely to come up against?ie: browser not supporte etc!!

Any comments would be cool!!

MCookie
11-11-2002, 08:38 PM
I really know nothing about this, but I do know this is not only about browser support as well as element support. And if I remember well the <img> element supports onmouseup from NN4-up and IE4-up..

Roy Sinclair
11-11-2002, 10:21 PM
Without looking at your code I can't say for sure but my guess is that your link is set up so that an action occurs via the href= link and that you're watching an event as well and in the event handling you also have an action occuring but you aren't returning a false value to the event handling so the default href= link is also executed.