1 Feb 22, 2010 18:45
I am trying to build a new skin using jquery custom. I have also written a lightbox plugin which uses jquery.
What I need to do is add some code to the body tag to initialize the skin, but I can find no reference to this in the documentation or the forum.
Apparently B2e uses jquery already, not very successfully on the copy I have (3.3.3), so I figure I need to change my plugin to use the existing one instead of loading my own (as I read somewhere that it would be a waste of bandwidth and can cause other problems). There is code within the plugin that runs immediately, which calls jquery, but the existing jquery is not loaded soon enough. A solution is to use the onload event of the body.