Manipulation of the DOM (changing things about items on the page via javscript) is disabled while finger-dragging.
The parallax scrolling works by sensing when the screen is scrolled, and adjusts the position of the text and background-image (the underwater bits) at different speeds to give a sense of depth & parallax effect. The browser does this by (for example) for each 1 pixel scrolled, it will move the text up 3px and the background image up 2px (if it’s to go at twice the speed of the main base layer). An example here : http://www.carlsbadschool.cz iOS browsers don’t allow that sort of manipulation to what’s on the page while a finger is touching the screen. For that reason I have to build animations and effects such as this, then disable them for touch devices, sad really! Regards Sam MacAmbulance Ltd. Providing Affordable Mac/PC Support and Web Development Sam Mullen ACMT +44 (0)7747778022 [email protected] www.macambulance.co.uk MacAmbulance Ltd. is a registered company in England & Wales, registration number 8466597 This email is intended solely for the addressed recipients and may contain privileged or confidential information. If you have received this email in error please notify the sender and delete the email immediately. On 20 Jan 2014, at 08:22, [email protected] wrote: > I know we've ascertained that the animations don't work on iOS but why is > that? I'd assumed that it was HTML5 cleverness and given that all the 5c and > 5s ads worked OK on my iPad (as far as I remember) what are they doing here > that means Safari on iOS can't render them properly? > > Just curious. > > Stephen > > > On 18 Jan 2014, at 16:21, Paul Owen <[email protected]> wrote: > >> Disregarding the subject – which is iPads underwater - this webpage uses >> interesting features I haven’t noticed elsewhere before. >> >> <http://www.apple.com/your-verse/new-depths/> >> >> Paul Owen > > > “anyone who believes exponential growth can go on forever in a finite world > is either a madman or an economist” - Kenneth Boulding > > > -- > You received this message because you are subscribed to the Google Groups > "Sussex Mac User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send an email to [email protected]. > Visit this group at http://groups.google.com/group/smug. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Sussex Mac User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. Visit this group at http://groups.google.com/group/smug. For more options, visit https://groups.google.com/groups/opt_out.
