Are you looking to just universally do this for all instances of Stay on Top Contents launched on the page? If so, inside the .js file, just wrap these two lines with the parts in red:
Code:
if (settings.externalsource!='' && settings.display){ //if ajax content
setTimeout(function(){alwaysOnTop.loadajaxcontent($, settings)}, 1000)
}
else if (settings.externalsource==''){ //inline content
var $target=$('#'+settings.targetid)
if (!settings.display){ //if hide content (based on frequency setting)
$target.hide()
return false
}
else{
setTimeout(function(){alwaysOnTop.positiontarget($target, settings), 1000)
}
}
Where 1000 denotes 1 second.
Bookmarks