Quote:
Originally Posted by Dave
You use jQuery? What if you wrap all JavaScript within:
HTML Code:
$(function(){
// All of the JavaScript here.
});
That will execute when the page has fully loaded.
We might need a link to your forum with a test account in order to debug the issue.
|
Thanks for the reply. But that seems to make no difference on the showthread pages. The entire FB iframe is still visibly loaded before the showthread page is finished refreshing.
--------------- Added [DATE]1422649905[/DATE] at [TIME]1422649905[/TIME] ---------------
Quote:
Originally Posted by kh99
Did you check the browser's console to see if you're getting any js errors in showthread.php?
|
Yes I have been watching that. There have been no errors present in the console.
--------------- Added [DATE]1422662432[/DATE] at [TIME]1422662432[/TIME] ---------------
So... anyone know how to get showthread to parse and apply the following timer directive? (which works fine on all non showthread pages.)
Code:
var myTimer = window.setTimeout(function() {
// JS thing to do
}, 3000);
I tried the code in the header template and it won't work from there either. Why won't showthread simply make all of the function calls from the footer or header templates global? It would sure solve my problem if it did.