Solved

Javascript. How to change the time on this onload function

Posted on 2011-09-28
2
324 Views
Last Modified: 2012-05-12
<body onload="setTimeout(function() { auto1();},350);auto2();auto3();auto4();">

I would like to alter the SetTimeout for auto2, and auto3 and auto4.
right now the scripts for auto1();},350); is ok, but I need some delay for the other 3 functions
0
Comment
Question by:westdh
2 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 36720628
<body onload="slides();">

function slides() {
        setTimeout(function() { auto1();}, 350);
        setTimeout(function() { auto2();}, 350);
        setTimeout(function() { auto3();}, 350);
        auto4();
}

Open in new window

0
 

Author Closing Comment

by:westdh
ID: 36720671
Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A short article about problems I had with the new location API and permissions in Marshmallow
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now