Mini Mode Issue
![]() ![]() |
Hi,
Thanks |
![]() ![]() |
Oh ok. That's what the issue was about. I hadn't realized because I didn't turn off fitToWindow. Here's the fix, in case any of you want it now:
head.appendChild(new Element("a", {
className : player.offsetHeight + "px",
style : "font-size:12px;padding-top:3px;padding-left:3px;",
onclick : function() {
if(this.textContent=="mini mode on")
{
this.textContent = "mini mode off";
if(opts.fit) {
unsafeWindow.onresize = fitToWindow;
fitToWindow();
} else player.style.height = this.className;
} else {
this.textContent = "mini mode on";
player.style.height = "25px";
unsafeWindow.onresize = null;
}
},
textContent : "mini mode o" + (opts.min ? "n" : "ff")
}));
|

