The code that tinynav puts in the page header is triggering a JS warning in IE8 and below. The problem code looks a bit like:

jQuery(document).ready(function($){
  $('#nice-menu-1').addClass('tinyjs');
  $('.tinyjs').tinyNav({
    header: true,
        
  });
});

I believe that it's the trailing comma at the end of header: true, that's causing the problem.

Comments

btopro’s picture

Status: Active » Needs work

That sounds possible; can you do me a favor and run it through http://www.jslint.com/ until it passes.

user1252762’s picture

i have a problem with ie8 too. drop down doesn't create with ie8 and jquery1.7.
but if i update jquery to 1.8 via jquery_update drop down create.
there is only error i get with ie8 and drupal 1.7 and latest dev in ie8.

Unable to get value of the property 'slice': object is null or undefined

if remove this line of tinynav

jQuery(document).ready(function($){
  $('#nice-menu-1').addClass('tinyjs');
  $('.tinyjs').tinyNav({
    header: true,
        
  });
});

error disappear so i think the error is related to tinynav.
i hope this clues would help.

btopro’s picture

sounds like you are saying if you remove the tinynav code that it works.

user1252762’s picture

sorry for bad english.
i mean if i remove that piece of code, error disappear and tiny nav obviously doesn't work. my point was that error is probably related to tinynav.

btopro’s picture

see comment 1. please run this through jslint.com and clean up whatever the issue is til it passes. It's probably some silly syntax thing if it's only causing issues in IE