Results 1 to 4 of 4

Thread: Help with AnyLink JS Drop Down Menu

  1. #1
    Join Date
    May 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with AnyLink JS Drop Down Menu

    Script Title: AnyLink JS Drop Down Menu 2.0
    Script URL: http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    I used this script before without any problem, I am trying to implement it on another site and the menu won't pop-up.

    I've check the code for the new site against the site that it is working on and it is exactly the same.

    I've attached the files, also here is the source to my HTML page:
    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>[CSG] Cadence Sim Game // Est. 2009</title>
    <link rel="stylesheet" type="text/css" href="anylinkmenu.css" />
    
    <script type="text/javascript" src="menucontents.js"></script>
    
    <script type="text/javascript" src="anylinkmenu.js">
    
    /***********************************************
    * AnyLink JS Drop Down Menu v2.0- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Project Page at http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm for full source code
    ***********************************************/
    
    </script>
    <link href="pubstyle.css" rel="stylesheet" type="text/css">
    </head>
    
    <body>
    <div class="mainwrap">
      <div class="header"><img src="title.jpg" width="700" height="150"></div>
      <div class="navbar">
        <table width="100%" border="0">
          <tr>
            <td align="center"><a href="index.php" class="navbar">Home</a></td>
            <td align="center"><a href="#" class="menuanchorclass navbar" rel="anylinkmenu1">START</a></td>
            <td align="center"><a href="preview.php" class="navbar">members</a></td>
            <td align="center"><a href="join.php" class="navbar">equines</a></td>
            <td align="center"><a href="login.php" class="navbar">commerce</a></td>
            <td align="center"><a href="contact.php" class="navbar">CONTACT US</a></td>
          </tr>
        </table>
      </div>
      <div class="main">kk</div>
      <div class="footer">Cadence Sim Game, CSG and Cadence-Sim.net are &copy; 2009 - Present Nicole McCain. All rights reserved. <br>
        This site is a simulation horse game. It is all fictious.<br><a href="disclaimer.php" class="footer">View Disclaimer</a></div>
    </div>
    <div align="center"></div>
    <script type="text/javascript">
    
    //anylinkcssmenu.init("menu_anchors_class") //call this function at the very *end* of the document!
    anylinkcssmenu.init("menuanchorclass")
    
    </script>
    </body>
    </html>
    Any help is greatly appreciated!
    - Nicole
    Last edited by Snookerman; 05-03-2009 at 05:58 PM. Reason: added “Resolved” prefix

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

    Default

    A link to the problem page would be a lot more helpful in this case...
    DD Admin

  3. #3
    Join Date
    Apr 2009
    Posts
    6
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Nicole appears to have one of the same issues I did when trying to set up the code.

    Calling the wrong function at the end of the page… anylinkcssmenu...the css part was incorrect and needed to be omitted.

    When I recently referred back to the page where I found the code originally, it did have that function error.
    -Peace-

  4. #4
    Join Date
    May 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yep, that fixed the problem. Thanks for the help.

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
  •