Follow

On my page, when I use getComponent it works fine, but when I use getComponentOnload the banner never appears. What's happening?

The "Onload" version of getComponent is triggered by the "onload" event on a web page. If there is another page element that defines a function to be called by the "onload" event and it comes after the Liveclicker code, that code will overwrite Liveclicker's request to be notified when the onload occurs. The Liveclicker code will never get called and the banner will never get inserted. However, if the Liveclicker code comes after the existing code there will be no problem because Liveclicker checks to see if the onload event is already captured and calls the existing function as well as its own.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.