Javascript window.open in BSP: new window is opened behind the main window

Hello,
I use following code to open a new window in my BSP application:
          window.open("<%= controller->display_url%>").focus();
The new windows is openned up, but hide behind the main window, I need the new window to stay at the front, any idea?
On one computer running IE7, the new windows is opened and stay at the front. But not for all other computers running IE6.
Thanks, Jinjin

Hi,
      We used the below logic :
<htmlb:button id      = "help"
                    text    = "Help"
                    design  = "standard"
                    onClientClick = "window.open('http://www.sap.com')"
                    tooltip = "Help"
                    />
It worked fine for us.
Try this.
Thanks,
Greetson

Similar Messages

  • SAPScript: Positioning a Window (Graphic) behind the main window

    Hello,
    I want to print a graphic behind the main window. But I am not able positioning a window or graphic-window behind the main window. The result is that my graphic always shows up in front of the printed text of the main window and not behind the text of the main window, as I wish. I thought that the order of the windows determines which windows is on top? But I am not able of putting a window before the 'MAIN' design window.
    Regards, Lars.

    Hi Lars
    Please check the following thread:
    ABAP Development
    /: BITMAP MYLOGO OBJECT GRAPHICS ID BMAP TYPE BMON
    I think, trick must be in 'TYPE'.
    Try to explore what options you can have (here it is BMON). I will also try.
    Regards
    Ashish Jain

  • How to re-open a message window when it is behind the main window of Thunderbird?

    For writing a new message Thunderbird opens new window. Activating main window of Thunderbird hides this new window with new message behind Thunderbird.
    On my Mac how do I re-activate this new message window?
    I know of using Mission Control, but would like an easy way. Does a quick way exist? cmd-tab does not do the job. Maybe some other hotkey?
    Thanks

    Maybe alt+tab; this works in Windows and Linux. Both these OSes offer tools via the task bar to bring selected windows to the foreground. I really think this is a question about how to drive a Mac. ;-)
    You could also minimize or move the offending window to reveal the other one trapped behind it.

  • Firefox opens and I see a title bar but the main window content is not refreshed or loaded

    I installed Firefox 4.0 and it installed fine. When I run it, the window opens with the title bar and borders but the inside content pane is blank. The only option I have it to close it.
    If I uninstall 4.0 and reinstall the latest 3.x release, it works fine. I've removed all of the 3rd party add ons but am still having this issue.

    I think I found the problem. I have 3 monitors, my primary monitor is connected through an external USB video card (Sabrenet Viewmax) using DisplayLink drivers. When I move the Firefox browser window over to the laptop monitor or to the monitor that is connected through the laptop's VGA port, Firefox works as expected. Is this a driver issue? a Firefox issue? As a side note, one of my Microsoft apps is having the same exact issue, Microsoft Visual Studio Web Developer Express.
    Help?

  • Spring-loaded folders open BEHIND the main finder window.

    When I try to drag and drop files using the spring-loaded folders feature, the 2nd tier of spring-loaded folders ALWAYS opens BEHIND the main window, making a drop (or further navigation) impossible. Anybody else experiencing this?
    This is a brand new Macbook Air with Lion installed natively. Files & programs were migrated from a Time Machine backup using migration assistant.

    Turning spring-loaded folders off and then back on in Finder preferences seems to have fixed this.

  • How do i get the components when a new window opens from the main window?

    In a given application, i am able to get the list of components for the main window. When an event happens in the main window, now a new window opens here how do i get the components for this newly opened window?

    getContentPane().getComponents() can be used, only if i know that new class name thats been poped up when the event happens to that main window....
    Is there anyway in runtime to know that new class name & fetch the event...

  • New links will not open in a tab, only in the main window

    with firefox 21, links will not open a new tab, only in the main window. I have set the option for tab opening, but it still will not work

    Did you installed ASK toolbar?
    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    <b> To Enable SafeMode </b>
    *You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    *''Once you get the pop-up, just select "'Start in Safe Mode"''
    If it works in Safe Mode and in normal mode with all extensions (Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: "Firefox > Quit Firefox"; Linux: "Firefox/File > Quit")
    * https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Open in an new tab and open in a new window - both dissapeard

    open in an new tab and open in a new window - both dissapeard
    where have they dissapeard to?
    how can i bring them back?
    thanks !!!!!!!!!

    Please press alt and tab and using tab to scroll through windows and see if the window you opened exist. If this happens every time you open a new window you may want to try safe mode:
    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • When I open a new window, the current window is closed. I would like to keep the current window and open the new window without losing my current window. I checked "Open new window in a new tab instead" under tabs

    When I open a new window, the current window is closed. I would like to keep the current window and open the new window without losing my current window. I checked "Open new window in a new tab instead" under tabs
    == This happened ==
    Every time Firefox opened
    == Noticed yesterday, June27, 2010

    i just went into preferences, deleted what was in the home page, and entered a new home page address which solved the problem, 

  • Firefox4 "Open Link in new Tab" and "Open Link in new Windows" switch back to the old FF3 version

    Am I the only one finding this annoying?
    I want to know how to switch "open link in new tab" and "open link in new Windows" like it was in Firefox 3.
    If you mousehover on a link and press the right mousebutton.

    Sara, I started having the same problem yesterday. In my case I was able to remedy it by disabling FasterFox 3.9.81. If you don't have that installed, I would recommend turning off your extensions (one by one), restarting firefox, and testing until you find the offender. Hope that helps!

  • Worst update ever! On my Vista everything is wrong! Back button never active; If I want open pages as new tab it opens new window; FF starts with blank page instead of Google; No url address shown on status bar when I move mouse arrow on the link etc

    Worst update ever! On my Vista everything is wrong! Back button never active; If I want open pages as new tab it opens new window; FF starts with blank page instead of Google; No url address shown on status bar when I move mouse arrow on the link etc.. Please Help!

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • I can open a new browser window, but not a new tab, neither by clicking the plus or selecting it from the menu. I have fully updated firefox and also restarted. what's going on?

    I can open a new browser window, but not a new tab, neither by clicking the plus or selecting it from the menu. I have fully updated firefox and also restarted. what's going on?

    I have the same problem with the right click and do not have the ask toolbar installed on my system?

  • When I open a link in a new window it opens BEHIND the current window.

    links that open a new window open the window behind the current window instead of in front of it. This just started happening in the last week or so.

    Hi MudBug
    see : [https://bugzilla.mozilla.org/show_bug.cgi?id=790013 Bug 790013] , see the comment 10 if this helps
    thank you

  • Opening new Mail message in the main window

    Hello,
    When I get a new mail message notification banner in the right top corner of the screen and click on it, this message is opened in a popup window. I want it to be opened in the main window, like it does when you click on a message if you are already in the Mail app.
    Is this possible? I can't find any option to change this in System Preferences or Mail settings.
    Thanks!

    If the Mail app is frozen then have you tried closing the app via the iPad's multitasking bar and seeing if it works properly when you re-open Mail ?
    iOS 7 : double-click the home button to open the taskbar, and then swipe or drag the Mail app's screen from there up and off the top of the screen to close it, and click the home button to close the taskbar.
    iOS 6 and below : from the home screen (i.e. not with Mail 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't fix it then you could try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Firefox will open a New Pop-up Window in Windows 7 Aero. When trying to Close it, it thinks it wants me to Close the Main Window. Why?

    I use Windows 7 Ultimate in Aero-mode. When a new Firefox window is opened, or a Pop-up window appears, I can't close it without first clicking on that page and clicking the "X" in the corner. Instead, whenever I try to close a window that is not the first window (my main window), it will ask me if I want to close the main window with all the tabs... I have noticed some other slight quirks in this stable release as well, but this one is always present.

    When I hover over the window, it does come up front, but as soon as I press the red "X" it goes immediately back to the main window and acts as if I was trying to close that one. Once in a while it will work, but shortly thereafter, it will just go back into this manner. Quite odd. This is the first time I've truly had any problems with Firefox.
    In addition to that problem I have noticed a few things, but one that may be linked is sometimes I'll click a link. Although I haven't specified to open it in a new window, it will do so anyhow. This gets annoying quickly. Usually shutting down Firefox and reopening will fix this (and once in a while just leaving it be for a long time). Somehow, I think this issue is somehow linked to the one above.

Maybe you are looking for