By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,717 Members | 1,233 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,717 IT Pros & Developers. It's quick & easy.

Unknown Errors Use of getBoxObjectFor() is deprecated. Try to useelement.getBoundingClientRect() if possible.

P: n/a
I have no idea whats causing this error on this page. It makes it so
that the mousovers on the icons don't work.

http://www.promoventures.com/quotes2/
Nov 19 '08 #1
Share this Question
Share on Google+
13 Replies


P: n/a
On Nov 19, 4:56*pm, ameshkin <amir.mesh...@gmail.comwrote:
I have no idea whats causing this error on this page. *It makes it so
that the mousovers on the icons don't work.
And this is related to your subject line how?
>
http://www.promoventures.com/quotes2/
Whatever.
Nov 19 '08 #2

P: n/a
Um.
That's the page that I'm having trouble with you SIMPLETON.

http://www.promoventures.com/quotes2/

Check the firebug DEBUG and you will see the error

On Nov 19, 2:05*pm, David Mark <dmark.cins...@gmail.comwrote:
On Nov 19, 4:56*pm, ameshkin <amir.mesh...@gmail.comwrote:
I have no idea whats causing this error on this page. *It makes it so
that the mousovers on the icons don't work.

And this is related to your subject line how?
http://www.promoventures.com/quotes2/

Whatever.
Nov 19 '08 #3

P: n/a
On Nov 19, 5:56*pm, ameshkin <amir.mesh...@gmail.comwrote:
Um.
That's the page that I'm having trouble with you SIMPLETON.
Um, no need to shout. The page starts out:

<div id="debug">id: t16910<br>page: 1<br></div><!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/
xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/main.css" type="text/css" />
<link href="/pv_stylesheet.css" rel="stylesheet" type="text/css" /
>
<title></title>
<META NAME="description" CONTENT="">
<META NAME="keywords" CONTENT="">

<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i+
+) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a
[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))
>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers
[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for
(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
x.oSrc=x.src; x.src=a[i+2];}
}

</script>
<style>
A.WHITE {color: white}
A:HOVER { text-decoration: underline; color: #ff6600 }
</style>

<script type="text/javascript">
/*
Script: Core.js
MooTools - My Object Oriented JavaScript Tools.

License:
MIT-style license.

Copyright:
Copyright (c) 2006-2007 [Valerio Proietti](http://mad4milk.net/).

Code & Documentation:
[The MooTools production team](http://mootools.net/developers/).

Inspiration:

[MooTools garbage snipped.]

You are having trouble indeed. Please close your browser, turn off
your computer and find another line of work. Thank you for your
cooperation.
Check the firebug DEBUG and you will see the error
Will you pipe down. There was no error.
Nov 20 '08 #4

P: n/a
On Nov 19, 2:56*pm, ameshkin <amir.mesh...@gmail.comwrote:
Um.
That's the page that I'm having trouble with you SIMPLETON.

http://www.promoventures.com/quotes2/

Check the firebug DEBUG and you will see the error

On Nov 19, 2:05*pm, David Mark <dmark.cins...@gmail.comwrote:
On Nov 19, 4:56*pm, ameshkin <amir.mesh...@gmail.comwrote:
I have no idea whats causing this error on this page. *It makes it so
that the mousovers on the icons don't work.
It is a good idea to read the FAQ.

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.

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 getBoundingClientRect. You should follow
this advice because:
1) it is worth a shot.
2) it is actually good advice ( I guarantee it).

Garrett

Nov 20 '08 #5

P: n/a
On Nov 19, 8:51*pm, dhtml <dhtmlkitc...@gmail.comwrote:
On Nov 19, 2:56*pm, ameshkin <amir.mesh...@gmail.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.
And this just came up here:
http://groups.google.com/group/comp....61bfb50?hl=en#

Nov 20 '08 #6

P: n/a
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.
Nov 20 '08 #7

P: n/a
you are retarded.
Nov 20 '08 #8

P: n/a
On 20 Nov, 20:35, ameshkin <amir.mesh...@gmail.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.
Nov 20 '08 #9

P: n/a
On Nov 20, 11:47*am, Diego La Monica <diego.lamon...@gmail.comwrote:
On 20 Nov, 20:35, ameshkin <amir.mesh...@gmail.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.
Nov 20 '08 #10

P: n/a
On Nov 20, 3:19*pm, ameshkin <amir.mesh...@gmail.comwrote:
On Nov 20, 11:47*am, Diego La Monica <diego.lamon...@gmail.comwrote:
On 20 Nov, 20:35, ameshkin <amir.mesh...@gmail.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.
Turning it off will make it go away as well.

[snip]
Nov 20 '08 #11

P: n/a
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.
Look here:
https://bugzilla.mozilla.org/show_bug.cgi?id=340571

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:
http://mootools.lighthouseapp.com/pr...-is-deprecated

The discussion on Bugzilla also mentions Dojo, YUI, Plone, and MochiKit.
Cue David in 3.. 2.. 1..
- Conrad
Nov 20 '08 #12

P: n/a
Thank you, this makes more sense now.

Nov 20 '08 #13

P: n/a
On Nov 20, 4:36*pm, ameshkin <amir.mesh...@gmail.comwrote:
Thank you, this makes more sense now.
Glad I could help!
Nov 20 '08 #14

This discussion thread is closed

Replies have been disabled for this discussion.