You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you created an extension for some CMS, email me and I'll add it to this list.
19
+
If you created a popup extension for something, email me and I'll add it to this list.
24
20
25
21
## Location of stuff
26
22
@@ -29,13 +25,6 @@ If you created an extension for some CMS, email me and I'll add it to this list.
29
25
- Website (examples & documentation) is in folder [website/](https://github.com/dimsemenov/Magnific-Popup/tree/master/website).
30
26
- Documentation page itself is in [website/documentation.md](https://github.com/dimsemenov/Magnific-Popup/blob/master/website/documentation.md) (contributions to it are very welcome).
31
27
32
-
33
-
34
-
## Using Magnific Popup?
35
-
36
-
If you used Magnific Popup in some interesting way, or on site of popular brand, I'd be very grateful if you <a href="mailto:[email protected]?subject="Site that uses Magnific Popup"">shoot me</a> a link to it.
37
-
38
-
39
28
## Build
40
29
41
30
To compile Magnific Popup by yourself, first of make sure that you have [Node.js](http://nodejs.org/), [Grunt.js](https://github.com/cowboy/grunt), [Ruby](http://www.ruby-lang.org/) and [Jekyll](https://github.com/mojombo/jekyll/) installed, then:
@@ -58,13 +47,141 @@ Optionally:
58
47
- If you don't have and don't want to install Jekyll, run `grunt nosite` to just build JS and CSS files related to popup in `dist/`.
59
48
60
49
50
+
## Changelog
51
+
52
+
### 0.9.9 (Nov 15, 2013)
53
+
54
+
- Popup instance object is now available even before the first `$.fn.magnificPopup call`.
55
+
- Methods `_onFocusIn` and `_setFocus` are now public, to allow overriding.
56
+
57
+
### 0.9.8 (Oct 26, 2013)
58
+
59
+
- Added figure and figcaption elements to image markup (#233, thanks to @pjackson28).
60
+
- To avoid "jump" of content background, gap from right side (that "replaces" the scrollbar) is added with help of `margin`, instead of `padding`, (closes #125, thanks to @chodorowicz).
61
+
- Function that checks if the clicked element should close popup or not is now public (so it <ahref="http://dimsemenov.com/plugins/magnific-popup/documentation.html#how_to_override_some_function_without_modifying_the_source_files">can be overridden with your own logic</a>).
- CSS: removed outline on buttons (thanks to @OriginalEXE).
67
+
- Allow multiple string tokens to be passed in gallery variables like `%curr% of %total%` and `%title%` (#234, thanks to Petr Marek).
68
+
- A few small changes to Grunt build, `grunt-contrib-sass` > `grunt-sass`. (thanks to @nschonni).
69
+
70
+
### 0.9.6 (Sep 29, 2013)
71
+
72
+
- Fixed bug: options object that you pass to popup gets modified after the initialization (#217, #203).
73
+
- Fixed bug: zoom module creates global variable (#226).
74
+
- Fixed bug: gallery from AJAX popups stacks content if it's switched before loading has finished.
75
+
- Indented and combined SCSS classes (thanks to @nschonni).
76
+
-`$.magnificPopup.close()` now doesn't throw an exception if there's no instance (#221, thanks to @mjlescano).
77
+
78
+
### 0.9.5 (Aug 21, 2013)
79
+
80
+
- Fixed bug: built-in tab focus in popup works incorrectly (caused by 0.9.3 update).
81
+
82
+
### 0.9.4 (Aug 7, 2013)
83
+
84
+
- Fixed bug: error in IE7 when minified version of script is used with some versions of jQuery, #156.
85
+
- Fixed bug: DOM exception in Chrome when using gallery mode with some versions of jQuery, #177.
86
+
87
+
### 0.9.3 (Jul 16, 2013)
88
+
89
+
- Fixed blurry arrows in FF (#142)
90
+
- Added `lazyLoadError` callback.
91
+
- Popup now prevents closing if the clicked element is remvoved from DOM.
92
+
-`overflow:hidden` is now applied to `html` instead of `body`.
93
+
- Increased default z-index to from 500 to 1040.
94
+
95
+
### 0.9.2 (Jul 5, 2013)
96
+
97
+
- Fixed bug in new zoom module, that could cause incorrect calculation of image height, when jQuery is used instead of Zepto.
98
+
99
+
### 0.9.1 (Jul 4, 2013)
100
+
101
+
- Added zoom module effect for images, go to Magnific Popup [website](http://dimsemenov.com/plugins/magnific-popup/) to view demos. More info in [docs](http://dimsemenov.com/plugins/magnific-popup/documentation.html#zoom_effect).
102
+
-`removalDelay` now applies only when browser supports CSS transitions.
103
+
- Fix: removed tiny blink when switching between gallery images, or opening images that are already cached.
104
+
- Changed the default appearance of gallery arrows (now its white triangle with black border, was vice-versa).
105
+
- Added solid background to the image when its loading.
106
+
107
+
108
+
109
+
110
+
### 0.9.0 (Jul 3, 2013)
111
+
112
+
- Added `modal` option which disables all default ways to close the popup, learn more in [docs](http://dimsemenov.com/plugins/magnific-popup/documentation.html#modal). Thanks to [Julen Ruiz Aizpuru](https://github.com/julen).
113
+
- Added `beforeClose` event.
114
+
- Added `imageLoadComplete` event.
115
+
- Removed jQuery event alias calls. Thanks to [Albert Casademont](https://github.com/acasademont).
116
+
- Cleaned some duplicate styles in CSS. Thanks to [Yann Abgrall](https://github.com/yannabgrall).
117
+
118
+
### 0.8.9 (Jun 4, 2013)
119
+
120
+
- Fix: inline element that is created dynamically causes exception in jQuery 1.8.x.
121
+
- Fix: incorrect detection of `_hasScrollBar` if body has defined height style.
122
+
- Fix: body styles are kept after popup is closed.
123
+
- Fix: close icon is aligned incorrectly with iframe type.
124
+
-**responseText is deprected**. Argument of callback `parseAjax` - `obj.responseText` is now deprected, but you can still access it via `obj.xhr.responseText`. Instead of it, please use `obj.data` to modify your output.
125
+
- Sass: changed variables to be default declarations to support front-loaded settings. i.e. You can override options by adding `_settings.scss` file near `main.scss` with your new options.
Script is MIT licensed and free and will always be kept this way. But has a small restriction from me - please do not create public WordPress plugin based on it(or at least contact me before creating it), because I will make it and it'll be open source too ([want to get notified?](http://dimsemenov.com/subscribe.html)).
67
186
68
-
Created by [@dimsemenov](http://twitter.com/dimsemenov) & [contributors](https://github.com/dimsemenov/Magnific-Popup/contributors).
0 commit comments