lazybox 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -90,7 +90,15 @@ you can use lazybox for displaing images
90
90
  # Events
91
91
 
92
92
  $(document).trigger('close.lazybox')
93
+ $(document).trigger('center.lazybox')
93
94
 
94
- #
95
+
96
+ # Browser Compatibility:
97
+
98
+ ie7 +(for ie7 you have to set width of lazybox `#lazybox { width: 400px; }`)
99
+ Chrome
100
+ Firefox
101
+ Opera
102
+ Safari
95
103
 
96
104
  Copyright© Alex Galushka
@@ -1,3 +1,3 @@
1
1
  module Lazybox
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -60,4 +60,5 @@
60
60
  }
61
61
 
62
62
  $(document).bind('close.lazybox', function(){ close_lazybox() });
63
+ $(document).bind('center.lazybox', function(){ center_lazybox() });
63
64
  })(jQuery);
@@ -1,4 +1,4 @@
1
- #lazybox_overlay{
1
+ #lazybox_overlay {
2
2
  background: black;
3
3
  bottom: 0px;
4
4
  display: none;
@@ -9,7 +9,7 @@
9
9
  z-index: 100;
10
10
  }
11
11
 
12
- #lazybox{
12
+ #lazybox {
13
13
  background-color: #fff;
14
14
  border: 1px solid #ccc;
15
15
  border-radius: 10px;
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazybox
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 9
10
- version: 0.0.9
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Galushka
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-18 00:00:00 Z
18
+ date: 2012-01-22 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails