Solved

Javascript. How to change the time on this onload function

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Link Anchor Not working 9 47
Glitching Slide Show 19 27
Word Press Fixes to Google Speed Test Issues 2 21
Oracle programming for starter 14 28
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

756 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