Double click question for iPhone

On some websites I need to double click on an icon to get to the next section. Safari on the iPhone will not allow this, as the web browser simply zooms in. Why have two zoom features(double tap and pinch?) I find pinching a much more accurate way to zoom, and double tap an excellent way to select function. Is there any way or setting to fix this? Thanks...

iMac G5, Macbook, Mac OS X (10.4.10)

Posted on Sep 9, 2007 9:59 AM

Reply
10 replies

Oct 1, 2007 12:32 PM in response to Tony Cordaro

Here's some sample js - hopefully this form doesn't kill it:

<pre>
var previous_date = new Date();
function doubleClick(e) {
var e = e || window.event;
var date = new Date();
if (date - previous_date < 500) {
console.log('Double Click');
// You could then inspect the event to find out which element was double clicked here
} else {
console.log('Single Click');
}
previous_date = date;
}
document.onclick = doubleClick;


document.ondblclick = function(e) {
var e = e || window.event;
console.log('Real Double Click');
}
</pre>

Oct 3, 2007 10:06 PM in response to bigsweatshirt

I'm confused....
How does this Java script answer the question (How do we double-click using iPhone Browser?).

Also, why is it that everytime this question is asked, people jump in and say "you don't need to double-click". WE DO. Some web sights require it.

So, if somebody knows how an average user can double-click on an item from the iPhone, please let us know.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Double click question for iPhone

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.