View Full Version : AnyLink CSS Menu v2.3 drop down menus

07-13-2011, 04:18 PM
1) Script Title: AnyLink CSS Menu v2.3

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

3) Describe problem: I am using this script on 6 links on my site. I want the first three to have the drop down box be below the buttons and then out to the right. This happens by leaving the "rev" attribute as undefined.

To get the menu to drop down to the right of the anchor link instead of the default below it, add an extra "rev" attribute inside the anchor with a value of "lr':

<p><a href="http://www.dynamicdrive.com" class="anchorclass" rel="submenu1" rev="lr">Anchor Link</a></p>

Valid values for the "rev" attribute: undefined, rev="up", or rel="lr".

I would like for my other three buttons to have the drop down menus drop below the anchor link but then go to the left.

Is their a way to adjust the js code to allow for another value for the "rev" attribute beside just "ud" or "lr"?


07-14-2011, 07:44 AM
Sure, try the below modified .js file, which adds support for an extra attribute:


When you insert this inside the anchor link, the resulting drop down menu will drop down to the left of the link (instead of to the right), for example:

<a href="http://www.dynamicdrive.com" class="anchorclass myownclass" rel="submenu3" data-hpos="left">Menu with multiple columns</a>