Jump to content

Howto slow down a datapage loading in the browser


Recommended Posts

For a reason i have to slow down for short time (1 sec or so, have to test) the loading of a datapage in the webbrowser... (so just updated data(recordaction: delete) is captured, now it is not in time refreshed)...

Can someone show me how todo it below?

Deploy code:

Click here to load this Caspio Online Database app.

thanx!

Bart

ps.: (i think the refresh problem has todo with the calculated field, because normal resultdatapages refresh ontime)

Link to comment
Share on other sites

Hello, Bart.

Just found solution in internet.

See http://www.sean.co.uk/a/webdesign/javascriptdelay.shtm.

And there is your new working deploy-code with delay function:

function pausecomp(millis){

var date = new Date();

var curDate = null;

do{

curDate = new Date();

}

while(curDate-date < millis);

}

pausecomp(5000);

Click here to load this Caspio Online Database app.

P.S. as you understand -- 5000 milliseconds in this case.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...