Exemplo n.º 1
0
	
	if($fg_fadetime==0)		$fg_fadetime=2000;
	if($fg_fadetime<100)	$fg_fadetime=100;
	
	if($fg_fadestep==0)		$fg_fadestep=20;
	if($fg_fadestep<1)		$fg_fadestep=1;
	
$objectname='fadegallerycom';




echo $fg->getDiv($fg_images,$width, $height,$objectname,$this->params->get( 'align' ),$this->params->get( 'padding' ),$this->params->get( 'cssstyle' ));


if(count($fg_images)>0)
{
	JHTML::script('fadegallery.js');
	
	echo $fg->getJavaScript($fg_images, $objectname,$fg_interval,$fg_fadetime,$fg_fadestep,$width,$height);
	
}



?>
    
    
    
    
Exemplo n.º 2
0
		
		if($fg_fadestep==0)		$fg_fadestep=20;
		if($fg_fadestep<1)		$fg_fadestep=1;
		
		
		$fgpadding=(int)$galleryrow->padding;
		
	
	
		$objectname='fadegalleryid_'.$count;
	
		echo $fg->getDiv($fg_images,$width, $height,$objectname,$galleryrow->align,$fgpadding,$galleryrow->cssstyle);
		
		
	
		echo $fg->getJavaScript($fg_images, $objectname,$fg_interval,$fg_fadetime,$fg_fadestep,$galleryrow->width,$galleryrow->height);
	}//if(count($fg_images)>0)
}
else
{
	$fg_images=$fg->getFileList($params->get( 'folder' ), $params->get( 'filelist' ));

	$fgalign='';
	$fpadding='';

	$objectname='fdmodule'.$module->id;;

	echo $fg->getDiv($fg_images,$params->get( 'width' ), $params->get( 'height' ),$objectname,$fgalign,$fpadding,$params->get( 'cssstyle' ));


Exemplo n.º 3
0
		$width=(int)$galleryrow->width;
		$height=(int)$galleryrow->height;

		if($width<1)			$width=400;

		if($height<1)			$height=300;

		if($fg_interval==0)		$fg_interval=6000;
		if($fg_interval<1000)	$fg_interval=1000;
	
		if($fg_fadetime==0)		$fg_fadetime=2000;
		if($fg_fadetime<100)	$fg_fadetime=100;
	
		if($fg_fadestep==0)		$fg_fadestep=20;
		if($fg_fadestep<1)		$fg_fadestep=1;
	
	
		$objectname='fadegallerycom';

		echo $fg->getDiv($fg_images,$width, $height,$objectname,$galleryrow->align,$galleryrow->padding,$galleryrow->cssstyle);


		JHTML::script('fadegallery.js');
	
		echo $fg->getJavaScript($fg_images, $objectname,$fg_interval,$fg_fadetime,$fg_fadestep,$galleryrow->width,$galleryrow->height);
	
	}
}


?>