Results 1 to 2 of 2

Thread: AnyLink CSS Menu v2.0 problem

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

    Default AnyLink CSS Menu v2.0 problem

    1) Script Title: AnyLink CSS Menu v2.0

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...anylinkcss.htm

    3) Describe problem: hello everyone,

    I was just taking demo of the above script but found this unusual error...

    By bonton

    I had installed script according to DD instructions but dont know what happening.Downloaded and saved those css and js file.
    I even re installed my frontpage...but nothing happened..
    This is the code..
    Code:
    <html>
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    <link rel="stylesheet" type="text/css" href="anylinkcssmenu.css" />
    
    <script type="text/javascript" src="anylinkcssmenu.js">
    
    /***********************************************
    * AnyLink CSS Menu script 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/anylinkcss.htm for full source code
    ***********************************************/
    
    </script>
    </head>
    
    <body>
    <!--1st anchor link and menu -->
    
    <p><a href="http://www.dynamicdrive.com" class="anchorclass" rel="submenu1">Default Example</a></p>
    
                                                        
    <div id="submenu1" class="anylinkcss">
    <ul>
    <li><a href="http://www.dynamicdrive.com/">Dynamic Drive</a></li>
    <li><a href="http://www.cssdrive.com">CSS Drive</a></li>
    <li><a href="http://www.javascriptkit.com">JavaScript Kit</a></li>
    <li><a href="http://www.codingforums.com">Coding Forums</a></li>
    <li><a href="http://www.javascriptkit.com/jsref/">JavaScript Reference</a></li>
    </ul>
    </div>
    
    
    
    
    
    
    <!--2nd anchor link and menu -->
    
    <p><a href="http://www.dynamicdrive.com" class="anchorclass someotherclass" rel="submenu2[click]" rev="lr">Right dropping menu</a> (click to reveal)</p>
                                                        
    <div id="submenu2" class="anylinkcss" style="width: 150px; background-color:#E9FECB">
    <ul>
    <li><a href="http://www.cnn.com/">CNN</a></li>
    <li><a href="http://www.msnbc.com">MSNBC</a></li>
    <li><a href="http://www.google.com">Google</a></li>
    <li><a href="http://news.bbc.co.uk">BBC News</a></li>
    </ul>
    </div>
    
    
    
    
    
    
    
    
    <!--3rd anchor link and menu -->
    
    <p style="text-align:center"><a href="http://www.dynamicdrive.com" class="anchorclass myownclass" rel="submenu3">Menu with multiple columns</a></p>
                                                        
    <div id="submenu3" class="anylinkcsscols">
    
    <div class="column">
    	<b>Web Development</b>
    	<ul>
    	<li><a href="http://www.dynamicdrive.com/">Dynamic Drive</a></li>
    	<li><a href="http://www.cssdrive.com">CSS Drive</a></li>
    	<li><a href="http://www.javascriptkit.com">JavaScript Kit</a></li>
    	<li><a href="http://www.codingforums.com">Coding Forums</a></li>
    	<li><a href="http://www.javascriptkit.com/domref/">DOM Reference</a></li>
    	</ul>
    </div>
    
    <div class="column">
    	<b>News Related</b>
    	<ul>
    	<li><a href="http://www.cnn.com/">CNN</a></li>
    	<li><a href="http://www.msnbc.com">MSNBC</a></li>
    	<li><a href="http://www.google.com">Google</a></li>
    	<li><a href="http://news.bbc.co.uk">BBC News</a></li>
    	</ul>
    </div>
    
    <div class="column">
    	<b>Technology</b>
    	<ul>
    	<li><a href="http://www.news.com/">News.com</a></li>
    	<li><a href="http://www.slashdot.com">SlashDot</a></li>
    	<li><a href="http://www.digg.com">Digg</a></li>
    	<li><a href="http://www.techcrunch.com">Tech Crunch</a></li>
    	</ul>
    </div>
    
    </div>
    
    
    
    <script type="text/javascript">
    
    //anylinkcssmenu.init("menu_anchors_class") //call this function at the very *end* of the document!
    anylinkcssmenu.init("anchorclass")
    </script>
    </body>
    
    </html>

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

    Default

    What happens when you run the page in an actual browser, instead of MS Frontpage? The later will not always load all files of a script, and hence will throw an error.
    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
  •