-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
3,821 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
<div> | ||
<a href="[[++base_url]]assets/[[+image]]" class="magnificPopup"> | ||
<img src="[[phpthumbon?input=`assets/[[+image]]`&options=`w=350&h=300&bg=ffffff&far=1`]]" width="280" height="220" alt="[[+name]]"> | ||
</a> | ||
</div> | ||
<li> | ||
<img src="[[phpthumbon?input=`assets/files/[[+image]]`&options=`w=350&h=300&bg=ffffff&zc=1`]]" data-original="[[++base_url]]assets/files/[[+image]]" width="280" height="220" alt="[[+name]]"> | ||
</li> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Changelog | ||
|
||
|
||
## 0.6.1 (Feb 18, 2017) | ||
|
||
- Prevented the default behaviour of drag action (#63). | ||
|
||
|
||
## 0.6.0 (Jan 24, 2017) | ||
|
||
- Ported JavaScript code to ECMAScript 6. | ||
- Ported CSS code to CSSNext. | ||
|
||
|
||
## 0.5.1 (Jan 2, 2017) | ||
|
||
- Improved event handler for Pointer Events. | ||
|
||
|
||
## 0.5.0 (July 22, 2016) | ||
|
||
- Improve modal opening and closing. | ||
- Remove `build` event. | ||
- Rename `built` event to `ready`. | ||
- Fixed a bug of `data-*` attributes setting and getting (#33). | ||
|
||
|
||
## 0.4.0 (Mar 20, 2016) | ||
|
||
- Added some properties to "event.detail" of the "view" and "viewed" events. | ||
|
||
|
||
## 0.3.3 (Mar 19, 2016) | ||
|
||
- Fix the issue of hiding wrong element in the "view" method (#19). | ||
|
||
|
||
## 0.3.2 (Mar 11, 2016) | ||
|
||
- Fix the parameters error on the "url" option when it is a function. | ||
|
||
|
||
## 0.3.1 (Feb 2, 2016) | ||
|
||
- Added tests. | ||
- Ignored invalid class name. | ||
- Re-render image only when viewed. | ||
|
||
|
||
## 0.3.0 (Jan 21, 2016) | ||
|
||
- Add more available values to the "title", "toolbar" and "navbar" options. | ||
- Support to toggle the visibility of title, toolbar and navbar between different screen widths. | ||
- Exit fullscreen when stop playing. | ||
- Fixed title not generated bug. | ||
|
||
|
||
## 0.2.0 (Jan 1, 2016) | ||
|
||
- Added "update" method for update image dynamically. | ||
- Hides title and toolbar on small screen (width < 768px). | ||
|
||
|
||
## 0.1.1 (Dec 28, 2015) | ||
|
||
- Supports to zoom from event triggering point. | ||
- Optimized "toggle" method. | ||
- Fixed a bug of the index of viewing image. | ||
|
||
|
||
## 0.1.0 (Dec 24, 2015) | ||
|
||
- Supports 2 modes: "modal" (default), "inline" | ||
- Supports 30 options: "inline", "button", "navbar", "title", "toolbar", "tooltip", "movable", "zoomable", "rotatable", "scalable", "transition", "fullscreen", "keyboard", "interval", "minWidth", "minHeight", "zoomRatio", "minZoomRatio", "maxZoomRatio", "zIndex", "zIndexInline", "url", "build", "built", "show", "shown", "hide", "hidden", "view", "viewed" | ||
- Supports 22 methods: "show", "hide", "view", "prev", "next", "move", "moveTo", "zoom", "zoomTo", "rotate", "rotateTo", "scale", "scaleX", "scaleY", "play", "stop", "full", "exit", "tooltip", "toggle", "reset", "destroy" | ||
- Supports 8 events: "build", "built", "show", "shown", "hide", "hidden", "view", "viewed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015-2017 Fengyuan Chen | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
Oops, something went wrong.