Question on CSS hover/mouseover in iPad?

You may want to capture and take action on the touchstart event. For mobile devices without mice, you get a series of events when someone taps on the screen.

You may want to capture and take action on the touchstart event. For mobile devices without mice, you get a series of events when someone taps on the screen: touchstart touchend mousedown mouseup click The mouse* events don't happen until after touchend, which may not be the behavior you want. Check out Apple's mobile Safari event docs for more info.

Actually I have added live() handlers for touchstart, click, mouseover...But still does not work...Essentially what I want is to remove the :hover state from the link when the button is clicked... – testndtv Jul 27 at 12:52 The concept of "hover" doesn't translate well to touch devices. There is no hover. With a mouse, there's a clear delineation between when the mouse pointer is over something and when you've engaged the mouse button.

With touch devices, there's no such distinction. You're either touching the device or you're not. So my recommendation is to get away from using :hover in CSS, and instead, use events that best match what you want to achieve, whether that's touchstart, mousedown, click, etc.– jimbojw Jul 27 at 12:59 Well I am completely aware there is no hover concept on iPad....But I am trying to implement this thing on an existing desktop web app (same is used for ipad) and for some reason it does apply the :hover state that is defined in the CSS...I am looking for someway to override this...Please read my question carefully and you'll come to know what I am looking for exactly... – testndtv Jul 27 at 13:03.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions