Shape 5

Joomla Templates => Eden Rock - April 08 - Club => : cspgsl March 27, 2009, 07:40:25 AM



: IE6 Error on page load
: cspgsl March 27, 2009, 07:40:25 AM
I am getting the following error in IE6 and IE+E5.5 on page load at http://client.accountantswebdesign.ca/index.php (http://client.accountantswebdesign.ca/index.php)

Line: 3
Char:2
Error: ?document.getElementByld(,,,)? is null or not an object
Code:0
URL: http://client.accountantswebdesign.ca/component/comprofiler/registers

The main body will not load in the correct position.

Once a user is logged in, the error is still there but the main body loads in what appears to be the correct position but the page is two feet tall.

I can PM the login UN & PW for testing if necessary

Another user did a debug and came up with this:

sfHover = function() {
 var sfEls = document.getElementById("navv").getElementsByTagName("LI");
 for (var i=0; i<sfEls.length; i++) {
  sfEls.onmouseover=function() {
   this.className+=" over";
   this.className+=" sfhover";
  }
  sfEls.onmouseout=function() {
   this.className=this.className.replace(new RegExp(" over\\b"), "");
   this.className=this.className.replace(new RegExp(" sfhover\\b"), "");

  }
 }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

But, I am not a coder so do not know what to look for

This page loads without error in all other browsers.

I would appreciate any suggestions to set this right
Thanks


: Re: IE6 Error on page load
: mikek March 27, 2009, 09:18:40 AM
Hello, if you can private message me super admin access I can look into this for you.


: Re: IE6 Error on page load
: cspgsl March 28, 2009, 11:29:17 AM
Hi Mike, any luck?
Thx


: Re: IE6 Error on page load
: mikek March 28, 2009, 03:48:33 PM
Hello, sorry I thought I had replied back to you. The issue has been resolved, you may need to clear your cache to view the change.


: Re: IE6 Error on page load
: cspgsl March 28, 2009, 04:39:50 PM
Thanks Mike, much appreciated.


: Re: IE6 Error on page load
: cspgsl April 02, 2009, 04:11:08 AM
Mike: here is a screen shot of the users computer on April 1st and no, it isn't an attempt at April Fools


: Re: IE6 Error on page load
: mikek April 02, 2009, 07:14:20 AM
Hi, it looks like you've completely removed the top menu, you need to remove this line in the template's index.php file:

<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/edenrock/js/IEsuckerfish.js"></script>


: Re: IE6 Error on page load
: cspgsl April 02, 2009, 02:18:33 PM
I have not done anything since you did what ever you did to make it work.