Forum Moderators: open

Message Too Old, No Replies

IE 7 Error on Page

         

lamoose

9:44 pm on Jan 14, 2009 (gmt 0)

10+ Year Member



I get an "error on page" icon in IE 7 when viewing any of the pages of this site i created.

I guess this is some sort of Javascript conflict. I'm having a little trouble locating the line numbers in question. Everything on the site appears to function correctly but I need to conquer this error.

"This object is null or void" Line 3 character 140. That would be the head tag so I'm guessing this is line 3 on one of the javascript includes.

Guys I would appreciate it if you guys could help get to the bottom of this problem.

[edited by: tedster at 10:14 pm (utc) on Jan. 14, 2009]
[edit reason] no personal links, please [/edit]

tedster

10:15 pm on Jan 14, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, that error message means Line 3 Character 140 of the script itself, and not of the HTML source code.

lamoose

10:28 pm on Jan 14, 2009 (gmt 0)

10+ Year Member



Ok I think this is the line it complaining about, Character 140
Do you guys see anything wrong with it?

this.wrapper=C¦¦new Element("div",{styles:$extend(this.element.getStyles("margin","position"),{overflow:"hidden"})}).wraps(this.element);this.element.store("wrapper",this.wrapper).setStyle("margin",0);

lamoose

10:42 pm on Jan 14, 2009 (gmt 0)

10+ Year Member



it is part of the mootools script

lamoose

11:39 pm on Jan 14, 2009 (gmt 0)

10+ Year Member



nevermind I found the problem, The javascript was looking for class="links" in the nav html and I had changed class links to another class name. switched it back and errors gone.

Sometimes the simple problems are so hard to find.