Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Help with javascript/drop down menu

    I've added chrome drop down menu to my site and thought it all went swimmingly, did just what it was supposed to do in firefox as well as internet explorer...except now I have hit a peculiar glitch lol

    In Internet Explorer the product pages refuse to load, IE aborts it....it works fine *everywhere* else in all browsers except this page....and I am stumped lol soon as I removed the menu code the page loaded

    This is my code here:

    PHP Code:
    <div id="menuBack">
    <div class="chromestyle" id="chromemenu">
    <ul>
    <li><a style="border-left: 1px solid #DADADA;" href="http://www.havendesignz.com">Home</a></li>
    <li><a href="http://www.havendesignz.com/store/" rel="dropmenu1">Shopping</a></li>
    <li><a href="#" rel="dropmenu2">Community</a></li>
    <li><a href="#" rel="dropmenu3">Blogs/Yahoo Groups</a></li>    
    <li><a href="#" rel="dropmenu4">Web Design</a></li>
    <li><a href="#" rel="dropmenu5">Advertising</a></li>
    <li><a href="#" rel="dropmenu6">PSP/Graphics Stuff</a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL'); ?>"><span style="color:#0E7C9D;">My Cart:</span> 
        <?php echo sizeof($_SESSION['cart']->get_products()); ?>&nbsp;items&nbsp;-
         <?php $header_cart $currencies->format($_SESSION['cart']->show_total());  
        echo 
    $header_cart;
        
    ?></a></li>
    </ul>
    </div>

    <!--1st drop down menu -->                                                   
    <div id="dropmenu1" class="dropmenudiv">
    <a href="http://www.havendesignz.com/store/">Store Home</a>
    <a href="http://www.havendesignz.com/store/contact_us">Contact Us</a>
    <?php if ($_SESSION['customer_id']) { ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGOFF'''SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF?></a>
    <?php
          
    } else {
            if (
    STORE_STATUS == '0') {
    ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGIN'''SSL'); ?>"><?php echo HEADER_TITLE_LOGIN?></a>
    <?php } } ?>
    <a href="http://www.havendesignz.com/store/specials_and_discounts">Specials/Discounts</a>
    <a href="https://www.havendesignz.com/helpdesk/">Help Desk/FAQ</a>
    <a href="https://www.havendesignz.com/store/account">My Account</a>
    <a href="http://www.havendesignz.com/store/wishlists_manager">My Wishlist </a>
    <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT?></a>
    <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS?></a>
    <a href="http://groups.yahoo.com/group/hdds-newsletter/" target="_blank">Newsletter Subscribe</a>
    <a href="http://www.havendesignz.com/designer_application/upload_form.php" target="_blank">Designer Application</a>
    </div>


    <!--2nd drop down menu -->                                                
    <div id="dropmenu2" class="dropmenudiv" style="width: 150px;">
    <a href="http://www.havendesignz.com/forum/">Forum</a>
    <a href="http://www.havendesignz.com/gallery/">Gallery</a>
    <a href="#" onclick="javascript:window.open('http://www.havendesignz.com/chat/index.html','java','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=740, height=600');">Live Chat</a>
    <a href="http://www.havendesignz.com/guestbook/gbook.php">Guestbook</a>
    </div>

    <!--3rd drop down menu -->                                                   
    <div id="dropmenu3" class="dropmenudiv" style="width: 150px;">
    <a href="http://www.havendesignz.com/store-blog/">Store News</a>
    <a href="http://www.lissaedesignz.com/" target="_blank">LissaE Designz</a>
    <a href="http://tech.groups.yahoo.com/group/Scrapz_n_Stuff/" target="_blank">Scrapz N Stuff</a>
    </div>

    <!--4th drop down menu -->                                                   
    <div id="dropmenu4" class="dropmenudiv">
    <a href="http://www.havendesignz.com/portfolio.php">Portfolio</a>
    <a href="http://www.havendesignz.com/web_design/upload_form.php">Request Quote</a>
    </div>


    <!--5th drop down menu -->                                                
    <div id="dropmenu5" class="dropmenudiv" style="width: 175px;">
    <a href="http://www.havendesignz.com/topsites/">Scrapbooking Topsites</a>
    <a href="https://www.havendesignz.com/affiliates/?req=newaccount&amp;pid=1">Affiliate Program</a>
    </div>

    <!--6th drop down menu -->                                                   
    <div id="dropmenu6" class="dropmenudiv" style="width: 150px;">
    <a href="http://www.havendesignz.com/glitters.php">Glitter Tiles</a>
    <a href="http://www.havendesignz.com/backgrounds.php">Background Tiles</a>
    <a href="http://www.havendesignz.com/tubes.php">Tubes &amp; Mists</a>
    <a href="http://www.havendesignz.com/tutorials.php">Tutorials</a>
    </div>
    <script type="text/javascript">
    cssdropdown.startchrome("chromemenu")
    </script>
    </div>
    The script I used is here: http://www.dynamicdrive.com/dynamici...rome/index.htm

    And Microsoft says this about aborted pages (which was what lead me to remove the menu to see if it caused it lol):

    This problem occurs because a child container HTML element contains script that tries to modify the parent container element of the child container. The script tries to modify the parent container element by using either the innerHTML method or the appendChild method.

    For example, this problem may occur if a DIV element is a child container in a BODY element, and a SCRIPT block in the DIV element tries to modify the BODY element that is a parent container for the DIV element.
    http://support.microsoft.com/kb/927917

    I really don't understand why it only does this on one page type...can anyone help? I have removed the bottom script block from the menu from the store temporarily until I can get it fixed lol
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Help with javascript/drop down menu

    Zen-Venom Get Bitten

  3. #3
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: Help with javascript/drop down menu

    I thought about that, but I wanted one to go across my whole site, not just the store....I am thinking there might be a conflict with another mod installed, and I'm trying lots of different things from searches as well lol
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Help with javascript/drop down menu

    but I wanted one to go across my whole site, not just the store.
    You have your site set to 950px and I do not see the issue you describe????
    what is just the store? versus you whole site???
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: Help with javascript/drop down menu

    Yes across the site, I don't mean I wanted it across the entire width, sorry for the confusion lol

    You don't see the issue because I have removed the section of code creating it, if no one using IE can load the product pages no sales so until I can fix it I have removed it

    To be specific, the aborted load error ONLY happens on the product info pages and ONLY happens in IE, Firefox loads it all just fine and the piece of code that seems to be conflicting is this piece:

    Code:
    <script type="text/javascript">
    cssdropdown.startchrome("chromemenu")
    </script>
    I have had a custom wishlist mod recently installed and am waiting on the developer's reply to see if it's possibly a conflict with the js used for that mod on the product info pages...until then I am stumped, nothing I have tried is working
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  6. #6
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: Help with javascript/drop down menu

    Just an update on this...after disabling one thing at a time, I have found that it is Fuel Slimbox that is conflicting, as soon as I disable that addon everything else works....I have the slimbox on other sections of my site and it doesn't cause this to happen so I need to find out what the difference is lol
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

 

 

Similar Threads

  1. v139h Help with a drop down menu mystery
    By Jolly Roger in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 8 Mar 2012, 04:32 PM
  2. Help with Drop down menu
    By melindaf in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Aug 2009, 07:41 AM
  3. Help with Drop down menu
    By melindaf in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 Aug 2009, 07:05 AM
  4. Need help with drop down menu sizing
    By Dashizna in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 3 Nov 2007, 06:36 PM
  5. Need Help: Drop Down Menu in header w/ Javascript
    By Andrew1974 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Apr 2007, 02:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg