Plugin Directory

Changeset 602603


Ignore:
Timestamp:
09/23/2012 06:15:53 AM (13 years ago)
Author:
attosoft
Message:

NEW: "Stretch Blank Image to the Size of Last Image" option in "Common Options", with updating AnimateImage script to version 1.1.3

Location:
auto-animateimage/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • auto-animateimage/trunk/animateimage-options.php

    r601626 r602603  
    128128    </tr>
    129129    <tr>
     130        <th scope="row"><?php $this->util->_e('Stretch Blank Image to the Size of Last Image'); ?></th>
     131        <td>
     132            <select name="auto-animateimage[options.stretchBlank]">
     133                <option value="true"<?php selected($this->options['options.stretchBlank'], 'true'); ?>>true</option>
     134                <option value="false"<?php selected($this->options['options.stretchBlank'], 'false'); ?>>false</option>
     135            </select>
     136        </td>
     137    </tr>
     138    <tr>
    130139        <th scope="row"><?php $this->util->_e('Output img Elements when Using JavaScript Code'); ?></th>
    131140        <td>
  • auto-animateimage/trunk/animateimage.php

    r601626 r602603  
    5050
    5151    var $js_options = array('delay', 'cycleDelay', 'repeat', 'rewind',
    52         'pauseAtFirst', 'pauseAtLast', 'showBlank', 'output', 'className', 'blankClassName');
     52        'pauseAtFirst', 'pauseAtLast', 'showBlank', 'stretchBlank', 'output', 'className', 'blankClassName');
    5353
    5454    function custom_scripts() {
     
    200200            'options.pauseAtLast' => 'false',
    201201            'options.showBlank' => 'false',
     202            'options.stretchBlank' => 'true',
    202203            'options.cycleDelay' => '0',
    203204            'options.className' => 'animation',
Note: See TracChangeset for help on using the changeset viewer.