ndisdabest
ndisdabest

Reputation: 329

Stopping Pages from Moving on Touch

Question about creating pages in jQuery Mobile. I've created a mobile site... if you touch the first page of my site and move your finger side to side, the page does not shift around on the screen. However, if you move to the second page of my site, touch the screen and move your finger side to side, it seems like the whole window moves back and forth.

Ideally, I'd like to make everything "locked" on the screen so this shifting does not take place.

Any ideas as to what might be causing this?

Upvotes: 1

Views: 530

Answers (1)

thecodeparadox
thecodeparadox

Reputation: 87073

try this:

<meta name = "viewport" content = "width=320, initial-scale = 1.0, user-scalable = no">

Upvotes: 2

Related Questions