Need help? Check out our Support site, then


Bug report: Titan theme navigation

  1. The Titan theme has a bug in the dropdown navigation.

    The Suckerfish script is only being served to IE6 and older browsers, whereas it should be served to IE7 as well, other it triggers problems with IE8 compatibility mode.

    I've written an article about the issue here in case clarification of the exact nature of the bug is required:
    http://pixopoint.com/ie-hovers/

    The Titan theme available on WP extend does not have this bug. It has the following on line 33 of header.php:
    <!--[if lte IE 7]><br /> <script type="text/javascript"><br /> sfHover=function(){var sfEls=document.getElementById("nav").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfhover";}<br /> sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfhover\\b"),"");}}}<br /> if(window.attachEvent)window.attachEvent("onload",sfHover);<br /> </script><br /> <![endif]-->

    Whereas WordPress.com is outputting the following code:
    <!--[if lte IE 6]>
    <script type="text/javascript" src="http://s0.wp.com/wp-content/themes/pub/titan/ie/nav.js?m=1266945471g"></script>
    <![endif]-->

    WordPress.com is using an external file which is a better idea IMO than doing it inline as with the WP.org extend version, but it's getting the IE version number incorrect unfortunately.

  2. It's best to directly report bugs to staff via their contact link http://en.support.wordpress.com/contact/

  3. I've alerted the theme team :)

  4. Thanks for letting us know about this issue, Ryan! (Great write up on that issue too.)

  5. Glad to be of help :)

    Looks like it's fixed now. Thanks for the speedy bug correction.

  6. Cross-posting in case anyone is interested in why I was diving into the code of that theme:

    http://en.forums.wordpress.com/topic/new-theme-cobaltcloud-theme

Topic Closed

This topic has been closed to new replies.

About this Topic