function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_sw apImage.argumen ts; document.MM_sr= new Array; for
(i=0;i<(a.lengt h-2);i+=3)
if ((x=MM_findObj( a[i]))!=null){docum ent.MM_sr[j++]=x; if(!x.oSrc)
x.oSrc=x.src; x.src=a[i+2];}
}
| Use the Subject: line to show the type of problem you
| have but include the question in the body as well.
WRT your question, it appears that you are calling getBoxObjectFor and
this is causing an error. The error message you've posted indicates
that you should instead use getBoundingClie ntRect. You should follow
this advice because:
1) it is worth a shot.
2) it is actually good advice ( I guarantee it).
Re: Unknown Errors Use of getBoxObjectFor () is deprecated. Try to useelement.getB oundingClientRe ct() if possible.
On Nov 19, 8:51 pm, dhtml <dhtmlkitc...@g mail.comwrote:
On Nov 19, 2:56 pm, ameshkin <amir.mesh...@g mail.comwrote:
In particular:http://jibbering.com/faq/#posting
>
| Use the Subject: line to show the type of problem you
| have but include the question in the body as well.
>
Re: Unknown Errors Use of getBoxObjectFor () is deprecated. Try to useelement.getB oundingClientRe ct() if possible.
But the thing is, i'm not using either of those functions. I thought
maybe a toolbar was and I shut all the add ons and toolbars for
firefox off, but the same problem exists. Something external is
calling this function. It doesn't exist anywhere in my code, and I
have no idea what its for.
Re: Unknown Errors Use of getBoxObjectFor () is deprecated. Try to useelement.getB oundingClientRe ct() if possible.
On 20 Nov, 20:35, ameshkin <amir.mesh...@g mail.comwrote:
But the thing is, i'm not using either of those functions. I thought
maybe a toolbar was and I shut all the add ons and toolbars for
firefox off, but the same problem exists. Something external is
calling this function. It doesn't exist anywhere in my code, and I
have no idea what its for.
Maybe that you're using a firefox extension that cause that error.
Re: Unknown Errors Use of getBoxObjectFor () is deprecated. Try to useelement.getB oundingClientRe ct() if possible.
On Nov 20, 11:47 am, Diego La Monica <diego.lamon... @gmail.comwrote :
On 20 Nov, 20:35, ameshkin <amir.mesh...@g mail.comwrote:
>
But the thing is, i'm not using either of those functions. I thought
maybe a toolbar was and I shut all the add ons and toolbars for
firefox off, but the same problem exists. Something external is
calling this function. It doesn't exist anywhere in my code, and I
have no idea what its for.
>
Maybe that you're using a firefox extension that cause that error.
That's exactly what I thought, so I turned them all off. Still got
the errors. But then i restarted my computer, and the error has gone
away.
Still, I've seen this error on many other pages. So I would still
like to know exactly where its coming from.
Re: Unknown Errors Use of getBoxObjectFor () is deprecated. Try to useelement.getB oundingClientRe ct() if possible.
On Nov 20, 3:19 pm, ameshkin <amir.mesh...@g mail.comwrote:
On Nov 20, 11:47 am, Diego La Monica <diego.lamon... @gmail.comwrote :
>
On 20 Nov, 20:35, ameshkin <amir.mesh...@g mail.comwrote:
>
But the thing is, i'm not using either of those functions. I thought
maybe a toolbar was and I shut all the add ons and toolbars for
firefox off, but the same problem exists. Something external is
calling this function. It doesn't exist anywhere in my code, and I
have no idea what its for.
>
Maybe that you're using a firefox extension that cause that error.
>
That's exactly what I thought, so I turned them all off. Still got
Good idea!
the errors. But then i restarted my computer, and the error has gone
away.
Re: Unknown Errors Use of getBoxObjectFor () is deprecated. Try touse element.getBoun dingClientRect( ) if possible.
On 2008-11-20 21:19, ameshkin wrote:
That's exactly what I thought, so I turned them all off. Still got
the errors. But then i restarted my computer, and the error has gone
away.
>
Still, I've seen this error on many other pages. So I would still
like to know exactly where its coming from.
RESOLVED (roc) in Core - DOM: Core & HTML. Last updated 2019-03-13.
Mozilla's getBoxObjectFor () was never meant to be exposed for general
use; but it slipped out, and sites started to use it. Now that the cat's
out of the bag, the Mozilla devs can't simply remove the method without
breaking a lot of sites (among them Google Calendar). So they've decided
to issue a warning in later versions of FF3. This is what you're seeing
in Firebug.
In *your* case, I'd say the call was probably issued in MooTools.
Checking... bingo:
Comment