Authored by tmq

js

... ... @@ -7,7 +7,7 @@
<?php foreach($this->view->banners as $banner):?>
<div class="box">
<a href="<?php echo $banner['url'];?>" target="_blank" title="<?php echo $banner['text'];?>">
<img src="<?php echo Lib_Images::getImageUrl($banner['res'],'0980x0474','fragmentimg');?>" alt=""/>
<img src="<?php echo Lib_Images::getImageUrl($banner['res'],'1180x0474','fragmentimg');?>" alt=""/>
</a>
</div>
<?php endforeach;?>
... ... @@ -181,9 +181,9 @@ EOL;
<?php $this->_endblock();?>
<?php $this->_block('js');?>
<script type="text/javascript">
// seajs.use('yohood',function(yohood){
// yohood.index();
// })
seajs.use('yohood',function(yohood){
yohood.index();
})
seajs.use(['jquery', 'channel'], function($, channel) {
channel.index();
})
... ...