コード例 #1
0
*/
?>


    <!-- START SLIDER -->
    <!--<div class="slider-wrapper theme-default">
        <div class="ribbon"></div>--> 
        <div id="slider" class="inner mobile">
            <ul class="unoslider">
                <?php 
while (yiw_have_slide()) {
    ?>
           
                    <li><?php 
    if (yiw_slide_get('slide_title') != '') {
        ?>
<div class='unoslider_caption'><?php 
        yiw_slide_the('slide_title');
        ?>
</div><?php 
    }
    yiw_slide_the('featured-content', array('container' => false));
    ?>
</li>
                <?php 
}
?>

            </ul>                    
        </div>
    <!--</div>-->
コード例 #2
0
" coords="<?php 
    yiw_slide_the('extra_tooltip_x_pos');
    ?>
,<?php 
    yiw_slide_the('extra_tooltip_y_pos');
    ?>
">
                    <?php 
    if (yiw_slide_get('extra_tooltip_image') != '') {
        ?>
                    <img src="<?php 
        yiw_slide_the('extra_tooltip_image');
        ?>
" />
                    <?php 
    }
    ?>
                    <!-- The content of the anchor-tag is displayed in the tooltip. -->
                    <?php 
    yiw_slide_the('extra_tooltip_content');
    ?>
                </a>
            </div>
        </div>

    <?php 
}
?>
    </div>
</div> 
<!-- END SLIDER --> 
コード例 #3
0
ファイル: slider-elegant.php プロジェクト: GaryJones/goombiel
        ?>

                        <div class="slider-caption caption-<?php 
        echo yiw_get_option('slider_elegant_caption_position');
        ?>
">
                                <h2><?php 
        yiw_slide_the('title');
        ?>
</h2>
                                <h4><?php 
        yiw_slide_the('subtitle');
        ?>
</h4>
                                <?php 
        yiw_slide_the('content');
        ?>

                        </div>
                        <?php 
    }
    ?>

                    </li>
                <?php 
}
?>

            </ul>
        </div> 
        <!-- END SLIDER --> 
コード例 #4
0
/**
 * vars for elastic slider
 */
function yiw_slider_elastic_scripts()
{
    if (yiw_slider_type() != 'elastic') {
        return;
    }
    ?>

<script type="text/javascript">      
    var     yiw_slider_type = 'elastic',
            yiw_slider_elastic_speed = <?php 
    echo yiw_slide_get('speed') * 1000;
    ?>
,
yiw_slider_elastic_timeout = <?php 
    echo yiw_slide_get('timeout') * 1000;
    ?>
, yiw_slider_elastic_autoplay = <?php 
    echo yiw_slide_get('autoplay') ? 'true' : 'false';
    ?>
, yiw_slider_elastic_animation = '<?php 
    yiw_slide_the('animation');
    ?>
';</script>
    <?php 
}