Friday, February 19, 2010

GoMenuItem with target="_Blank" in Menu workaround

In a go menu item inside first Level of menu when we select goMenuItem 1 then new window opens behind my window (internet explorer 7,) works correctly in mozilla

We found a workaround for this case as follows.

We add client Listener in go menu item to execute a java script method
that remove the focus from the current window.



function focusoff(event)
{
blur(event.source);
}

This way the new window opens above the current window.

Test Case :
http://adfbugs.googlecode.com/files/TestGoMenuItemWA.zip

No comments:

Post a Comment