HoverMenuExtender CSS Positioning

Last post 02-21-2007 5:12 PM by aguidici. 4 replies.

Sort Posts:

  • HoverMenuExtender CSS Positioning

    01-03-2007, 12:40 AM
    • Loading...
    • Bryan Dunlap
    • Joined on 01-03-2007, 5:29 AM
    • Delphos, OH
    • Posts 9

    Maybe I'm missing something, but I am trying to find a control that will allow me to hover over a hyperlink control that will show/hide a panel containing more content.  The HoverMenuExtender is the only thing I've found that appears to come close to what I want.  I am trying to position the panel to appear in a specific position on the page no matter the size of the screen.  When I try to define the top and right positions in CSS the control seems to ignore what I've put in.  The PopupPosition is not dynamic enough with just "Top, Left, Right, Center, Bottom" and the OffsetX and OffsetY works with getting the panel to move around the page, but if the page is resized it won't stay where I want it to appear.

     If I'm using the wrong control to do this please let me know...but this one is the only one that gives me the options that I believe (but I may be wrong) that I need.  I think what I want to do should be pretty simple, but I need to be able to control the exact position of the panel that pops up and it needs to stay where I specify no matter the size of the screen.  Please help!  Why does the control ignore CSS positioning?  It takes on all the other properties that I specify like width, background, color, etc. but position on the screen is ignored!  Why?

     Also, I thought maybe the popup extender would do what I want, but I need it to execute on a hover not a click...so hover seemed to be the best.

     Thanks for your help!

  • Re: HoverMenuExtender CSS Positioning

    01-03-2007, 3:49 PM
    • Loading...
    • Bryan Dunlap
    • Joined on 01-03-2007, 5:29 AM
    • Delphos, OH
    • Posts 9

    I'm sorry....does anyone have any thoughts on this?  Has anyone else tried to do something similar to this?  I am really trying to get this issue resolved as quickly as possible.

    Any suggestion would be appreciated!  Thanks.

  • Re: HoverMenuExtender CSS Positioning

    01-09-2007, 12:00 PM
    • Loading...
    • Bryan Dunlap
    • Joined on 01-03-2007, 5:29 AM
    • Delphos, OH
    • Posts 9
    I'm still looking for any suggestions that anyone may have.  Please....anything!
  • Re: HoverMenuExtender CSS Positioning

    02-06-2007, 3:53 PM
    • Loading...
    • desertman
    • Joined on 02-06-2007, 8:45 PM
    • Posts 1

    I am having the same problem as you said. If I move the IE scrollbar down the position of the hoverpopupmenu appear way up at the top of the screen even when i position my popup to apper at the bottom of the target control.  In the ajaxtoolkit example this is not happening, is it because in the sample all controls are enclosed with DIV element. I enclosed all my controls with table for absolute positioning of the controls.

     Please help.

  • Re: HoverMenuExtender CSS Positioning

    02-21-2007, 5:12 PM
    • Loading...
    • aguidici
    • Joined on 09-29-2006, 2:38 PM
    • Posts 6

    I am having the same problem. I have stepped through the Toolkit Js code, and it appears to be calculating the X and Y coordinates correctly. I used the ruler in the IE developer toolbar to plot where the HoverMenu should be based on the calculated X and Y coordinates.

     

    What appeasrs to be happening is tht I have another absolutely positioned object at a higher level in the page, and it is causing all other X and Y coordinates to be relative to that div. Using the ruler again, I determined that the X and Y coordinates are off by exactly the top and left coordinates of the other absolute positioned div, and confirmed this by resizing the browser window. Apparently it is CSS that causes this and not the toolkit, although the toolkit will have to deal with this...

    Anyone have any thoughts on getting around this?

Page 1 of 1 (5 items)
Microsoft Communities
Page view counter