locked
HoverMenuExtender Popup Position Problem RRS feed

  • Question

  • User159396742 posted
    I'm using a HoverMenuExtender that is created dynamically when the page is loaded and there may be several created. The problem is when the page is scrolled down the popup appear at the top of the window instead right below the control that it's linked to. Does anyone know how to fix this? I've downloaded the newest source for the ControlKit v20450.
    Monday, March 26, 2007 6:06 PM

All replies

  • User159396742 posted
    This isn't an issue in Firefox, but is an issue in IE7
    Monday, March 26, 2007 6:23 PM
  • User88235362 posted

    Hi,

    Did you ever find a solution to this problem? I'm having the same issue [:(]

    Cheers,
    Gavin. 

    Tuesday, March 27, 2007 4:21 PM
  • User159396742 posted
    I haven't found a solution yet. I've noticed that there is a some javascript code that is done in the control for a work around with the GetLocation() method return invalid coordinates when a page is scrolled, but apparently that isn't working with IE7. I'm still looking and trying to find a solution.
    Tuesday, March 27, 2007 4:40 PM
  • User-908601221 posted

    Did you remove the doctype tag in your HTML file?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    The popup control does not handle scrolling correctly if you remove the doctype.

     

    Sunday, April 8, 2007 6:52 PM
  • User1452995550 posted

    I am having a similiar problem with the hover menu not being aware of its scroll position.

     I am desperate for any suggestions.

     

    Tuesday, June 26, 2007 5:48 PM
  • User88235362 posted
    Sorry to be a bit vague, but it was a while a go that I resolved this issue for myself. It ended up either being a CSS tweak that was needed on my part (maybe something to do with absolute and relative positioning of parent elements), or something to do with the html tags I was using to wrap the elements (think I might have swapped some divs for spans instead).

    Again, sorry for vagueness but hopefully it'll give you a starting point.


     

    Wednesday, June 27, 2007 5:14 PM
  • User1239722275 posted

    I'm facing the same problem. Has anyone found a solution to it yet?

    Wednesday, July 30, 2008 3:02 PM
  • User88235362 posted

    I think it can be caused by a number off CSS settings...

    Have you played around with CSS's z-index?

    Wednesday, July 30, 2008 7:11 PM
  • User-51611932 posted

    I had a similar problem, worked fine in FF and IE8, positioning messed up in IE7.  Resolved it by using the following settings in the CssClass of the popup panel:


        ;
        top:0px;
        left:0px;
        display:block;
        visibility:hidden;


    If I used "display:none" then an HTML table in the popup didn't format properly until the second time the popup was shown.  If you use "display:block" then you need to also use "visibility:hidden".

    Hope this saves somebody some time...


    Monday, October 12, 2009 8:33 PM
  • User-1452370300 posted

    Hi all,

    I'm faceing this problem now in 2014 (this thread have not been updated for a long time...)

    I somehow fixed the issue with a <div> wrapping all the things, where the <div> is set with style="".

    Hope this helps.

    Friday, February 7, 2014 4:21 AM