Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3521
WebDataMenu causes window focus change on mousehover if previously obscured.
posted

I'm experience some behavior difference in the WebDataMenu vs. the UltraWebNavigator.

If you put a WebDataMenu on a form which includes an "a" tag on the same form with logic to include launching a popup window and partially obscure the WebDataMenu, you will be fine unless your mouse then hovers over the WebDataMenu again.  This will result in the window changing focus, and the popup window will be hidden behind the original form.  This is not the desired behavior and not the same as what was experienced using the UltraWebNavigator.

Environment:  IG 2012.1

Browser: IE 9

Steps:

bind a WebDataMenu on your form.

create an "a" tag like outlined below.

debug page.

click on link, launch popup.  Note original page is partially obscured by popup;

hover over webdatamenu.  Note that the popup flips to behind the original form.

example:

<a href="BLOCKED SCRIPT Popup();">Google</a>

.....

        function Popup() {

            var oWindow;
            var sOptions = new String();
            var sUrl = new String();
            var sTarget = new String();

            sOptions = "scrollbars=1;menubar=0;toolbar=0;status=0;titlebar=0;resizable=yes;";
            sUrl = "google.com";
            sTarget = "MAILTOADDRESS";
            oWindow = window.open(sUrl, sTarget, sOptions, true);
            oWindow.resizeTo(400, 450);
        }