use yii\helpers\Html; use yii\web\View; use app\models\Slider; use yii\helpers\Url; use app\components\Text; use app\widgets\ProductListWidget; /** * @var \app\models\Products $products_new * @var \app\models\Products $products_top * @var \app\models\Products $products_akciya */ $this->title = $menu->meta_title; $this->registerMetaTag(['name' => 'description', 'content' => $menu->meta_description]); $this->registerMetaTag(['name' => 'keywords', 'content' => $menu->meta_keywords]); $this->registerJsFile(Yii::$app->request->baseUrl.'/js/jquery.slides.js',['position'=>View::POS_HEAD,'depends'=>['yii\web\YiiAsset']]); $this->registerJs(" $('#slider').slidesjs({ width: 960, height: 360, navigation: false }); ", View::POS_READY, 'slider'); $this->registerJsFile(Yii::$app->request->baseUrl.'/js/jquery.sliderkit.1.9.2.pack.js',['position'=>View::POS_HEAD,'depends'=>['yii\web\YiiAsset']]); $this->registerJs(" $('.skits').sliderkit({ cssprefix: 'skits', shownavitems: 4, auto: false, scroll: 1, circular: false, // freeheight: true, scrollspeed: 500 }); ", View::POS_READY, 'sliderkit'); ?>