Kodlar Bu şekilde Bunu yüklediğimde çok hızlı akıyor. Bunu nasıl yavaşlatabilirim
Kod:
<div class="featured">
<p class="heading">Kampanyalı Ürünler</p>
<ul class="btns">
<li class="prev"><a id="prev" href="javascript:void(0);">Geri</a></li>
<li class="next"><a id="next" href="javascript:void(0);">İleri</a></li>
</ul>
<ul class="items">
<?php foreach ($products as $product): ?>
<li>
<?php if ($product['thumb']): ?>
<div class="img">
<a href="<?php echo $product['href']; ?>" title="<?php echo $product["name"] ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" /></a>
</div>
<?php endif; ?>
<h2><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></h2>
<?php if ($product['price']): ?>
<p class="price">
<?php if (!$product['special']): ?>
<?php echo $product['price']; ?>
<?php else: ?>
<span class="price-old"><?php echo $product['price']; ?></span> <span class="price-new"><?php echo $product['special']; ?></span>
<?php endif; ?>
</p>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ul>
</div>
<div class="clear"></div>
<script type="text/javascript">
$('.items').cycle({
fx: 'fade',
speed: 'fast',
timeout: 50,
next: '#next',
prev: '#prev'
});
</script>