320, // width in px 'height'=>240, // height in px 'history'=>false, // change/check location hash 'index'=>0, // start from frame number N 'time'=>3000, // time out beetwen slides 'title'=>true, // show title 'titleshow'=>false,// show title always 'panel'=>true, // show controls panel 'play'=>false, // play slideshow 'effect'=>'fade', // aviable fade, scrollUp/Down/Left/Right, zoom, zoomFade, growX, growY 'effecttime'=>1000,// aviable fast,slow,normal and any valid fx speed value 'filter'=>true, // remove
, empty
,

and other stuff 'nextclick'=>false, // bind content click next slide 'playclick'=>false, // bind content click play/stop 'playhover'=>false, // bind content hover play/stop 'playhoverr'=>false, // bind content hover stop/play (reverse of playhover) 'playframe'=>true, // show frame "Play Now!" 'imgresize'=>false, // resize image to slideshow window 'imgzoom'=>true, // resize image to slideshow window 'imgcenter'=>true, // set image to center 'imgajax'=>true, // load images from links 'imglink'=>true, // go to external link by click 'linkajax'=>false, // load html from links 'help'=>'Plugin homepage: (a)Slideshow
'."\n". 'Author homepage: Anton Shevchuk', 'controls'=> array( // show/hide controls elements 'hide'=>true, // show controls bar on mouse hover 'first'=>true, // goto first frame 'prev'=>true, // goto previouse frame (if it first go to last) 'play'=>true, // play slideshow 'next'=>true, // goto next frame (if it last go to first) 'last'=>true, // goto last frame 'help'=>true, // show help message 'counter'=>true // show slide counter ) ); $default_custom = array( 'theme' => 'simple' ); // Update Options if(!empty($_POST['Submit'])) { $a_slideshow = $_POST['a_slideshow']; $a_slideshow_custom = $_POST['a_slideshow_custom']; // change text to bool or integer foreach ($a_slideshow as $key => $value) { if ($value == 'on') $a_slideshow[$key] = true; elseif ($value == 'off') $a_slideshow[$key] = false; elseif (is_numeric($value)) $a_slideshow[$key] = (int)$value; } if (isset($a_slideshow['controls']) && !empty($a_slideshow['controls'])) foreach ($a_slideshow['controls'] as $key => $value) { if ($value == 'on') $a_slideshow['controls'][$key] = true; elseif ($value == 'off') $a_slideshow['controls'][$key] = false; } include_once 'a-slideshow-compatibility.php'; // we need "false" value $arr_false = array_keys(array_diff_key($default, $a_slideshow)); $arr_false = array_fill_keys($arr_false, false); $a_slideshow = array_merge($a_slideshow, $arr_false); if (!isset($a_slideshow['controls']) or empty($a_slideshow['controls'])) $a_slideshow['controls'] = array(); $arr_false = array_keys(array_diff_key($default['controls'], $a_slideshow['controls'])); $arr_false = array_fill_keys($arr_false, false); $a_slideshow['controls'] = array_merge($a_slideshow['controls'], $arr_false); $a_slideshow_custom = array_merge($default_custom, $a_slideshow_custom); // show text message if (update_option('a_slideshow_options', $a_slideshow) or update_option('a_slideshow_custom', $a_slideshow_custom)) { $text = ''.__('Settings Updated', 'a-slideshow').''; } else { $text = ''.__('No Option Updated', 'a-slideshow').''; } } else { $a_slideshow = get_option('a_slideshow_options'); if (empty($a_slideshow)) $a_slideshow = $default; } ?>


'.$text.'

'; } ?>

(a)Slideshow jQuery plugin.', 'a-slideshow') ?>

global settings), use next syntax:', 'a-slideshow') ?>


            [aslideshow %options%]
                <img src="/wp-content/uploads/yyyy/mm/image01.jpg" alt="Caption 1"/>
                <img src="/wp-content/uploads/yyyy/mm/image02.jpg" alt="Caption 2"/>
                <img src="/wp-content/uploads/yyyy/mm/image03.jpg" alt="Caption 3"/>
            [/aslideshow]
            
        
            
            [aslideshow effect="random" play=true playframe=false controls_play=true]
                <img src="/wp-content/uploads/yyyy/mm/image01.jpg" alt="Caption 1"/>
                <img src="/wp-content/uploads/yyyy/mm/image02.jpg" alt="Caption 2"/>
                <img src="/wp-content/uploads/yyyy/mm/image03.jpg" alt="Caption 3"/>
            [/aslideshow]
                          
        
projects homepage.', 'a-slideshow') ?>

()
()
()
() />
() />
() />
() />
() />
()
()
() />
/>
/>
/>
() />
() />
() />
() />
/>
() />
() />
()