Hi there, I noticed a problem while including layer-ads. Firebug says
"$("body") has no properties" HTML: <script type="text/javascript" src="{$path_js}plugins/jquery.js"></ script> <script type="text/javascript" src="{$path_js}ajax.js"></script> <script type="text/javascript" src="{$path_js}logoutScreen.js"></ script> <script type="text/javascript" src="http://www.sponsorads.de/ script.php?s=116298"></script> logoutScreen.js: var Countdown = { timer: 15, stepSpeed: 1000, initialize: function () { if (!$("body").length) { window.setTimeout("Countdown.initialize()", 500); return; } $("body").append('<div id="logoutBox"></div><div id="toPortal"><span id="countDownLine"><span id="countDownNumber">15</span> seconds until logout</span></div>'); window.setTimeout("Countdown.step()", this.stepSpeed); }, ... ... }; $(function() { Countdown.initialize(); }); ------------------------------------- How may I avoide this? I tried things like $.getScript() but it doesn't work (and the ad-company doensn't allow it anyway). Any Ideas? Eric Teubert