Advanced Search

View RSS Feed

ddadmin

"Drop Up" option for Anylink and Anylink CSS Menu

Rate this Entry
Quite a few members have asked for the ability to have a menu drop upwards (instead of the default downwards) for either Anylink Menu and Anylink CSS Menu. With that said, use the below attached modified versions of the respective .js files for the two scripts to achieve this. Then, inside the HTML markup for the anchor link of a menu, to get the menu to drop up for it, make use of the data-dir attribute:

Code:
<p><a href="http://www.dynamicdrive.com" class="menuanchorclass" rel="anylinkmenu1" data-dir="up">Default Example</a></p>
The presence of the attribute in red in combination with the modified .js file will cause the menu for that anchor to drop upwards.

Enjoy!
Attached Thumbnails Attached Files

Submit ""Drop Up" option for Anylink and Anylink CSS Menu" to del.icio.us Submit ""Drop Up" option for Anylink and Anylink CSS Menu" to StumbleUpon Submit ""Drop Up" option for Anylink and Anylink CSS Menu" to Google Submit ""Drop Up" option for Anylink and Anylink CSS Menu" to Digg

Tags: None Add / Edit Tags
Categories
DD Scripts Mods

Comments