Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Disabling the Save Sheet on IMG Elements?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling the Save Sheet on IMG Elements?



Thanks, adding -webkit-touch-callout:none; -webkit-user-select:none; to my body element style solved it!

On Aug 5, 2009, at 3:51 PM, David Kilzer wrote:

There is a way to do this, but I forget the CSS property you must use. It may be "-webkit-touch-callout: none;", or maybe "-webkit- user-select: none;", I don't remember.

Dave


On Aug 5, 2009, at 11:37 AM, Joshua Smith wrote:

I've confirmed that this bug also exists on a real iPhone, not just on the simulator.

You can see a live example of this problem here:

http://kaontest.s3.amazonaws.com/test4.html

Touch and hold on the image and the Save sheet comes up.

Anyone have any ideas of how I can disable the Save sheet?

-Joshua

On Aug 4, 2009, at 6:06 PM, Vicki Murley wrote:

Have you tried:

<img src="apple.gif" ontouchstart="event.preventDefault();">

?


~ Vicki



On Aug 4, 2009, at 2:14 PM, Joshua Smith wrote:

I've figured out how to override all the gestures and such, except the Save Sheet that comes up when I press and hold on an image.

Is there a meta tag or an event handler I can use to keep this from appearing?

(Gestures on the image are going to result in some interactive behavior in my web app.)

-Joshua

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Safari-iPhone-Web-Dev mailing list (email@hidden )
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Safari-iPhone-Web-Dev mailing list (email@hidden )
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Safari-iPhone-Web-Dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Disabling the Save Sheet on IMG Elements? (From: Joshua Smith <email@hidden>)
 >Re: Disabling the Save Sheet on IMG Elements? (From: Joshua Smith <email@hidden>)
 >Re: Disabling the Save Sheet on IMG Elements? (From: David Kilzer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.