| Author |
Message |
thomasonk
Joined: 07 Feb 2007 Posts: 4
|
Posted: Mon Feb 12, 2007 6:07 pm Post subject: Relative Positioning for a Popup Menu |
|
|
What is the technique to use relative positioning with a popup but have the menu in a fixed location for the image that triggers the menu?
I have seen several posts with similar questions to this but I have not seen the solution.
I have a menu that is triggered by an image rollover but the page is a centered page so the image could appear at a different location depending on the browser's resolution, etc. I need a way to have it relatively positioned but have it so that it aligns with the image that is triggering it.
Everything I have tried so far has the menu popup at the mouse position so it does not always align correctly with the image.
Thanks in advance for you help. |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Mon Feb 12, 2007 6:23 pm Post subject: |
|
|
| What about creating a menu with a single top level item - your "hot" image? |
|
| Back to top |
|
 |
thomasonk
Joined: 07 Feb 2007 Posts: 4
|
Posted: Mon Feb 12, 2007 6:49 pm Post subject: |
|
|
I looked into that, but my images are already positioned where I want them. I was having a difficult time getting the images to line up the way I wanted when I tried to include the image in the menu.
If that is the answer I can work on it some more, but I thought there might be a way to position the menu on the image, even when the image wasn't necessarily in a fixed position. |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Mon Feb 12, 2007 7:11 pm Post subject: |
|
|
| Using that image as a top-level item is most reliable and simple way. If you'll not succeed doing this, please send your files to javascript@cooldev.com, and I'll help. |
|
| Back to top |
|
 |
|