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

D

David Mark

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" />
<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)&&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.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a
;}}
}

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[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers
.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))!=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.
 
D

dhtml

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

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
 
A

ameshkin

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.
 
D

Diego La Monica

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.
 
A

ameshkin

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.
 
A

ameshkin

You are not funny, but you are a douchebag. If you keep replying to
me, then you also have no life. now, **** off. Someone a LOT smarter
than you has solved the problem.
 
D

dhtml

You are not funny, but you are a douchebag.  If you keep replying to
me, then you also have no life. now, **** off.  Someone a LOT smarter
than you has solved the problem.

Please learn how to post here. You've cited nothing in your response
and it is unclear to whom you are replying.

getBoxObjectFor should not be used. (You should have realized that
from the error message you copy pasted.)

When you receive an error message, read the message. It will normally
include the filename. Did the error message not contain the filename?

When posting to ask for help, it is important to mention which
browsers and versions the problem occurred in. This is well-covered in
the FAQ.

If you'd searched the web, you should have found the bug that Conrad
Lender posted:
https://bugzilla.mozilla.org/show_bug.cgi?id=340571

Garrett
 
T

Thomas 'PointedEars' Lahn

ameshkin said:
You are not funny, but you are a douchebag. If you keep replying to
me, then you also have no life. now, **** off. Someone a LOT smarter
than you has solved the problem.

You must be a complete idiot because you think that insulting people that
you don't know and who don't know you but try to help you despite of that
and your utter cluelessness both in programming and posting would result in
more or better help for you.


Score adjusted

PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top