contentflow 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +28 -6
- data/lib/contentflow/version.rb +1 -1
- data/vendor/assets/javascripts/contentflow.js +3 -2
- metadata +1 -1
data/README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
|
1
|
+
Contentflow
|
2
|
+
===========
|
2
3
|
|
3
|
-
|
4
|
+
ContentFlow is a flexible CoverflowTM / ImageFlow like flow written in javascript, which can handle any kind of content for the Rails 3.1+ asset pipeline. It supports all new and old major and not so major browsers. It's distributed under the MIT License.
|
4
5
|
|
5
|
-
|
6
|
+
Installation
|
7
|
+
------------
|
6
8
|
|
7
9
|
Add this line to your application's Gemfile:
|
8
10
|
|
@@ -16,11 +18,31 @@ Or install it yourself as:
|
|
16
18
|
|
17
19
|
$ gem install contentflow
|
18
20
|
|
19
|
-
|
21
|
+
Usage
|
22
|
+
-----
|
20
23
|
|
21
|
-
|
24
|
+
### Stylesheets
|
22
25
|
|
23
|
-
|
26
|
+
Add necessary stylesheet file to app/assets/stylesheets/application.css:
|
27
|
+
|
28
|
+
``` css
|
29
|
+
*= require contentflow
|
30
|
+
```
|
31
|
+
|
32
|
+
### Javascript
|
33
|
+
|
34
|
+
Add necessary javascript file to app/assets/javascripts/application.js
|
35
|
+
|
36
|
+
``` javascript
|
37
|
+
//= require contentflow
|
38
|
+
```
|
39
|
+
|
40
|
+
### Configuration
|
41
|
+
|
42
|
+
For configuration details please visit [Contentflow official site](http://jacksasylum.eu/ContentFlow/).
|
43
|
+
|
44
|
+
Contributing
|
45
|
+
------------
|
24
46
|
|
25
47
|
1. Fork it
|
26
48
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
data/lib/contentflow/version.rb
CHANGED
@@ -110,8 +110,9 @@ var ContentFlowGlobal = {
|
|
110
110
|
|
111
111
|
init: function () {
|
112
112
|
/* add default stylesheets */
|
113
|
-
this.addStylesheet(this.CSSBaseDir+'contentflow.css');
|
114
|
-
this.addStylesheet(this.CSSBaseDir+'mycontentflow.css');
|
113
|
+
// this.addStylesheet(this.CSSBaseDir+'contentflow.css');
|
114
|
+
// this.addStylesheet(this.CSSBaseDir+'mycontentflow.css');
|
115
|
+
// FF2: without adding a css-file FF2 hangs on a reload.
|
115
116
|
// I don't have the slidest idea why
|
116
117
|
// Could be timing problem
|
117
118
|
this.loadAddOns = new Array();
|