function delayCss() {
var targetDiv = document.getElementById("panel-942-1-0-0").getElementsByClassName("so-panel widget widget_sow-image panel-first-child panel-last-child")[0];
targetDiv.classList.add("animated lightSpeedIn");
}
setTimeout(delayCss,20000);
/*alert('I am here!'); - BTW this basic alert script works on page load*/
Via Wordpress Custom CSS & JS plugin and assigned CSS ID and CLASSES in the page code using pageBuilder. This plugin sources code I placed in 1887.css and makes the ‘lightSpeedIn’ effect happen, and its working on page load ATM, but I want to delay the effect until 5 seconds after page load. (Please see comment re alert(‘I am here!’); above in first code block.)
Can’t get it to work.
Any help would be greatly appreciated.
coothead, Eternally grateful Sir
I spent a whole day trying to wrangle JS code I know little about. CSS is vast isn’t it?
Would appreciate your thoughts on how the page works for you now: http://staging.gordon.server271.com/subscription-confirmation/