Commit 4e045e69 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

minor

parent 68c20359
...@@ -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)
......
...@@ -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(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment