I have currently installed prettyphoto and managed to launch an iframe on page load through
$(document).ready(function(){
What is the quickest way to add a delay to it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
window.setTimeoutfunction in javascript is easy to use.You probably do something like
Add a delay before you make your call :
Note that you can also put the function inline if you wish to do so :