Plugin Directory

Changeset 349550


Ignore:
Timestamp:
02/23/2011 12:41:39 AM (15 years ago)
Author:
jjcoder
Message:

can disable captions now.

Location:
jj-nextgen-jquery-slider/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • jj-nextgen-jquery-slider/trunk/includes/jj_ngg_jquery_slider.php

    r345602 r349550  
    4848    $manualadvance = $this->get_val($instance, 'manualadvance');
    4949    $captionopacity = $this->get_val($instance, 'captionopacity');
     50    $disablecaptions = $this->get_val($instance, 'disablecaptions');
    5051    $beforechange = $this->get_val($instance, 'beforechange', '', false);
    5152    $afterchange = $this->get_val($instance, 'afterchange', '', false);
     
    212213        }
    213214       
    214         if($image_description != '')
     215        if($disablecaptions != '1' && $image_description != '')
    215216        {
    216217          $image_description = "title=\"" . $this->quote_fix($image_description) . "\" ";
     
    562563      </p>
    563564      <p>
     565        <input type="checkbox" id="<?php echo $this->get_field_id('disablecaptions'); ?>" style="vertical-align: middle;" name="<?php echo $this->get_field_name('disablecaptions'); ?>" value="1"<?php if($instance['disablecaptions'] == '1') { echo " checked=\"checked\""; } ?> />
     566        <label for="<?php echo $this->get_field_id('disablecaptions'); ?>" style="vertical-align: middle;"><strong>Disable captions</strong></label><br />
     567      </p>       
     568      <p>
    564569        <label for="<?php echo $this->get_field_id('captionopacity'); ?>"><strong>captionOpacity:</strong></label>
    565570        <input type="text" id="<?php echo $this->get_field_id('captionopacity'); ?>" name="<?php echo $this->get_field_name('captionopacity'); ?>" value="<?php echo $instance['captionopacity']; ?>" size="3" />
  • jj-nextgen-jquery-slider/trunk/jj-ngg-jquery-slider.php

    r347050 r349550  
    44Description: Allows you to pick a gallery from the 'NextGen Gallery' plugin to use as a 'JQuery Nivo Slider'.
    55Author: JJ Coder
    6 Version: 1.2.8
     6Version: 1.2.9
    77*/
    88
  • jj-nextgen-jquery-slider/trunk/readme.txt

    r347055 r349550  
    55Requires at least: 2.8
    66Tested up to: 3.0.5
    7 Stable tag: 1.2.8
     7Stable tag: 1.2.9
    88
    99Allows you to pick a gallery from the 'NextGen Gallery' plugin to use as a 'JQuery Nivo slider'.
     
    6262- manualAdvanc: Force manual transitions. (sc: manualadvance="setting")
    6363- captionOpacity: Universal caption opacity. (sc: captionopacity="setting")
     64- Disable captions: (sc: disablecaptions="1")
    6465- beforeChange: (sc: beforechange="setting")
    6566- afterChange: (sc: afterchange="setting")
     
    8788- [jj-ngg-jquery-slider title="Hello" gallery="1" html_id="about-slider" width="200" height="150" center="1"]
    8889- [jj-ngg-jquery-slider html_id="about-slider" directionnav="false" controlnav="false"]
     90
     91Try out my other plugins:
     92
     93- JJ NextGen JQuery Carousel (http://wordpress.org/extend/plugins/jj-nextgen-jquery-carousel/)
     94- JJ NextGen JQuery Cycle (http://wordpress.org/extend/plugins/jj-nextgen-jquery-cycle/)
     95- JJ NextGen Unload (http://wordpress.org/extend/plugins/jj-nextgen-unload/)
     96- JJ NextGen Image List (http://wordpress.org/extend/plugins/jj-nextgen-image-list/)
     97- JJ SwfObject (http://wordpress.org/extend/plugins/jj-swfobject/)
    8998
    9099== Installation ==
     
    133142== Changelog ==
    134143
     144- 1.2.9: Ability to disable captions.
    135145- 1.2.8: FAQ.
    136146- 1.2.7: Readme.
Note: See TracChangeset for help on using the changeset viewer.