Log in

View Full Version : help with AnyLink JS Drop Down Menu v2.2 code



milandred
09-05-2009, 09:09 PM
I'm trying to add a drop down menu to my phpnuke
but not sure where to put the code.

I followed the instruction of: http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm

now when i paste the code in phpnuke (karate theme) theme.php function themeheader section the code doesn't work, or in the index.php or in the header.php.

i created an index.html using dreamweaver and pasted the code between <HEAD> </HEAD> but still doesn't work.

can any body help me how to make work the code.
this is the code from http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm

Step 2: Add the below code to the HEAD section of your page
#############
<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>
#########

any help will be appreciated, thanks in advance.