281 Commits
Author SHA1 Message Date
attosoft 5dca6d14f5 FIXED: img element is broken HTML when the caption contains both apostrophe (') and greater-than sign (>) (ThickBox bug) 2012-10-18 04:14:31 +00:00
attosoft 995f44d9f0 FIXED: Modified Settings screen with CSS width properties and CSS3 Media Queries for small-width screen 2012-10-16 07:35:41 +00:00
attosoft efeee931c2 Updated resources before the release (Updated to version 1.9) 2012-10-11 07:38:56 +00:00
attosoft 6415dfa444 Uses minified resources even when WP_DEBUG mode
* Inserted file comment to `thickbox.min.js` minified with [https://developers.google.com/closure/compiler/ Closure Compiler]
 * Updated `thickbox.min.css` minified with [http://www.phpied.com/cssmin-js/ cssmin.js]
 * Added `download.min.php` minified with [http://blog.builtbyprime.com/php/tiny-php-a-fun-php-minifier Tiny PHP]
 * Deleted `thickbox.js`, `thickbox.css` and `download.php`
2012-10-11 07:30:53 +00:00
attosoft c5633d0e14 FIXED: Even unused key events are consumed (ThickBox bug). In addition, listens also orientationchange event for iOS that does not trigger resize event sometimes when the orientation is changed. 2012-10-11 06:59:26 +00:00
attosoft 67683f311b Updated translations
* "Image links to images"
 * "Modified ThickBox"
 * "Built-in ThickBox"
 * "Mobile Support"
 * "No Window Margin"
 * "Automatically applies ThickBox script that overlays linked image, inline, iFramed and AJAX content on the page in simple effect."
2012-10-11 06:23:05 +00:00
attosoft 8eaa18df7e Minor updates on auto-thickbox.php and readme.txt
* auto-thickbox.php
   * Updated "Description"
   * Modified a notation about Auto Thickbox
 * readme.txt
   * s/iFrame/iFramed/g
   * Reordered items order in FAQ
   * Inserted comment tag for code block after list
2012-10-11 05:43:37 +00:00
attosoft 424b5e6301 Minor updates on readme.txt, Settings screen and a screenshot
* readme.txt
   * Added "Output JS/CSS files to footer" to "Auto ThickBox Plus does not work" in FAQ
   * Rewrote "How to insert line feeds in title/caption" in FAQ
 * Settings screen
   * Swapped "Header/Footer" option with "Modified/Built-in ThickBox" option
   * Replaced "Mobile Support" with "Mobile Support (beta)"
 * Updated screenshot-2.jpg with more margin
2012-10-11 01:32:50 +00:00
attosoft f07a809b58 CHANGED: Modified Settings screen
* Added "Preview" links with ThickBox to "General - Display Style" setting
   * Resolved a conflict with resizing ThickBox code in media-upload.js
 * Defaults to "JavaScript" option instead of "WordPress Filters" option in "General - Auto ThickBox" setting, because ThickBox cannot be applied to codes output by current theme or plugins without using WordPress filters
 * Added "Image links to images" option to "General - Auto ThickBox" setting. It is useful when showing only image links with other than ThickBox.
   * Added the condition code to both WordPress filters callback and custom JavaScript
 * Changed "Use WordPress built-in thickbox.js/css" checkbox to "Modified ThickBox / Built-in ThickBox" drop-down list in "General - ThickBox Resources"
   * From `<input type="checkbox" />` to `<select><option></option></select>`
   * Selects disabled "Footer" option when selecting "Built-in ThickBox" option
2012-10-11 01:13:02 +00:00
attosoft 33724a0791 Updated and added screenshots 2012-10-09 18:18:04 +00:00
attosoft bf56ea8643 Updated readme.txt
* Tags (removed "shadowbox")
 * Short description
 * Description
 * FAQ, etc.
2012-10-09 13:21:27 +00:00
attosoft d220a834a6 Fixed several bugs on sizing and positioning
* CHANGED: ThickBox window is displayed in the center of browser when resizing or drag-moving itself
 * FIXED: Title/caption bar misaligns by "Resize", "Expand/Shrink", "Scale" and browser resize when using "Effect - Title/Caption" option
 * FIXED: ThickBox window is not displayed in the center of browser due to hovering title when using "Effect - Title" option
 * FIXED: The size/position of ThickBox window and image height are not updated when resizing browser after resizing or drag-moving itself
 * FIXED: The margin top of ThickBox window is not updated when resizing browser in IE6
 * FIXED: `TB_WIDTH/HEIGHT` is `undefined` when using "Effect - Title/Caption" option
2012-10-08 06:30:06 +00:00
attosoft 8a902905ed CHANGED: Replaced the word "Content" with "HTML"
* Replaced "Content" with "HTML"
   * s/Content/HTML/g
 * Added "_img"
   * s/auto_resize/auto_resize_img/g
   * s/margin_win/margin_win_img/g
 * Replaced "_content" with "_html"
   * s/auto_resize_content/auto_resize_html/g
   * s/move_content/move_html/g
   * s/resize_content/resize_html/g
   * s/bgcolor_content/bgcolor_html/g
   * s/margin_win_content/margin_win_html/g
 * Added transition code of options for v1.8 or earlier
2012-10-07 23:26:57 +00:00
attosoft 9fb49e5820 NEW: Enhanced Auto Resize feature so that it works even when showing iframe/ajax/inline content. Changed "Enabled" option to "Image/Content" option at "General - Auto Resize" setting, and added "View - Margin - Window (Content)" option. 2012-10-07 22:55:48 +00:00
attosoft 55ad3dc08d Refactoring: Moved sizing code of html (iframe/inline/ajax content) from tb_show() to new tb_position_html() (cf. [605624]) 2012-10-05 23:06:14 +00:00
attosoft 5d23cf08e3 FIXED: Invalid positioning. some mobile browsers, such as older iOS (iPhone/iPad/iPod touch) and older Android, do not support position:fixed style.
* [http://jquerymobile.com/blog/2012/04/13/announcing-jquery-mobile-1-1-0/#features True fixed toolbars: Lightweight, CSS-based & broadly compatible | jQuery Mobile 1.1.0]
 * [http://caniuse.com/css-fixed When can I use CSS position:fixed?]
2012-10-03 05:18:51 +00:00
attosoft 4aa17642ac CHANGED: Removed CSS hacks for IE6. Replaced CSS Expression with JavaScript. 2012-10-03 04:37:28 +00:00
attosoft c15e155121 Fixed a bug that Auto Resize does not work in iFeature theme, caused by img { height: auto; } style (regression by "Improved resizing algorithm" in [605631]) 2012-10-01 05:36:12 +00:00
attosoft 310c6029c4 NEW: "General - Mobile Support" options that has "No Window Margin"/"No ThickBox" option and "Width"/"Height" option (See also [605631] and [604041]) 2012-09-30 05:26:44 +00:00
attosoft c3ffd017a5 Fixed a bug that clickable range height won't be updated by auto resize when resizing the browser (See [605624]) 2012-09-29 16:44:26 +00:00
attosoft eed5a8fd8d NEW: "View - Margin - Window" option
* Updated `readme.txt`
   * Added "mobile", "iphone", "android" tags, and removed "semiologic", "simple" tags
   * Added `screenshot-5.jpg` that is a screenshot on iPhone
   * Updated "Changelog" section
 * Updated `thickbox.min.js`
2012-09-29 05:42:14 +00:00
attosoft 34c884f470 NEW: Mobile support for small-screen devices such as iPhone, Android, Symbian, BlackBerry and Windows Phone
* Improved resizing algorithm
   * Before: ThickBox set fixed 150px margin around an image however small the browser window may be
   * After: ThickBox set fixed 30px margin around ThickBox window
     * Uses `jQuery(window).width()/height()` instead of `tb_getPageSize()` to remove scroll bar width
 * Removed temporary workaround for small screen (See [604041])
   * Before: ThickBox did nothing when browser windows is smaller than 480px
   * After: Uses zero margin around ThickBox window when browser windows is smaller than 480px
2012-09-29 04:57:12 +00:00
attosoft a935e46c7c NEW: Auto Resize feature works even when resizing browser window. Moved Auto Resize code from tb_show() to new tb_reposition(), and calls it when both showing an image and resizing window. 2012-09-29 04:15:40 +00:00
attosoft 71aafb61ec NEW: Temporary workaround for small screen. ThickBox does nothing on small screen such as iPhone and Android. Thereby the link will be opened normally. 2012-09-26 08:09:45 +00:00
attosoft 091de8bb1a FIXED: Gallery images cannot be displayed in gallery style with [http://wordpress.org/extend/plugins/cleaner-gallery/ Cleaner Gallery]
WordPress Gallery outputs gallery-id class in `galleryid-\d` format, but Cleaner Gallery outputs it in `gallery-\d` format. Therefore the plugin failed to get gallery-id from `class` attribute, and overwrote existing `rel` attribute with empty string. Now the plugin uses `id` attribute instead of `class` attribute.
2012-09-24 03:42:48 +00:00
attosoft 90b176f864 Updated resources before the release
* Updated to version 1.8
 * Tested up to WordPress 3.4.2
 * Updated readme.txt
 * Reupdated translations from source
2012-09-23 17:40:43 +00:00
attosoft 51100b8c25 Trivial changes on PHP files and readme.txt
* Maintained several links
 * Removed `ATBP_NAME` and `ATBP_SLUG` variables
 * Renamed `ATBP_VER` variable to `AUTO_THICKBOX_PLUS_VER`
 * Changed Settings page title from "Options" to "Settings"
2012-09-23 17:28:33 +00:00
attosoft ac118febc7 Improved localization support. Modified custom __() and _e() functions to accept variable-length argument, then removed unnecessary _s() and _es() functions. Note that Poedit extracts functions with common name such as __(), _e(), esc_attr__() and esc_attr_e() generally. 2012-09-23 14:35:31 +00:00
attosoft f417d0b7fa UPDATED: Added Swedish (sv_SE) translation, props Lukas Häusler 2012-08-15 08:07:55 +00:00
attosoft f9da9be826 Click event is not prevented from being fired after mouseup when selecting "Mouse Click - Image - Open" option 2012-08-15 04:19:47 +00:00
attosoft 52922ce978 Converted resize handle image from PNG to GIF since transparent PNG is not supported in IE6 or earlier 2012-08-15 03:47:28 +00:00
attosoft 0aa0230121 FIXED: First click on ThickBox window is not detected after drag & drop in Opera 2012-08-15 03:43:33 +00:00
attosoft 5048011672 FIXED: Still conflicted with themes that has body { position: relative; } style such as iFeature in IE8 or earlier. And modified the workaround codes. (See also [559373]) 2012-08-15 01:16:28 +00:00
attosoft 29e97d62f9 Slightly enlarged resizable area at corners for usability 2012-08-14 20:20:40 +00:00
attosoft 2eb551d1f2 NEW: "Mouse Wheel - Image - Scroll" option and "Mouse Wheel - Background - Scroll/None" option 2012-08-14 19:55:39 +00:00
attosoft b91ac43927 some minor changes
* Replaced 'resizable' with 'scalable' class
 * Moved from `tb_options.dl_file` to `thickboxL10n.forceDL` variable
 * Outputs the extension instead of file when file type is unsupported in Force Download
2012-08-14 19:39:52 +00:00
attosoft fe806e6fe3 CHANGED: Resizes ThickBox window with keeping aspect ratio when dragging corners. And resize handle is shown at the bottom right corner for usability. (added esize-handle.png) 2012-08-14 19:22:35 +00:00
attosoft 1d61516698 CHANGED: Modified "Mouse Wheel - Image - Scale" option. Uses calculated size instead of CSS3 transform so now it is not buggy in Drag & Drop action and it works at all browsers, and it scales only an image not ThickBox window. In addition fixed an issue that "Mouse Wheel - Image - Scale" action do not work in "Single Image" style. (See [575200]) 2012-08-14 04:28:28 +00:00
attosoft 14076fbb82 NEW: "Action - Mouse Click - Image - Expand / Shrink" option. You can expand an image to actual size then shrink it to fit window, and vice versa. 2012-08-14 00:43:36 +00:00
attosoft e07b3e8bb0 NEW: "Action - Mouse Click - Image - Download (beta)" option. You can click an image to download it. This is experimental feature so I'm not sure whether it works on all server environments.
* Added download.php that is Force Download script
 * Updated translations
2012-08-12 23:56:14 +00:00
attosoft f57309eeca Outputs thickboxL10.first/last/open only when needed (i.e. when selected "Mouse Click - Image - Next, !Prev/Next or Open" option) 2012-08-11 05:09:15 +00:00
attosoft 2ada5e6e39 NEW: "Action - Mouse Click - Image - Open" option. You can click an image to open it in new tab/window. 2012-08-11 04:36:05 +00:00
attosoft f7518c7d23 FIXED: "Mouse Wheel" actions do not work in Firefox. I'm not sure but I feel it had worked fine before. Now binds "DOMMouseScroll" event because "mousewheel" event does not fired in Firefox. 2012-08-09 04:31:55 +00:00
attosoft 943f878f52 Maintained translations
* Added "X-Poedit-KeywordsList", "X-Poedit-Basepath" and "X-Poedit-SearchPath-0" settings
 * Added "Disabled" message that had been forgotten to add in v1.7
 * Moved down extra translation (Next, Prev, Image, of, Close, Contact, Loop, About, Japanese URL, etc.)
2012-08-04 08:18:44 +00:00
attosoft f0de026412 CHANGED: Uses spinner controls (input:number) instead of text fields (input:text) in options for entering numerical values. input:number is introduced in HTML5 so now it works only at Google Chrome, Opera and Safari. 2012-08-04 07:52:57 +00:00
attosoft cbe51e1c0b Updated readme.txt (Special Thanks, Changelog) 2012-08-02 13:55:03 +00:00
attosoft 5d019c0de9 UPDATED: Added Italian (it_IT) translation, props Gianni Diurno 2012-08-02 12:00:42 +00:00
attosoft 9fd8b7f3d1 NEW: "View - Size - Window (Content) - !Width/Height" option. You can change the default size of ThickBox window with non-image, and it can be overridden with width/height parameters in URL. 2012-08-02 09:47:09 +00:00
attosoft bbb47aa894 Combined multiple <script> tags output into one for readability, and added comments. 2012-08-01 13:06:58 +00:00
attosoft ed4fed7b48 Updated resources before the release
* readme.txt (Changelog)
 * All translations
   * Added untranslated texts
   * Updated Persian and Japanese translations
   * Some improvements for Persian to translate 'WordPress', 'JavaScript', etc.
2012-08-01 04:53:52 +00:00