12-08-2008 03:18 PM
does anybody know a way to create something equivalent to a mouseOver in response to touching an object in the Storm's touch screen UI? (basically, I would like to highlight an item, as your finger goes over it, without switching to cursor mode).
Thanks a lot for any ideas!
Solved! Go to Solution.
12-08-2008 07:12 PM
12-08-2008 08:12 PM
sorry, I think I didn't explain the problem very clearly (but thanks a lot for your prompt reply!):
on the Storm you can operate the Browser in two modes: either you click on links etc. directly with your finger, or you switch on a cursor mode and the touch screen then operates almost more like a trackpad to let you move the cursor around. In the cursor mode I get my mouseOver highlights just as you'd expect when the cursor goes over the object. But I would like to be able to give the user some feedback in the *other* mode (I think it's called Pan Mode, but not sure right now) and highlight the object when they touch it with their finger. At the moment I can only get the built in link-selection on text links, but I want to be able to attach a custom 'onTouch' function to a div.
Does that make any sense?
12-09-2008 05:42 AM
12-11-2008 01:10 PM
Just in case anybody else is interested:
Apparently there is no JS handler that can pick up on touch, but the CSS :hover pseudo-class is supported (in chained selectors only on the last simple selector) - so at least that's good enough for some visual feedback on touch.