Changeset 489359
- Timestamp:
- 01/13/2012 12:21:51 PM (14 years ago)
- Location:
- rich-text-widget/trunk
- Files:
-
- 3 edited
-
media-upload.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
rich-text-widget.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
rich-text-widget/trunk/media-upload.js
r142416 r489359 36 36 } 37 37 38 // thickbox settings39 var tb_position;40 (function($) {41 tb_position = function() {42 var tbWindow = $('#TB_window'), width = $(window).width(), H = $(window).height(), W = ( 720 < width ) ? 720 : width;43 44 if ( tbWindow.size() ) {45 tbWindow.width( W - 50 ).height( H - 45 );46 $('#TB_iframeContent').width( W - 50 ).height( H - 75 );47 tbWindow.css({'margin-left': '-' + parseInt((( W - 50 ) / 2),10) + 'px'});48 if ( typeof document.body.style.maxWidth != 'undefined' )49 tbWindow.css({'top':'20px','margin-top':'0'});50 };51 52 return $('a.thickbox').each( function() {53 var href = $(this).attr('href');54 if ( ! href ) return;55 href = href.replace(/&width=[0-9]+/g, '');56 href = href.replace(/&height=[0-9]+/g, '');57 $(this).attr( 'href', href + '&width=' + ( W - 80 ) + '&height=' + ( H - 85 ) );58 });59 };60 61 $(window).resize(function(){ tb_position(); });62 63 })(jQuery);64 38 65 39 jQuery(document).ready(function($){ -
rich-text-widget/trunk/readme.txt
r417948 r489359 3 3 Tags: rte,tinymce,widget,rich editor,wysiwyg 4 4 Requires at least: 3.0 5 Tested up to: 3. 25 Tested up to: 3.3.1 6 6 Stable tag: trunk 7 7 … … 29 29 == Changelog == 30 30 31 = 1.0.4 = 32 * WP3.3 compatibility 33 31 34 = 1.0.3 = 32 35 * improving render -
rich-text-widget/trunk/rich-text-widget.php
r417948 r489359 4 4 Plugin URI: http://julienappert.com/realisations/plugin-rich-text-widget 5 5 Description: Create rich text widgets. 6 Version: 1.0. 36 Version: 1.0.4 7 7 Author: Julien Appert 8 8 Author URI: http://julienappert.com
Note: See TracChangeset
for help on using the changeset viewer.