Exemplo n.º 1
0
			        // for the images with a fluid width and height 
			        responsive:true,
			        speed: { //this property could also be just speed: value for both fadeIn and fadeOut
			            fadeIn: 200, // 200ms for fadeIn animations
			            fadeOut: 300 // 800ms for fadeOut animations
			        }
			    });		    
			});
		</script>

	<?php endif ?>
    
<?php elseif ($style == 'professional') : ?>
	<?php if( ! yit_is_accordion_empty() ): ?>
		<div class="team-slider wrapper team-professional margin-top margin-bottom">
        	<ul<?php if(yit_accordion_has_featured_item()):?> class="with-featured"<?php else :?> class="without-featured"<?php endif ?>>
				<?php while( yit_have_accordion_item() ): ?>
                
                	<?php
						$li_span = 3;
						if (yit_accordion_item_get('featured') )
						{
							if ( $sidebar_layout == 'sidebar-no' ) $li_span = "12 featured";
							else $li_span = "9 featured";
						}
					?>
                	
                    <li class="span<?php echo $li_span; ?>">
                    	<div class="padding">
                        	
                            <?php if( yit_accordion_item_get('featured') ): ?>
Exemplo n.º 2
0
			});
		</script>

	<?php 
    }
    ?>
    
<?php 
} elseif ($style == 'professional') {
    ?>
	<?php 
    if (!yit_is_accordion_empty()) {
        ?>
		<div class="team-slider wrapper team-professional margin-top margin-bottom">
        	<ul<?php 
        if (yit_accordion_has_featured_item()) {
            ?>
 class="with-featured"<?php 
        } else {
            ?>
 class="without-featured"<?php 
        }
        ?>
>
				<?php 
        while (yit_have_accordion_item()) {
            ?>
                
                	<?php 
            $li_span = 3;
            if (yit_accordion_item_get('featured')) {