1

My website truptidesale.com has animation which is created using three.js on canvas. i have given background image to canvas and made position as absolute and z-index -1 so that my navigation bar will be on top of canvas. This works very well on my desktop but website does not scroll or cant click on navigation bar when i access website on iphone or android phone.

can somebody please help me to make this work on mobile? Thank you so much.

Trupti
  • 31
  • 5
  • At the very end of html code of your page, there is a closing `` tag, which doesn't have opening ` – prisoner849 Nov 30 '16 at 20:25
  • Hi Thank you so much for noticing that. I have added – Trupti Nov 30 '16 at 20:46
  • 1
    in `snowfall.js`, there are two functions about touch events: `onDocumentTouchStart` and `onDocumentTouchMove`. Inside those functions try to comment lines with `event.preventDefault();` – prisoner849 Nov 30 '16 at 21:39
  • Hi prisoner849, It worked. Thank you so much.. it works like a charm !! :) – Trupti Dec 01 '16 at 00:50

0 Answers0