Changeset 1434168
- Timestamp:
- 06/09/2016 09:19:37 PM (10 years ago)
- Location:
- kcpt-fading-image-widget/trunk
- Files:
-
- 3 edited
-
kcpt-fading-image-widget.js (modified) (2 diffs)
-
kcpt-image-widget.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kcpt-fading-image-widget/trunk/kcpt-fading-image-widget.js
r1042810 r1434168 1 1 (function($) { 2 2 $(document).ready(function() { 3 $('.insert-kcpt-image').click(function(e) {4 3 4 5 window.fiwInsertImage = function(e) { 5 6 e.preventDefault(); 6 7 … … 35 36 //Open modal 36 37 custom_file_frame.open(); 38 }; 39 40 window.bindFadingImageWidget = function() { 41 $('.insert-kcpt-image').off('click', fiwInsertImage); 42 $('.insert-kcpt-image').on('click', fiwInsertImage); 43 }; 44 45 46 bindFadingImageWidget(); 47 48 $(document).on('widget-added', function(e, widget) { 49 bindFadingImageWidget(); 37 50 }) 51 52 38 53 }); 39 54 })(jQuery); -
kcpt-fading-image-widget/trunk/kcpt-image-widget.php
r1042810 r1434168 4 4 * Plugin URI: http://www.KCPT.org/ 5 5 * Description: A simple image widget which will fade another image through on hover. 6 * Version: 0.0. 46 * Version: 0.0.5 7 7 * Author: Steven Kohlmeyer 8 8 * Author URI: http://StevenKohlmeyer.com -
kcpt-fading-image-widget/trunk/readme.txt
r1042810 r1434168 4 4 Tags: widget, image, image widget 5 5 Requires at least: 3.5 6 Tested up to: 4. 17 Stable tag: 0.0. 46 Tested up to: 4.5.2 7 Stable tag: 0.0.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 30 30 == Changelog == 31 31 32 = 0.0.5 = 33 * Fixed buttons not working when you first add the widget to the screen 34 32 35 = 0.0.3 = 33 36 * Disabled Fade feature if both images aren't specified
Note: See TracChangeset
for help on using the changeset viewer.