internet explorer9

  • Posts: 46
  • Thank you received: 0
12 years 4 months ago #57554

my site is not working with internet explorer9. any known issues / fix?
i am using the hagane - Default template.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
12 years 4 months ago #57602

Hello,

Can you tell me exactly what is not working in your site with internet explorer 9, and give me your web site adress please ?

Please Log in or Create an account to join the conversation.

  • Posts: 46
  • Thank you received: 0
12 years 4 months ago #57720

my site is:http://drz.cloudaccess.net/

the error derails:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/5.0; .NET CLR 2.0.50727; SLCC2; Media Center PC 6.0; .NET4.0C; Tablet PC 2.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Mon, 16 Jul 2012 20:34:24 UTC

Message: Unable to get value of the property 'getElementsByTagName': object is null or undefined
Line: 203
Char: 6
Code: 0
URI: drz.cloudaccess.net/

please note this problem occurs only in ie; other browsers wok fine.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 4 months ago #57723

That error comes from your extended menu module's javascript code. Please contact their support for help on that error.

Please Log in or Create an account to join the conversation.

  • Posts: 46
  • Thank you received: 0
12 years 4 months ago #58098

I beleive the issue occurs from the template as i made a new test empty site with only the template as in abc.cloudaccess.net/
the problem is still there !
I am using the hagane - Default template

the same does not occur with your demo site although you are using the same template , so is there a better version . please send me the link ?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 4 months ago #58142

I can see the exact same javascript error on that website:
var sfEls = document.getElementById("mainlevelmainnav").getElementsByTagName("LI");

Looking closer at the issue, it's because you're not displaying your menu with the joomla menu module. Because of that the javascript in the index.php file of the template doesn't find the menu and crash.
You need to remove it:

<script type="text/javascript"><!--//--><![CDATA[//><!--
  sfHover = function() {
     var sfEls = document.getElementById("mainlevelmainnav").getElementsByTagName("LI");
     for (var i=0; i<sfEls.length; i++) {
        sfEls[i].onmouseover=function() {
           this.className+=" sfhover";
        }
        sfEls[i].onmouseout=function() {
           this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
        }
     }
	 
  }
  if (window.attachEvent) window.attachEvent("onload", sfHover);
//--><!]]></script>

Please Log in or Create an account to join the conversation.

  • Posts: 46
  • Thank you received: 0
12 years 4 months ago #58259

Thank you for your reply.
Please confirm if I understood what you wrote:
==>I should open index.php and remove the <script .... until </scrpt> for the template to work with IE 9?

please advise what is this script for : what will i loose ?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 4 months ago #58261

That code is for the joomla menu module to work on IE9 properly.
You don't use it, so the code breaks.

Please remember that the template was made specifically for our demo website. It's not that the template doesn't work with IE9, it's just that you're doing something which was not supposed to happen on the demo website...so it breaks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum