?
Solved

Javascript. How to change the time on this onload function

Posted on 2011-09-28
2
Medium Priority
?
339 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Make the most of your online learning experience.
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

752 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