There is a built-in shake function in PhoneGap
http://phonegap.pbworks.com/Handling-Shake-Events

remi

On Thu, Nov 19, 2009 at 21:42, Ross Butler <[email protected]> wrote:
> Sorry, I should have mentioned this is for an app and I am using
> PhoneGap, hence "index.html"
>
> Is there any way?
>
> Thanks,
>
> Ross.
>
>
> On 19 Nov 2009, at 16:54, Niels Leenheer wrote:
>
>> Sorry, but this is not possible. Safari doesn't send shake events.
>>
>> Cheers,
>> Niels
>>
>> Sent from my iPhone
>>
>> On 19 nov 2009, at 17:47, London iPhone Dev <[email protected]>
>> wrote:
>>
>>> Hey Guys & Gals!
>>>
>>> Could anyone advise me javascript that will allow me to shake to
>>> change page from "index.html" to "menu.html"
>>>
>>> I'm not a Javascript kinda guy, Your help is much appreciated.
>>>
>>> Thanks in advance.
>>>
>>> Ross
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google
>>> Groups "iPhoneWebDev" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to 
>>> [email protected]
>>> .
>>> For more options, visit this group at 
>>> http://groups.google.com/group/iphonewebdev?hl=
>>> .
>>>
>>>
>>
>> --
>>
>> You received this message because you are subscribed to the Google
>> Groups "iPhoneWebDev" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected]
>> .
>> For more options, visit this group at 
>> http://groups.google.com/group/iphonewebdev?hl=
>> .
>>
>>
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "iPhoneWebDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/iphonewebdev?hl=.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=.


Reply via email to