• Support will be limited until May 8th, as I will be out of the office travelling. Thank you for your patience and understanding.

Bug Shoutbox Severely Delayed Upon Loading

Status
Not open for further replies.

Geocodes

Customer
When I load my index page where the shoutbox is located, there seems to be a severe delay before the content in the shoutbox loads. It seems when I click on other tabs and then click back on the main one it loads properly. Is there any solution to this issue?
 
No, the reason for this delay is that the Shoutbox doesn't begin loading until all other page elements have loaded. In programming terms, it waits until the DOM has fully loaded.

The reason for this is that the .js file is in the header, yet if the Shoutbox itself and all elements it depends on has not loaded yet, the entire script will implode and the shoutbox would never work.

Instead of relying on the way browsers render a page (which varies greatly) we wait until ALL the HTML code has loaded, and then start fetching content.


In short, this is working 100% as designed :)
 
Status
Not open for further replies.

Legacy vBShout

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,172
Customer rating
5.00 star(s) 1 ratings
Back
Top