10-04-2009, 06:08 PM
|
#2 (permalink)
|
|
The Addict
Join Date: May 2009
Posts: 287
Thanks: 5
|
javascript Code:
$(document).ready(function() {
// This will hold our timer var myTimer = {};
// Set the timer for 2 seconds myTimer = $.timer(2000, function(){
// Load the new image. $("#head").load("HeaderChanger.php");
});
});
I'm giving credit to ETbyrne for his jQuery Timer Plugin. Just change the "2000"(ms) to how ever long you want the delay to last.
Attached you will find the zip file that contains the entire plugin distribution. VirusTotal Scan
|
|
|
|