PDA

View Full Version : Change Position of menu in Java Script



sam85f
06-02-2010, 04:06 PM
1) Script Title:
Flex Level Popup Menu (v1.1)

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

3) Describe problem:
does any one know how to change the java script so that the menu only appears to the right side of the text? Currently it is set up so that where ever you hover the menu pops up and drops down right there, with in the space of the whatever link you attach it to. I believe I found where in the .js file the XY are controlled but I am not familiar enough with Java to re-word so that the menu pops out at a specified place (i.e. at the end of what ever bit of text the jqpopupmenu tag is attached to)

I have tried in CSS to change the position form "relative" to a specified location and it moves the menu but it makes the whole thing really funky.

Thanks so much for your help!

ddadmin
06-02-2010, 11:43 PM
Seems like you're looking for Flex Level Drop Down Menu (http://www.dynamicdrive.com/dynamicindex1/flexdropdown.htm) instead. Look at the second demo on that page, which shows a drop down menu that's positioned squarely to the right of the anchor text.