How to close current window in firefox

hi friends ,
i  am doing a web application in flex4 .now i am running in that firefox.i  want to close the current window while i am clicking close button.but i  couldnt make that please help me
Thanks,
B.venkatesan.

To close Browser try JS  top.window.close();

Similar Messages

  • How to close current window  of webdynpro application using webdynpro java

    Hi All,
    u201CTo close the current  window  of webdynpro application"
    if i using exit plug its giving the following error in portal runtime.
    u201Ccom.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application! u201C .
    could you send me the  process how to use  portal navigation for the above scenariou2026u2026instead of exitplug.
    Thanks& Regards,
    Srinivas.

    Hi,
    Follow the steps below:
    1. Create a new Window and embed a View which needs to be opened from the main view.
    2. Create a context attribute of type IWDWindow (Java Native Type Option)
    3. Write the following code in the controller for opening the new window:
    IWDWindowInfo windowInfo = (IWDWindowInfo)  
                                                     wdComponentAPI.getComponentInfo().findInWindows("<windowname>");
    IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
    wdContext.currentContextElement().set<contextattributename>(window);
    window.show();
    4. In the new window, create a contextattribute and bind it to the attribute created in controller and on action of the close button write the following code:
    IWDWindow window = wdContext.currentContextElement().get<attributename>();
    window.destroyInstance();
    Hope this helps you.
    Regards,
    Poojith MV

  • How can I close current window.

    I have a submitButton.
    When I click it, using a method of javascript to close current window.
    the coding like below:
    pageContext.putJavaScriptFunction(
    "closeCurrentWindow",
    "javascript:window.opener=null;window.close()");
    pageContext.getJavaScriptFunction("closeCurrentWindow");
    But I think it's not a idea.
    Do you have another recommendations about the solution of this problem?
    thx.

    Hi,
    I don't understand. Would you like to have a button to close the current window?
    Or should it do also something else?
    If you want only to close the window you can use a "button" (not item_style = "button", not "submitButton").
    Then you must set its Destination URI property to javascript:self.close();
    This will close the current window.
    However note that using javascript is not right, according to OAF standards.
    Bye
    Raffy

  • How to close open windows with ios7, How to close open windows with ios7

    How to close open windows with ios7, How to close open windows with ios7?

    Guess they thought we needed more exercise so now we have to swip them to close.....miss iOS6. My eyes are blurry now after looking at my phone, and my arms are tired from swipping lol

  • How to close parent window when we use call method l_window_manager- create

    hi...
    how to close parent window when we use call method l_window_manager->create_external_window
    thank you.

    hi
    good
    go through this link,hope this ll help you to solve your problem
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/63a47dd9-0b01-0010-3d8e-de27242bf011
    thanks
    mrutyun^

  • How to close ie window?

    hi,
    i need to write a program that could open and close a particular url in ie browser for a particular number of times. i could open the browser using following code
    cmd = WIN_PATH + " " + WIN_FLAG + " " + url;
    Process p = Runtime.getRuntime().exec(cmd);but i could not find how to close the window - please help

    p.destroy()... but how do you decide when to destroy the process -- are you using a timer or whuh?
    By the way, if you just want to open a browser in a platform independent way, you could try the new Desktop [browse |http://java.sun.com/javase/6/docs/api/java/awt/Desktop.html#browse(java.net.URI)] method.

  • How to close child windows when parent window closed in jsp

    how to close child windows when parent window closed in jsp
    becoz it can't be able to recognise it's parent
    with the whole application
    plz send me some sample code of it

    Hi, I have no idea how to do this is JSP.
    However createing a modal window (with javascript) would mean that the user can not use the parent window untill he closes the child window. However not sure if this is what you are searching.
    Otherwise you can detect the onClose (I think) and close the window from there.
    However both the above are JavaScript and not JSP.
    rwgards,
    sim085

  • How can I close 'current' window and not all windows?

    How can I close the current window (only) and not all or none?
    This function works well with MS Explorer.
    Not a problem, just a desired function.

    Hi JLCluster,
    If you just click the small x in the tab you are currently viewing, it will close only that tab. I think you are clicking the x in upper right hand corner of the screen which closes all open tabs as you described.
    Hopefully this helps!

  • When I try to open Firefox, a pop up says it is already running and I must close a window or restart. I can not figure out how to close the window they are asking me to.

    when I try to start Firefox, a pop up says it is already running and I must close a window or restart. I can not figure out what window they want me to close
    == This happened ==
    Every time Firefox opened
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; MDDC; .NET CLR 3.5.30729; .NET CLR 3.0.30618)

    See http://kb.mozillazine.org/Firefox_hangs and [[Firefox hangs]] (Hang at exit)
    Check in the Task Manager (XP: Ctrl+Alt+Del, Vista: Shift+Ctrl+ESC, Processes tab) if there are hanging Firefox processes.
    If you see any ''firefox.exe'' processes then click the End button to end those Firefox processes.
    You can only start Firefox in [[Safe mode]] or launch the [[Managing profiles|Profile Manager]] is all Firefox processes are ended.
    See also http://kb.mozillazine.org/Kill_application

  • HTML-DB OAE Javascript to close current window and open a new window

    Hi everybody,
    We work with 1.6.
    What we want is to close the current window and open a new window with the URL mentionned in the window.open('http://www.cf.qc/pls/portal/PORTAL.....,'newwindow').
    The new window opening fires only once although we call it many times.
    Our javascript is:
    function closeTest()
    { alert('closeTest');
    if('&REQUEST.'=='QUITTER2'){     
    w = window.self;
    w.opener = w;
    w.close();
    window.open('http://www.cf.qc/pls/portal/PORTAL.home','newwindow','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
    We call it on our application attributes :
    OnLoad="closeTest()"
    Thanks. Bye.

    Try this on for size:
    I have included two functions.
    windowRebuild() - opens a new window, maximizes it based on the screen size, removes all toolbars, and then closes the old window.
    myLocation(appName, pageName) - builds a url referencing an HTMLDB application, specfic to what server you are currently on. Very useful when you have an application on 3 different servers(dev, test, prod servers), you wouldn't want the server name hardcoded if you plan to export the app to another server.
    Also, you need to be careful when using &APP_ID. I am not completely certain how that is resolved at runtime, but I've found it only works when the javascript is in the HTML Header of a page and not stored in the template of the page.
    <script language="JavaScript1.1" type="text/javascript">
      This functions is for internal application use.
      Examples of myLocation:
      url = myLocation('&APP_ID.', 'APP_PUBLIC_PAGE');
      url = myLocation('MY_APP_ALIAS', 'MY_PAGE_ALIAS');
      url = myLocation('184', '10');
    function myLocation(myApp, myPage){
      var myHost = location.host;
      var newURL;
      newURL = 'http://'+myHost+'/pls/htmldb/f?p='+myApp.toString()+':'+myPage.toString();
      return newURL;
    /*  Function windowRebuild()
    *   This function will open a new window and close the old window.
    *   This function will also maximize the new window and remove all toolbars.
    function windowRebuild(){
       if(window.name != 'myAppWin'){
        var url = myLocation('&APP_ID.', 'PAGE_ALIAS');
        var myWin = window.open(url,'myAppWin','toolbar=0,scrollbars=1,menubar=0,status=1,resizable=1,location=0');
        window.opener = 'x';
        window.close();
       if(window.name == 'myAppWin'){
        window.moveTo(0,0);
        window.resizeTo(screen.availWidth,screen.availHeight);
    </script>Let me know if that works or you need some more explanation.
    Chris

  • Button on page 0 -- Close current window

    I have been asked if its possible to close the current window when a user clicks on a button.
    (I suspect this will involve some javascript)
    any example would be appreciated

    Keith,
    Add this to the HTML Header of the page:
    &lt;script type="text/javascript">
    //&lt;![CDATA[
       function closeWindow() {
          window.opener = self;
          window.opener.close();
    //]]>
    &lt;/script>Then call the function from a button by setting the button's optional URL redirect to:
    javascript:closeWindow();Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How to close current form but leave calling form open

    My case is like this, I am working on one form. It have 2 functions. One is serach function, let us call it A, the other is display/entry function, let us call it B. I first start window A to search record. From that record I open window B, when I close window B, I want to leave window A open so I can start a new search.
    Right now, when I close widows B, window A closed too. How can I close only window B. I tried both APP_NAVIGATE.EXECUTE and FND_FUNCTION.EXECUTE but did not work out.

    Thank you very much.
    The problem is how can I find out what is the module name or window name. This is a heavily custom Oracle Apps form CSXSRISR. It is quite big and I just got lost into those data block/trigger stuff.
    Is there a easy way to find out the module for each window?
    Thanks

  • How to close all tabs in Firefox?

    I know I can use a keyboard shortcut (Ctrl+Shift+W) but I would like to assign that shortcut functionality to a form button.
    Is that possible?
    Thank you.

    Are you clicking on the X on the Title bar? as this closes the window and not the tab that was open in window.
    With a mouse that has a scroll wheel you can use the scroll wheel (middle-click) on the tab to close it. There is a X on right side of the tabs depending on how many are open that you can use to close it also.
    https://support.mozilla.org/en-US/kb/tabs-organize-websites-single-window

  • How to close the window openned by System Exec VI automatica​lly?

    Hello,
    I am using System Exec VI to lauch an exe file built from a LabVIEW program. When running System Exec VI, the window of exe file pop out and stays there even after all tasks are completed. I have to close it every time manually. Anyone here know how to close the exe file window automatically when it's done?
    Thanks,
    Jean
    Message Edited by Jean_CLD on 03-25-2010 11:25 AM
    Message Edited by Jean_CLD on 03-25-2010 11:29 AM
    Solved!
    Go to Solution.

    If I understand the question correctly you need to add an invoke node at the end of your application to exit. Depending on the whether it is running as a stand alone application or within LabVIEW it will either exit or stop execution. I've attached the VI I use in my applications.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot
    Attachments:
    Exit application.vi ‏13 KB

  • When Firefox updates and error message comes up telling me to close other windows of Firefox.

    There are no other window of Firefox open. Each time I open Firefox the update starts and then come up with the error. I click on no for the update the next time and the window will open without doing the update.

    See:
    * [[Software Update Failed]]
    * http://kb.mozillazine.org/Software_Update (Software Update not working properly)
    Remove the files in the updates and updates\0 folder:
    C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates
    (%LOCALAPPDATA%\Mozilla\Firefox\Mozilla Firefox\updates)
    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data if you uninstall the current version.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere (not in the Firefox program folder) and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

Maybe you are looking for

  • Freezing after updating with a Sonnet 1.35 GHz card on a Sawtooth

    yesterday I've installed (quickly & easily) a Sonnet Encore ST (1.35 GHz) card in my G4 Sawtooth (400 MHz). The Power Mac booted with no apparent problem as soon as the Mac was closed and switched on, with everything... from the OS to my usual progra

  • Get info for songs after importing?

    Is there any way I can get info for songs in my library after I import them? I have a data CD that I would like to import and have iTunes get all of the information for me. Is this possile? Also if not is there anyway to check to make sure it got eve

  • Confused about Install procedure on new Mac Pro

    With 10.4 on my old G4 I would put the DVD in, hit install and the machine would restart. The installer could come up and I could select the disk utility and do a repair disk and disk permissions from the install disk before my actual install. With m

  • Blank error pop up. AfterEffects CC

    Can any one help me with this error? I am working on a project with some .MP4 and a soundtrack. After i pre-render it and look at the preview i click on the screen to stop the preview, while im doing that this pops up. A blank error message? I cant c

  • Hi, what to use to convert mts video...?

    Hi, What do you recommend I use to convert mts video to MPEG4? (I have MacBook Pro with OS 10.6.7) (I am looking for something free or cheap - I found shareware Tanbee AVCH but does not seem to work.) I have imovie to edit. Secondly, how do you extra