newSizes->height; $width=$this->newSizes->width; $duration=$this->params->get('product_effect_duration'); if(empty($duration)){ $duration=1000; } if($this->params->get('background_color','')==''){ $config =& hikashop_config(); $this->params->set('background_color',$config->get('background_color')); } $backgroundColor=""; $backgroundColor=$this->params->get('background_color'); if(!HIKASHOP_J30) JHTML::_('behavior.mootools'); else JHTML::_('behavior.framework'); $Fadefunction=" try{ myFx_".$this->params->get('main_div_name')."_".$this->row->product_id." = new Fx.Style('myElement_".$this->params->get('main_div_name')."_".$this->row->product_id."', 'opacity', { wait: false, duration: ".$duration." }); }catch(err){ $('myElement_".$this->params->get('main_div_name')."_".$this->row->product_id."').set('morph', { duration: ".$duration.", transition: 'linear', }); }"; $FadeStartOne=" try{ this.morph({ 'opacity': 0.0, duration: ".$duration." }); }catch(err){ myFx_".$this->params->get('main_div_name')."_".$this->row->product_id.".stop(); myFx_".$this->params->get('main_div_name')."_".$this->row->product_id.".start(0); }"; $FadeStartTwo=" try{ this.morph({ 'opacity': 1.0, duration: ".$duration." }); }catch(err){ myFx_".$this->params->get('main_div_name')."_".$this->row->product_id.".stop(); myFx_".$this->params->get('main_div_name')."_".$this->row->product_id.".start(1); }"; $js="var myFx_".$this->params->get('main_div_name')."_".$this->row->product_id." = null; window.addEvent('domready', function(){ ".$Fadefunction." $('myElement_".$this->params->get('main_div_name')."_".$this->row->product_id."').addEvents({ mouseenter: function(){ ".$FadeStartOne." }, mouseleave: function(){ ".$FadeStartTwo." } }); });"; $doc =& JFactory::getDocument(); $doc->addScriptDeclaration("\n\n"); $pane_percent_height=$this->params->get('pane_height'); $link = hikashop_completeLink('product&task=show&cid='.$this->row->product_id.'&name='.$this->row->alias.$this->itemid.$this->category_pathway); $htmlLink=""; $cursor=""; if($this->params->get('link_to_product_page',1)){ $htmlLink='onclick = "window.location.href = \''.$link.'\''; $cursor="cursor:pointer;"; } ?>
" >
params->get('link_to_product_page',1)){ ?> row->product_name; if($this->params->get('link_to_product_page',1)){ ?> config->get('show_code')) { ?> row->product_code; ?>
.*#is','',$this->row->product_description); ?>
params->get('show_vote')){ $this->setLayout('listing_vote'); echo $this->loadTemplate(); } ?> params->get('show_price','-1')=='-1'){ $config =& hikashop_config(); $this->params->set('show_price',$config->get('show_price')); } if($this->params->get('show_price')){ $this->setLayout('listing_price'); echo $this->loadTemplate(); } ?> params->get('add_to_cart') || $this->params->get('add_to_wishlist')){ $this->setLayout('add_to_cart_listing'); echo $this->loadTemplate(); }?> params->get('show_compare')) { ?>
params->get('show_compare') == 1 ) { ?>