PDA

View Full Version : Drop down/ Overlapping Content - how align multiple instances separately?



matsp
03-28-2009, 10:29 AM
1) Script Title: Drop down/ Overlapping Content script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/overlapcontent.htm

3) Describe problem: Hi i'm using the script in conjunction with a site menu, in order to give a summary of the link on hover. However I want all the descriptions to appear in the same place on the page, and at the moment I can only see how to set the drop down box alignment in relation to 1 anchor text, this is done in the .js file. I have 5 links all of which need different placement settings, is there any way of doing this without having to use 5 different .js files? Any help would be greatly appreciated. Thanks.

JCAcademy
03-28-2009, 07:13 PM
I have a similar problem. I have five lines of text, one above the other, each one is a hover point for a separate drop down overlapping box. When you hover over the line a box opens below with a couple of paragraphs of text. However, each successive box opens lower and lower down the page as you move down to the next line of text. I want each box to open in the exact same position on the page so I don't need to create so much white space below the lines of text.

Any help on how to do this would be most appreciated! I have no .js experience at all.

JCAcademy
03-28-2009, 07:18 PM
Have you checked this link Matsp?

http://www.dynamicdrive.com/forums/showthread.php?t=41975