Solved

Javascript. How to change the time on this onload function

Posted on 2011-09-28
2
331 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to dynamically set the form action using jQuery.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

792 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