Search code examples
jqueryinternet-explorer-8drop-down-menucufonsuperfish

Cufon Superfish hide dropdown text in IE8


I am using Cofunized text in my drop downs with superfish. But dropdown text is hidden in IE8. I try this fix but no luck instead it stopped working in every browser. The fix is: https://forum.jquery.com/topic/jquery-fix-superfish-cufon-in-ie8.

   <script type="text/javascript">
    Cufon.CSS.ready(function(){ 

        $("ul#nav_709109").supersubs({ 
            minWidth:    12,   // minimum width of sub-menus in em units 
            maxWidth:    27,   // maximum width of sub-menus in em units 
            extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
                               // due to slight rounding differences and font-family 
        }).superfish({ 
            autoArrows:  true, // disable generation of arrow mark-up 
            dropShadows: false // disable drop shadows 
        }); 
    });     
   Cufon.replace('#main-nav li a', {fontFamily:'GRMedium',hover: true});

   </script>

Solution

  • specify a height for your element might fix your problem. If not, could you provide us your code or an url or something so we can take a closer look?