FancyBox for WordPress - Version 1.3

Version Description

Download this release

Release Info

Developer moskis
Plugin Icon wp plugin FancyBox for WordPress
Version 1.3
Comparing to
See all releases

Code changes from version 1.2 to 1.3

Files changed (2) hide show
  1. fancybox.php +3 -3
  2. readme.txt +9 -2
fancybox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: FancyBox for WordPress
4
  Plugin URI: http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/
5
  Description: Integrates <a href="http://fancy.klade.lv/">FancyBox</a> by <a href="http://klade.lv/">Janis Skarnelis</a> into WordPress. All images on a page are treated as a gallery allowing to use Next and Previous buttons on the FancyBox frontend.
6
- Version: 1.2
7
  Author: Jose Pardilla (Th3 ProphetMan)
8
  Author URI: http://blog.moskis.net/
9
  */
@@ -17,7 +17,7 @@ function wp_fancybox_do() {
17
  div#fancy_overlay{position:absolute;top:0;left:0;z-index:90;width:100%;background-color:#333;}
18
  div#fancy_loading{position:absolute;height:40px;width:40px;cursor:pointer;display:none;overflow:hidden;background:transparent;z-index:100;}
19
  div#fancy_loading div{position:absolute;top:0;left:0;width:40px;height:480px;background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_progress.png) no-repeat;}
20
- div#fancy_close{position:absolute;top:-12px;right:-12px;height:30px;width:30px;background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_closebox.png);cursor:pointer;z-index:100;display:none;}
21
  div#fancy_content{position:absolute;top:0;left:0;width:100%;height:100%;z-index:96;margin:0;padding:0;}
22
  #fancy_frame{position:relative;width:100%;height:100%;display:none;}
23
  img#fancy_img{position:absolute;top:0;left:0;width:100%;height:100%;border:0;z-index:92;margin:0;padding:0;}
@@ -32,7 +32,7 @@ function wp_fancybox_do() {
32
  a#fancy_left{left:0;}a#fancy_right{right:0;}a#fancy_left:hover{background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_left.gif) no-repeat 0 50%;}
33
  a#fancy_right:hover{background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_right.gif) no-repeat 100% 50%;}
34
  #fancy_bigIframe,#fancy_freeIframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;}
35
- div#fancy_bg{display:none;} div.fancy_bg{position:absolute;display:block;z-index:70;}
36
  div.fancy_bg_n{top:-18px;width:100%;height:18px;background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_shadow_horizontal.png) repeat-x;}
37
  div.fancy_bg_ne{top:-18px;right:-13px;width:13px;height:18px;background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_shadow_corners.png) no-repeat -13px 0;}
38
  div.fancy_bg_e{right:-13px;height:100%;width:13px;background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_shadow_vertical.png) repeat-y -13px 0;}
3
  Plugin Name: FancyBox for WordPress
4
  Plugin URI: http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/
5
  Description: Integrates <a href="http://fancy.klade.lv/">FancyBox</a> by <a href="http://klade.lv/">Janis Skarnelis</a> into WordPress. All images on a page are treated as a gallery allowing to use Next and Previous buttons on the FancyBox frontend.
6
+ Version: 1.3
7
  Author: Jose Pardilla (Th3 ProphetMan)
8
  Author URI: http://blog.moskis.net/
9
  */
17
  div#fancy_overlay{position:absolute;top:0;left:0;z-index:90;width:100%;background-color:#333;}
18
  div#fancy_loading{position:absolute;height:40px;width:40px;cursor:pointer;display:none;overflow:hidden;background:transparent;z-index:100;}
19
  div#fancy_loading div{position:absolute;top:0;left:0;width:40px;height:480px;background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_progress.png) no-repeat;}
20
+ div#fancy_close{position:absolute;top:-12px;right:-12px;height:30px;width:30px;background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_closebox.png);cursor:pointer;z-index:1000;display:none;}
21
  div#fancy_content{position:absolute;top:0;left:0;width:100%;height:100%;z-index:96;margin:0;padding:0;}
22
  #fancy_frame{position:relative;width:100%;height:100%;display:none;}
23
  img#fancy_img{position:absolute;top:0;left:0;width:100%;height:100%;border:0;z-index:92;margin:0;padding:0;}
32
  a#fancy_left{left:0;}a#fancy_right{right:0;}a#fancy_left:hover{background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_left.gif) no-repeat 0 50%;}
33
  a#fancy_right:hover{background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_right.gif) no-repeat 100% 50%;}
34
  #fancy_bigIframe,#fancy_freeIframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;}
35
+ div.fancy_bg{position:absolute;display:block;z-index:70;}
36
  div.fancy_bg_n{top:-18px;width:100%;height:18px;background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_shadow_horizontal.png) repeat-x;}
37
  div.fancy_bg_ne{top:-18px;right:-13px;width:13px;height:18px;background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_shadow_corners.png) no-repeat -13px 0;}
38
  div.fancy_bg_e{right:-13px;height:100%;width:13px;background:transparent url(<?php echo WPFANCYBOXHOME; ?>img/fancy_shadow_vertical.png) repeat-y -13px 0;}
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.asmallorange.com/extras/donate/?id=10218
4
  Tags: fancybox, lightbox, jquery, image, gallery
5
  Requires at least: 2.7
6
  Tested up to: 2.7.1
7
- Stable tag: 1.2
8
 
9
  Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. No further configuration needed.
10
 
@@ -24,10 +24,14 @@ Finally, i have only tested the plugin in WordPress 2.7, but it should work on r
24
 
25
  = Changelog =
26
 
 
 
 
 
27
  1.2 Updates:
28
 
29
  * Upgraded to use FancyBox 1.2.0
30
- * Uses packed version of the JavaScript file (8kb instead of 14kb).
31
 
32
  1.1 Updates:
33
 
@@ -35,6 +39,9 @@ Finally, i have only tested the plugin in WordPress 2.7, but it should work on r
35
  * Fixed "Click to close" overlay text
36
  * Moved images to /img/ folder
37
 
 
 
 
38
 
39
  == Installation ==
40
 
4
  Tags: fancybox, lightbox, jquery, image, gallery
5
  Requires at least: 2.7
6
  Tested up to: 2.7.1
7
+ Stable tag: 1.3
8
 
9
  Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. No further configuration needed.
10
 
24
 
25
  = Changelog =
26
 
27
+ 1.3 Updates:
28
+
29
+ * Shadows and Close button should be fixed now
30
+
31
  1.2 Updates:
32
 
33
  * Upgraded to use FancyBox 1.2.0
34
+ * Uses packed version of the JavaScript file (8kb instead of 14kb)
35
 
36
  1.1 Updates:
37
 
39
  * Fixed "Click to close" overlay text
40
  * Moved images to /img/ folder
41
 
42
+ = Known Bugs =
43
+
44
+ * Shadows and caption Box still a mess on IE, need to completely update CSS to match changes in FancyBox 1.2.0
45
 
46
  == Installation ==
47