Log in

View Full Version : Help Needed with Anylink CSS Menu Demo 1



slspinler
05-14-2013, 02:43 AM
On the following page, firiel.com/aboutust.html

I am having trouble setting up the drop down menu correctly. The list that starts with "Complimentary Consultation" just below the main links is supposed to be a drop down menu for the "Services" link. But obviously I am missing something or did not do something right in the code.

Please help!

Beverleyh
05-14-2013, 05:02 AM
Can you post a link to the original demo script page too please so we've got the source to compare to your setup. It just makes things easier for us and avoids confusion.

slspinler
05-14-2013, 08:51 PM
Sorry for not adding that, it is version 2.3. http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm

Beverleyh
05-15-2013, 07:55 AM
At first glance, you have a style tag encasing script tags, so addressing that will hopefully fix things - delete the tag in red and instead put it where I've indicated in green;

<style type="text/css">

<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>

<script type="text/javascript">

//anylinkcssmenu.init("menu_anchors_class") ////Pass in the CSS class of anchor links (that contain a sub menu)
anylinkcssmenu.init("anchorclass")
</script>

<style type="text/css">
<!--
html, body, form {margin:0; padding:0}
body,td,th {
font-family: Papyrus, Arial, Helvetica, sans-serif;
color: #4f3a3d;
}
Let us know how that goes - it might not be the only issue but it's the first thing to tackle at this point in time.

slspinler
05-15-2013, 10:17 PM
Thanks so much Beverley! I knew it would be a quick fix but I could not see where it was! This seems to have done the trick. Thank you! :)