Results 1 to 4 of 4

Thread: Mouseover Tabs Menu Script -- Not Working

  1. #1
    Join Date
    Oct 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Mouseover Tabs Menu Script -- Not Working

    I am having an issue when trying to load my page that is using the Mouseover Tabs Menu script. The top level menu appears fine, but the submenu shows "Loading Sub Menu Contents ..." and it just sits there.

    I note that Ajax is mention when trying to load an external file. Please pardon my ignorance. Do I need to add a script to the page so that it can load the contents?

    Thanks.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question. Also, please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Oct 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Repost for Mouseover Tab Menu Problem

    Unfortunately, I don't know if you will be able to get to this page as it is an internal website.

    This is the link to the page: http://domino.aig.com/agrs/northatlanticfiles.nsf/Lookup/Test1/$file/Test.html

    I am trying to use your MouseOver Tab Menu and am having problems when I load it to the company website. Everything works fine when testing from Notepad++. I have moved all of the requisite files to the database that houses the website.

    The Top Level menu loads fine, but the submenu show “Loading Sub Menu Contents” …

    It never loads them. The comments say “to point the link in the submenu container to the external submenu contents file”. When I change anything in that <div>, it removes the submenu links on the test page.

    Any help that you can provide would be greatly appreciated.

    Here is the code for the page.

    Code:
    <!DOCTYPE html>
    
     <html lang="en">
    
     <head>
    
    <link rel="stylesheet" type="text/css" href="mouseovertabs.css" />
    
     
    
    <script src="mouseovertabs.js" type="text/javascript">
    
     
    
    /***********************************************
    
    * Mouseover Tabs Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    
    * This notice MUST stay intact for legal use
    
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    
    ***********************************************/
    
     
    
    </script>
    
     
    
     </head>
    
     
    
    <BODY> 
    
     <div id="TopMenu" class="tabsmenuclass">
    
    <ul>
    
    <li><a href="http://domino.aig.com/agrs/northatlanticweb.nsf/contents/northatlantic#" rel="gotsubmenucontents">Home</a></li>
    
    <li><a href="http://domino.aig.com/agrs/files.nsf/Lookup/Marketing/$file/marketing.htm" rel="gotsubmenucontents"">Resources</a></li>
    
    <li><a href="http://domino.aig.com/agrs/northatlanticfiles.nsf/Lookup/Marketing/$file/marketing.htm" rel="gotsubmenucontents">Reports</a></li>
    
    <li><a href="http://domino.aig.com/agrs/northatlanticfiles.nsf/Lookup/Marketing/$file/marketing.htm" rel="gotsubmenucontents">Marketing</a></li>
    
    <li><a href="http://domino.aig.com/agrs/files.nsf/Lookup/Marketing/$file/marketing.htm" rel="gotsubmenucontents">Scheduling</a></li>
    
    <li><a href="http://domino.aig.com/agrs/files.nsf/Lookup/Marketing/$file/marketing.htm" rel="gotsubmenucontents">Seminars</a></li>
    
    <li><a href="http://domino.aig.com/agrs/files.nsf/Lookup/Marketing/$file/marketing.htm" rel="gotsubmenucontents">Directories</a></li>
    
    <li><a href="http://domino.aig.com/agrs/files.nsf/Lookup/Marketing/$file/marketing.htm" rel="gotsubmenucontents">Links</a></li>
    
    </ul>
    
    </div>
    
     
    
    <div id="SubMenu" class="tabsmenucontentclass">
    
     
    
    <!--1st link within submenu container should point to the external submenu contents file-->
    
     
    
    <a href="submenucontents.htm" style="visibility:hidden">page</a>
    
     
    
    </div>
    
     
    
    <script type="text/javascript">
    
    //mouseovertabsmenu.init("TopMenu", "SubMenu", "bool_hidecontentsmouseout")
    
    mouseovertabsmenu.init("TopMenu", "SubMenu", true)
    
     
    
    </script>
    
     
    
     </body>
    
     </html>
    Last edited by ddadmin; 10-14-2010 at 06:33 PM.

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The link you posted doesn't work for me. Just based on the code you posted above, there isn't enough to diagnose the problem unfortunately. One thing to check: Make sure submenucontents.htm is located in the same directory as the page containing the mouseover menu.
    DD Admin

Bookmarks

Posting Permissions

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