...

View Full Version : Hello, need help with php load after x seconds.



donald979
07-21-2009, 07:48 AM
Ok so i am a developer for a car club, the site is fully designed but i have one problem, we are running a slideshow on a home page, alot of images,




<!-- slide -->

<script type="text/javascript">

$(function() {

$('#slideshow1').cycle({

speed: 1000 ,

random:1

});

});

</script>



<div class="dashboard">

<div id="slideshow1">

<img class="left" src="<?php echo BASE_URL?>show/1.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/2.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/3.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/4.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/5.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/6.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/7.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/8.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/9.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/10.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/11.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/12.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/13.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/14.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/15.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/16.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/17.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/18.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/19.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/20.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/21.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/22.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/23.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/24.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/25.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/26.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/27.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/28.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/29.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/30.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/31.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/32.jpg" alt="pic" width="400" height="300" />

<img class="left" src="<?php echo BASE_URL?>show/33.jpg" alt="pic" width="400" height="300" />

</div>

</div>

<!-- slide -->



is it possible to load this after 5seconds or after 10seconds after the page is loaded?

Thank You!

Fumigator
07-21-2009, 05:30 PM
This isn't PHP... it's jQuery. The plugin you're using, "cycle", has many options that may help you achieve what you're after. If looking there fails you, check out the timers plugin, which is a great plugin for firing off events on a delay or a regular interval:

http://plugins.jquery.com/project/timers



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum