Closed (fixed)
Project:
Rotor Banner
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Jun 2008 at 14:02 UTC
Updated:
21 Feb 2009 at 23:49 UTC
the rotor block is not showing in certain regions: side bars are ok but other regions (tried with bluemarine and my own theme) are not. the html code is there with a display:none style. The problem is that the js file is not being added.
Comments
Comment #1
Robaj commentedTry this, I know it's not beautiful, but working :)
Add this code to the end of the rotor.js.
function addEvent(obj, evType, fn)
{
if (obj.addEventListener)
{
obj.addEventListener(evType, fn, true);
return true;
}
else if (obj.attachEvent)
{
var r = obj.attachEvent("on"+evType, fn);
return r;
}
else
{
return false;
}
}
addEvent(window, 'load', init_rotor);
Comment #2
mrfelton commentedPlease try with the latest version and let me know if this is still a problem.
Comment #3
mrfelton commentedI'm closing this after not hearing anything for several months. If you still have a problem with this, please o[pen a new ticket.