Exemple #1
0
    prev: '#carousel-prev',
    next: '#carousel-next',
    pagination: "#carousel-pagination",
    mousewheel: true,
    swipe: {
        onMouse: true,
        onTouch: true
    }
});

$(function() {
    $("ul.tabs").tabs("> .pane", {effect: 'fade', fadeIn: 200});
});
SCRIPT;
$this->registerJs($js);
\frontend\assets\FeauteredAdsAsset::register($this);
\rmrevin\yii\fontawesome\AssetBundle::register($this);
echo \common\widgets\MapWidget::widget();
?>

<section id="featured-list">
    <div class="container">
        <h3><?php 
echo \Yii::t('site', 'Check out our Premium Featured Ads');
?>
</h3>
        <div id="tabs" class="full">
            <ul class="tabs quicktabs-tabs quicktabs-style-nostyle">
                <li class="grid-feat-ad-style"><a class="" href="#"><?php 
echo '';
?>
Exemple #2
0
 public function run()
 {
     FeauteredAdsAsset::register($this->getView());
     $this->getView()->registerJs("\$('#projects-carousel').carouFredSel({\n                                auto: false,\n                                prev: '#carousel-prev',\n                                next: '#carousel-next',\n                                pagination: \"#carousel-pagination\",\n                                mousewheel: true,\n                                swipe: {\n                        onMouse: true,\n                                    onTouch: true\n                                }\n                            });");
 }