* @author dtelepathy */ ?> <div id="slidedeck_preview_mask"></div> <div id="slidedeck_preview_window" class="preview-window"<?php if ($first_preview) { echo ' style="visibilty:hidden;"'; } ?> > <div style="margin:0 auto 20px;padding:0;width:<?php echo $preview_w; ?> ;position:relative;overflow:hidden;"> <?php slidedeck($slidedeck_id, array('width' => $preview_w, 'height' => $preview_h), false); ?> </div> <div id="slidedeck_preview_window_form"> <h4><strong>Preview Your SlideDeck at a Different Size</strong></h4> <input type="hidden" name="slidedeck_id" value="<?php echo $slidedeck_id; ?> " /> <input type="hidden" name="refresh" value="0" /> <label> <?php if ($lens['meta']['Lens Type'] == "fixed") { ?> Width: <?php
/** * Widget output function * * Loads a SlideDeck instance based off the widget settings specified by the user * * @param object $args Extra arguments provided for this widget output see documentation at * http://codex.wordpress.org/Function_Reference/the_widget * @param object $instance Option data for this widget instance * * @uses slidedeck() */ function widget($args, $instance) { extract($args, EXTR_SKIP); echo $before_widget; slidedeck($instance['slidedeck_id'], array('width' => $instance['width'], 'height' => $instance['height'])); echo $after_widget; }