Skip to content

Commit 7e1908e

Browse files
authored
Added installation documentation (#253)
* added installation documentation * using absolute urls * minor tweak
1 parent 276c6b5 commit 7e1908e

File tree

4 files changed

+38
-4
lines changed

4 files changed

+38
-4
lines changed

doc/cookbook/wordpress.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ Integrate Infinite AJAX Scroll with Wordpress
33

44
In this cookbook we install Infinite AJAX Scroll into the default Twenty Twelve theme.
55

6-
1) Download [jquery-ias.min.js](../download.html).
6+
1) Download [jquery-ias.min.js](http://infiniteajaxscroll.com/download.html).
77

88
2) Copy `jquery-ias.min.js` into the folder `wp-content/themes/twentytwelve/js`
99

1010
3) Open `wp-content/themes/twentytwelve/header.php` in your editor
1111

1212
4) Add jQuery to the theme. To do so, paste the following code before the line with "`</head>`":
1313

14-
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
14+
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
1515

1616
5) Paste the following code before the line with "`</head>`":
1717

doc/installation.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Installation
2+
============
3+
4+
### Manual
5+
6+
1) Download [jquery-ias.min.js](http://infiniteajaxscroll.com/download.html).
7+
8+
2) Copy `jquery-ias.min.js` into your web directory
9+
10+
4) Add jQuery. To do so, paste the following code before the line with "`</head>`":
11+
12+
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
13+
14+
5) Paste the following code before the line with "`</head>`":
15+
16+
<script src="path-to-web/jquery-ias.min.js" type="text/javascript"></script>
17+
18+
6) Continue to [Getting Started](getting-started.html).
19+
20+
### Using Bower
21+
22+
It is possible to install Infinite AJAX Scroll using Bower. Only caveat is that the javascript files won't be minified.
23+
24+
1) Type the following on the command line:
25+
26+
`bower install infinite-ajax-scroll --save`
27+
28+
2) Paste the following code before the line with "`</head>`":
29+
30+
<script src="bower_components/jquery/jquery.min.js" type="text/javascript"></script>
31+
<script src="bower_components/jquery-ias/src/callbacks.js" type="text/javascript"></script>
32+
<script src="bower_components/jquery-ias/src/jquery-ias.js" type="text/javascript"></script>
33+
34+
3) Continue to [Getting Started](getting-started.html).

doc/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Overview
1111

1212
Infinite AJAX Scroll may be used in commercial projects and applications with the one-time purchase of a commercial license.
1313

14-
<a href="../download.html" title="Buy Infinite AJAX Scroll Commercial License" class="btn btn-buy clicky">Buy Commercial License</a>
14+
<a href="http://infiniteajaxscroll.com/download.html" title="Buy Infinite AJAX Scroll Commercial License" class="btn btn-buy clicky">Buy Commercial License</a>
1515

1616
For non-commercial, personal, or open source projects and applications, you may use Infinite AJAX Scroll under the terms of the MIT License. You may use Infinite AJAX Scroll for free.
1717

doc/license.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ With the purchase of a commercial license:
1313

1414
* You may use Infinite AJAX Scroll in commercial applications.
1515

16-
<a href="../order/94183.html" title="Buy Infinite AJAX Scroll Commercial License" class="btn btn-buy clicky">Buy Commercial License</a>
16+
<a href="http://infiniteajaxscroll.com/order/94183.html" title="Buy Infinite AJAX Scroll Commercial License" class="btn btn-buy clicky">Buy Commercial License</a>
1717

1818
## Infinite AJAX Scroll Commercial License Agreement
1919

0 commit comments

Comments
 (0)