Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sravnitel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
sravnitel
Commits
4e045e69
Commit
4e045e69
authored
Jan 30, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor
parent
68c20359
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
README.md
README.md
+5
-0
shortcode.php
inc/shortcode.php
+1
-0
No files found.
README.md
View file @
4e045e69
...
@@ -2,6 +2,10 @@
...
@@ -2,6 +2,10 @@
Before-After overlayed image comparison plugin for jQuery and WordPress.
Before-After overlayed image comparison plugin for jQuery and WordPress.
**Published on Wordpress.org**
*
[
Sravnitel
](
https://wordpress.org/plugins/sravnitel/
)
**Features**
**Features**
*
Compare 2+ images
*
Compare 2+ images
...
@@ -13,6 +17,7 @@ Before-After overlayed image comparison plugin for jQuery and WordPress.
...
@@ -13,6 +17,7 @@ Before-After overlayed image comparison plugin for jQuery and WordPress.
*
Click on the view area to quickly switch between left and right image
*
Click on the view area to quickly switch between left and right image
*
Click on the zoom info in the top right to zoom-to-fit the view area
*
Click on the zoom info in the top right to zoom-to-fit the view area
*
Mousewheel to zoom - 5% steps
![
sravnitel ui
](
https://github.com/Elphel/sravnitel/blob/master/screenshot-1.png
)
![
sravnitel ui
](
https://github.com/Elphel/sravnitel/blob/master/screenshot-1.png
)
...
...
inc/shortcode.php
View file @
4e045e69
...
@@ -106,6 +106,7 @@ function sravnitel_init(){
...
@@ -106,6 +106,7 @@ function sravnitel_init(){
$content
=
"<b>
$titles_str
</b>"
;
$content
=
"<b>
$titles_str
</b>"
;
$content
=
<<<TXT
$content
=
<<<TXT
<!-- https://wordpress.org/plugins/sravnitel/ -->
<div id="$id_str" style="position:relative;" class="sravnitel"></div>
<div id="$id_str" style="position:relative;" class="sravnitel"></div>
<script>
<script>
jQuery(window).load(function(){
jQuery(window).load(function(){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment