=== LiteBox === Tags: lightbox, gallery, image, video, iframe, popup, popup window, onclick popup, video popup , image popup, youtube, vimeo, Requires at least: 3.5 Tested up to: 3.9.1 Stable tag: 1.1 License: MIT X11-License License URI: http://opensource.org/licenses/MIT A Simple plugin that enables popup for your video/image/iframe/inline content. == Description == Litebox is a free,easy to use wordpress plugin for window popup. Its built in PHP and uses a light weight jQuery plugin litebox. This plugin enables a popup window for video,image,iframe,inline content.Using it is as simple as adding the shortcodes to your post and page or if preferred adding the shortcodes to the required theme template files. A demo can be found here [here](http://phpcentre.net/wordpress-plugin-litebox) = Plugin Features = * Support for youtube,vimeo,dailymotion,kickstarter videos . * Support for image,iframe and inline content. * Reveal Speed of the popup window adjustable. * Position of the the popup window adjustable. * Ability to change the background color/opacity of the popup overlay. * Can customize the litebox position,overlay color/opacity of each individual link. * Support for javascript functions that can be executed at various times during the popup event. * Gallery Support. = Video Example = Add the shortcodes to your post or pages. The href attribute should be the url of your video content,the anch attribute is for the anchor text and the class attribute is used to assign a class name for css file. The top,right,bottom,left attribute is used to position the litebox for this particular link,if these attribute are not set, the litebox position set in the options panel is used.
   [litebox href="http://vimeo.com/45427826" anch="Vimeo" class="anch_link" top="30" left="30" right="30" bottom="30"] 

   [litebox href="http://www.youtube.com/watch?v=EmSOTxW3lNI" anch="youtube"  class="anch_link"  top="25" left="25" right="25" bottom="25"] 
   
= Iframe Example =
 [litebox href="http://cnn.com" anch="Iframe"  top="20" left="20" right="20" bottom="20"]
 
= Inline Example =
[litebox href="#inline" anch="Inline" top="10" right="30" bottom="10" left="30"]
= Single Image Example =
[litebox href="../wp-content/uploads/2014/07/HD-1.jpg" class="single_img"]
[litebox href="../wp-content/uploads/2014/07/HD-2.jpg" class="single_img"]
[litebox href="../wp-content/uploads/2014/07/HD-3.jpg" class="single_img"]
[litebox href="../wp-content/uploads/2014/07/HD-4.jpg" class="single_img"]
= Group Image Example = For group images use the group attribute , the value can be any string, but must the same for the entire images.
[litebox href="../wp-content/uploads/2014/07/HD-1.jpg" class="group_img" group="ghd"]
[litebox href="../wp-content/uploads/2014/07/HD-2.jpg" class="group_img" group="ghd"]
[litebox href="../wp-content/uploads/2014/07/HD-3.jpg" class="group_img" group="ghd"]
[litebox href="../wp-content/uploads/2014/07/HD-4.jpg" class="group_img" group="ghd"]
= Shortcode Theme file Example = Add the function with the shortcodes to your theme template files
   <?php 
   echo do_shortcode('[litebox href="http://vimeo.com/45427826" anch="Vimeo"]'); 
   ?>
== Installation == = System requirements = * PHP 5 * Web browser with enabled Javscript (required for popup) = Installation = 1. Download the .zip file of the plugin and extract the content. 2. Upload the complete `litebox` folder to the `/wp-content/plugins/` directory. 3. Activate the plugin through the 'Plugins' menu in WordPress. 4. Go to to litebox settings page and select the default options which should be used. 5. That's it! You're done. Now you can place your shortcodes to your post/pages or your theme files. == Frequently Asked Questions == = How do I install this plugin? = You can install as others regular wordpress plugin. No different way. Please see on installation tab. = Why can't I see the popup window onclick = Make sure the syntax of your javascript function is correct. = Why is the popup window blank = Check the parameters of the url attribute you provided. = How can I style the anchor text = Use the class -litebox- to style the anchor text in your css file. == Screenshots == 1. Youtube popup example 2. Vimeo popup example 3. Options Page - Basic Settings 4. Options Page - Advanced Settings == Changelog == = 1.1 = * Shortcodes re-written for better plugin performance. * Added support for image,iframe and inline content. * Added support for image gallery. * Added support for overlay opacity customization. * Added admin option for image settings, * Now able to customize the litebox overlay color,opacity and position of each individual links. * Added more shortcodes attributes. * BugFix: The callback functions are now executed at the right time. = 1.0 = * Initial Release == Upgrade Notice ==