View Full Version : Insert two additional divs in menu script

05-14-2010, 07:07 PM
1) Script Title: AnyLink JS Drop Down Menu v2.2

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

3) Describe problem: I don't know how to create additional divs in the dropdown.

I have done a small mod on the script, the left and right edges have simple photoshop glow/shadow effects by replacing the background and repeating it y-wise. But I need to create one div at the top of the menu and one at the bottom so I can place the glow/shadow background images there too.

I'v tried to create a div element in setupmenu function there with document.createElement('div') but that doesn't do it for me... I'm a sad sad panda right now.