WordPress.org

Ready to get started?Download WordPress

Forums

PixoPoint Menu NOT working in IE6 or IE7. HELP! (3 posts)

  1. mandawahoo
    Member
    Posted 3 years ago #

    I am using the PixoPoint Menu for a client website and it will NOT work in IE6 or IE7 (which is kind of the point...). I have deactivated all other plugins just in case, but there are still no dropdowns appearing in the earlier IE browsers.

    http://qedesignsource.com

    I've placed it into my theme with a conditional statement:

    <div class="sfhover"><?php if (function_exists('pixopoint_menu')) {pixopoint_menu();}
    elseif ( function_exists( 'wp_nav_menu' ) ){
    wp_nav_menu( array( 'theme_location' => 'main-menu', 'container_id' => 'mainMenu', 'container_class' => 'ddsmoothmenu', 'fallback_cb'=>'primarymenu') ); }
    else{ primarymenu(); }?></div>`

  2. mandawahoo
    Member
    Posted 3 years ago #

    Anyone?? I'm desperate at this point! Thanks so much in advance!

  3. keeganhurd
    Member
    Posted 2 years ago #

    Hi Manda,

    Did you ever figure this out? I am having trouble with where to place the javascript code. The page http://pixopoint.com/products/suckerfish_css// says at the bottom "Due to the inadequacies of older versions of Internet Explorer, it is advisable to download and integrate the “Suckerfish Javascript for Internet Explorer” code with your site." That link goes gives you a page with this code:

    function sfHoverEvents(sfEls) {
    var len = sfEls.length;
    for (var i=0; i<len; i++) {
    sfEls[i].onmouseover=function() {
    this.className+=" sfhover";
    }
    sfEls[i].onmouseout=function() {
    this.className=this.className.replace(" sfhover", "");
    }
    }
    }
    function sfHover() {
    var ULs = document.getElementsByTagName("UL");
    var len = ULs.length;
    for(var i=0;i<len;i++) {
    if(ULs[i].className.indexOf("sf-menu") != -1)
    sfHoverEvents(ULs[i].getElementsByTagName("LI"));
    }
    }
    if (window.attachEvent) window.attachEvent("onload", sfHover);

    >>>>>>
    I tried creating a file suckerfish_ie.js and uploading via FTP into my theme .js folder, and then editing the call script, which I put on my site post.

    Their page said use this:
    <script type="text/javascript" src="suckerfish_ie.js"></script>
    <![endif]-->

    I used this on my post:
    <script type="text/javascript" src="/wp-content/themes/list-machine-pro/js/suckerfish_keyboard.js"></script>
    <!--[if lte IE 7]>

    It doesn't work in IE... not sure what version.

    Keegan

Topic Closed

This topic has been closed to new replies.

About this Topic