Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Commit

Permalink
updated shim and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Prinzhorn committed Oct 10, 2012
1 parent 4228511 commit 3e3fc3a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
4 changes: 3 additions & 1 deletion examples/anchors.html
@@ -1,7 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta charset="utf-8">

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

<title>Anchors</title>

Expand Down
4 changes: 3 additions & 1 deletion examples/bg_constant_speed_less.html
@@ -1,7 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta charset="utf-8">

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

<title>Background scroll - less content</title>

Expand Down
4 changes: 3 additions & 1 deletion examples/bg_constant_speed_more.html
@@ -1,7 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta charset="utf-8">

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

<title>Background scroll - more content</title>

Expand Down
5 changes: 3 additions & 2 deletions examples/mobile.html
@@ -1,8 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta charset="utf-8">

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

<title>skrollr on mobile devices</title>

Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">

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

<title>skrollr - parallax scrolling for the masses</title>

Expand Down
3 changes: 1 addition & 2 deletions shim.html
Expand Up @@ -3,7 +3,7 @@
<head class="no-skrollr">
<meta charset="utf-8">

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

<title>Your title</title>
</head>
Expand All @@ -15,7 +15,6 @@
<div id="skrollr-body">
<!--
Put all your elements here.
This will magically make position:fixed work on iOS < 5
-->
</div>

Expand Down

0 comments on commit 3e3fc3a

Please sign in to comment.