Exit the Browser window while closing the form in ORACLE 10g

Hai,
Is it possible to cIose the browser window while closing the form in Oracle 10g.
I wrote a code EXIT_FORM in a "WHEN BUTTEN PRESSED" TRIGGER and
web.show_document('javascript:window.close()','_self'); in "POST-FORM" trigger
But it only closes the form.
Please help me with the fast & useful responds.
Bye

create a file called close.html with the following code
<html>
<body onload="closeit()">
<script>
function closeit()
window.close();
</script>
</body>
</html>
call close.html in post-form like this
WEB.SHOW_DOCUMENT('/forms90/myhtml/close.html','_self');
You have to do the directory mapping

Similar Messages

  • Can't select menu items in top 25% of the browser window much of the time.

    Running Windows 7 Pro on a new (2-months) HP Ultrabook with FF 15.0.1. Many times, selectable items do not work, but generally in the top 20-30% of the browser window. With the pointer hovering over selections, it does not change to indicate is a selectable item, nor will it let you select. It happens on well-known websites such as Yahoo!, HP, etc. It doesn't do this all the time, but I'd say at least 50% of the time, even if you reload the page and allow all sites with NoScript. There is no filtering warning.

    That problem can be caused by an extension like the Yahoo! Toolbar or a Babylon extension that extents too much downwards and covers the top part of the browser window and thus makes links and buttons in that part of the screen not clickable.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> 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).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode

  • Some secure sites recommend closing the browser. Is closing the tab the same as closing the browser?

    Secure sites recommend closing the browser. Is closing just the tab effectively the same?

    you can try disabling ipv6 support in firefox & see if that helps - [https://support.mozilla.org/en-US/kb/Server%20not%20found#w_ipv6]

  • There is a white stripe across the top of the browser window which covers the top of the sceen. I cannot see the navigation or menu options, how can I fix?

    There is a white stripe about 3/4 of an inch tall across the top of the window. I cannot grab the menu bar, or see the menu or navigation window, or the search bar. When I click on the white strip, it goes through to the desktop like the top of the program does not exist.
    I've never seen this issue before.

    A screenshot may help
    * [[How do I create a screenshot of my problem?]]

  • Firefox crashed even before the browser window is shown

    Immediately after I double clicked the icon, it immediately showed crash reporter dialog.. I don't even see the browser window to try the safemode.
    I uninstalled and resinstalled. Still crashed.

    Hello josat2013. The cause of this could be a corrupted user profile in Firefox, which if I remember right is not removed by the uninstaller.
    Could you try and see if creating a new profile works?
    I am going to assume you use Windows 7 for the walkthrough. While on your desktop, click the start menu and write '''firefox.exe -profilemanager'''. Unless Firefox crashes while doing this, it should show a small window with the name of the current Firefox profiles on your system, usually it is named ''#randomcharacters#.default''. On the left hand side you should see a button called '''New Profile''', click this and follow the instructions where you specify the name and etc.
    After you have finished the instructions you should see that there is a new profile in the list with the name you specified. Highlight this one and choose click on '''Choose Firefox'''. If the Firefox window appears without crashing, then the cause is that corrupted profile.
    To transfer all your files and settings to the new profile, follow the instructions on this webpage: http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Good luck and hope it works out! :)

  • Opening new tabs makes the browser window wider

    when opening a new tab in safari
    it makes the browser window bigger (at the bottom)
    but not only at the bottom actually
    after a few close-open's it also starts growing at the top
    and for me it's unacceptable cause there are folders that i need fulltime access to (at the top)
    is there a way (a script) to prevent safari "grow" and make the browser window bigger in a while ?
    i don't really know why is it happening because if you press cmd+t it opens a new tab and the browser window kinda slides bigger at the bottom but then if you press cmd+w it does the opposite and the browser window stays the same size after those actions
    i can't follow but after some time it starts to be bigger not only at the bottom
    it grows til the dock and then starts growing at the top
    is there a way to prevent that ?
    i mean take opera for example. it always stays the same size and new opened tabs take the "inside space" if you know what i mean. the browser window doesn't get bigger. there is space allocated especially for tabs
    i like safari but it is very important for me that it stays the same size all the time
    i have all windows and folders situated exactly where i want them and if something moves and covers other items, it gets uncomfortable
    thank you

    nimionsergei wrote:
    (i have 'secrets' app installed and it makes pop up windows open in the same browser window, so it might be becasue of that)
    Yes, it sounds like this is the cause.
    Some pop-up window code forces the new window to be a certain size. Since it's intended to open in a new window, that normally wouldn't cause problems. But you're forcing the pop-up to open as a new tab in the current window, which causes the current window to be resized to that new page's defined size.

  • How to reduce the size of the browser window

    My firefox browser window is a full screen view. My monitor is a 24" flat-screen. When I first downloaded firefox the browser window was half the size it is now. How can I re-size the browser window back to the way it was? I think I clicked the full screen button in the top right hand corner - not sure; but now I can't reduce the browser window back to half size so I can see the rest of my desktop. Help!

    If you run Firefox in full screen mode then press F11 or Fn + F11 to toggle (Mac: command+Shift+F).
    If you are in full screen mode then hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.
    You can click the Maximize button at the top right to leave full screen mode or right click empty space on a toolbar and use "Exit Full Screen Mode" or press F11.

  • When i have 4 or 5 browser windows open at the same time, sometimes they get grouped into one tab and i can not ungroup them. why does this happen?

    4 or 5 browser windows open at the same time. Tabs are down in the control bar. every now and then they just combine into one pop up. can't undo and very annoying. Have to close all out and start over.

    This can happen if you drag a tab slightly down in the browser window while clicking.
    Firefox has a feature called tear-off tabs
    You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.
    You can also do this via the right-click context menu of a tab: Move to New Window
    You can drag that tab back to the tab bar in the original window to undo that detaching.
    * https://addons.mozilla.org/firefox/addon/bug489729-disable-detach-and-t

  • How do i get my navbar to stay on one line when the browser window is minimized?

    I am new to coding and have just created my first website in html and css.  I know that the coding is pretty dire and that I have a lot to learn and hope that someone can guide me in how to solve this problem.  When the browser window is minimized, the navbar breaks down into 2 or 3 lines but I want the navbar to fit to the window whatever the size of the client machine.
    I think I need to add a media query but i'm not sure if i do and if so what code to use and where to put it?
    I am worried that the page will only be viewable properly on a desktop and i really want to learn how to make a fluid layout which can be viewed on 320px, 768px and 1200px.
    Any guidance would be greatly appreciated.
    Here is my code:
    HTML
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>The Engineer's Corset</title>
    <link href="styles/style.css" rel="stylesheet" type="text/css" media="screen">
    <style type="text/css">
    body {
        background-color: #000;
    </style>
    </head>
    <body>
    <div id="container">
    <div id="navbar">
        <ul id="nav">
        <li><span class="current-menu-item">Home</span></li>
        <li><a href="about.html">About Us</a></li>
        <li><a href="workshops.html">Workshops</a></li>
        <li><a href="news.html">News</a></li>
        <li><a href="gallery.html">Gallery</a></li>
        <li><a href="contact.html">Contact Us</a></li>
        </ul>
    </div>
    <div id="header">
      <img src="images/final/headerbeauty3.png" width="1100" height="341" alt="The Engineer's Corset">
    </div>
    <div id="links">
    <ul id="link">
    <li><a href="https://www.facebook.com/Bristolengineer" target="_blank"><img src="images/final/fb3.png" width="200" height="45" alt="Follow Us on Facebook"></li>
    <li><a href="https://twitter.com/Engineerscorset" target="_blank"><img src="images/final/twitter2.jpg" width="200" height="45" alt="Follow us on Twitter"></a></li>
    </ul>
    </div>
    <div class="chantry">
    <img src="images/final/CD Logo fin.png" width="240" height="200" alt="Chantry Dance Company">
    </div>
    <div class="about">
      <p> The Engineer's Corset is a new play written by Janet Goddard for performance by the community of Bristol in 2015. <br>  ~ <br>
    The play is based on the extraordinary real-life events of 1843 surrounding Isambard Kingdom Brunel's near-death experience after swallowing a coin.  We travel through time to explore the adventure and horror of Victorian industrialisation. <br> ~ <br> Using a community theatre group The Engineer’s Corset tells a familiar tale of Brunel’s near death experience when he swallows a gold half sovereign. His wife Mary fights to maintain her composure but is ripped apart by the waiting game. Her servants and his workforce, using dance and sound, broaden her horizons. Just like Mary the audience too will see life in the 1840s through a different lens.</p>
    </div>
    <div class="workshops">
    <img src="images/final/bridgebridge.jpg" width="1100" height="713" alt="clifton suspension bridge">
    <span><a href="workshops.html">We will be running a series of workshops prior to production and hope you will join us.  For further information, click here.</a></span>
    </div>
    <div id="sponsorspace"></div>
    <div id="footer"> <p> &copy; Heartprints Web Design 2014 </p> </div>
    </div>
    </body>
    </html>
    CSS
    @charset "utf-8";
    /* CSS Document */
    body {
        font-family:Arial, Helvetica, sans-serif;
        font-size:125%;
    @media screen {
        #navbar:
    #navbar li {
        font: 25px Arial;
        display: inline;
        list-style-type: none;
        background: #09F;
        color: #000;
        border-radius: 20px;
        padding: 15px 25px;
    .current-menu-item {
        color: #0FF;
    #navbar a {
        padding: 15px 25px;
        background-color: #6cf;
        color: #000;
        text-decoration: none;
        border-radius: 20px;
    #navbar a:hover {
        background-color:#0FF;
        color: #000;
        padding: 15px 25px;
    #header {
        width: 1100px;
        height: 340px;
        margin-left: 50px;
        margin-top: 0px;
        margin-bottom: 0px;
        border-style: ridge;
        border-width: 5px;
        border-color:#09F;
    #links li {
        display: inline;
        width: 700px;
        margin-left: 300px;
    .chantry {
        margin-left: 40px;
    .about {
        position: relative;
        width: 860px;
        text-align:center;
        background-color: #CCC;
        color: #000;
        border-style: ridge;
        border-width: 3px;
        border-color:#09F;
        border-radius: 15px;
        float: right;
        margin-top: -200px;
        margin-right: 90px;
    .workshops{
        position:relative;
        width: 1100px;
        height: 713px;
        font-size:24px;
        margin-left: 50px;
        border-style: ridge;
        border-width: 5px;
        border-color:#09F;
        margin-top: 130px;
    .workshops span {
        position: absolute;
        background: #6CF;
        color: #000;
        left: 30px;
        top: 30px;
        right: 800px;
        padding: 15px;
        font: 1em georgia, serif;
        font-style:italic;
        text-align:center;
        border: 5px solid #09F;
        border-radius: 20px;
        margin-top: 35px;
    .workshops span a {
        color: #000;
    #link li {
        border-style: solid;
        border-color: #6CF;
        padding: 30px 10px 5px 10px;
    .info {
        text-align:center;
        width: 1100px;
        margin-top: 50px;
        margin-bottom: 50px;
    .CDC {
        float: left;
        margin-right: 50px;
        margin-left: 45px;
    .workshopinfo {
        height: 250px;
        text-align:center;
        margin-top: 50px;
    .photos {
        Height: 500px;
        text-align:center;
        margin-top: 50px;
    #footer {
        text-align:center;
        margin-top: 700px;
        color:#0CF;
    .brunel {
        margin-top: 50px;
        margin-left: 400px;
    #workshops2{
        width: 1000px;
        border-style: outset;
        border-width: 5px;
        padding: 15px;
        border-color:#09F;
        background-color: #6CF;
        margin-left: 100px;
        text-align:center;
    #workshops2 a {
        color: #000;
    #sponsorspace {
        height:  300px;
        background-color: #6CF;
        border-style: outset;
        border-color: #09f;
        margin-top: 15px;

    Give #navbar a width that is wide enough to hold all of the buttons within it.
    #navbar {
         width:####px;
    Replace #### with a pixel number large enough to hold the nav buttons.

  • With Safari 5.1, I have to re-login after I close the browser window

    After I upgraded to Safari 5.1 from the previous version, I noticed some changes that I do not like.  Whenever I close the Safari browser window and later open it up again, I have to re-login to all websites that require login (such as ebay, Facebook, my Yahoo).  With the previous version of Safari, this only happened when I quit Safari and reopened the application afterwards.  With the new version, I even have to set my default location on Google Maps every time after I close the browser window.  With the previous Safari version, that didn't even happen after I quit out of it.  Another thing I noticed is that the browsing history starts listing again after I close a window, even though Private Browsing remains checked.
    Is there a setting I can change to avoid having to re-login every time I close a window ?  Or is this a feature of Safari 5.1 that cannot be changed ?

    If you have Private Browsing enabled, that's why you aren't staying logged into websites. Same with Google maps.
    Private Browsing doesn't  "remember" AutoFill information.
    Click History in the menu bar then click: Clear History

  • Want to play WOW-how do i make the browser windows fill whole screen??

    Have been a pc user all my life and just got a MacBook Pro. When i used to connect to the internet the browser window would fill the whole screen. This may seem like a stupid question but how do i make this happen on the mac? And to do the same for things like iMovie maker etc. My son says world of warcraft needs to be played on the whole screen and not just in a small box.
    Have tried adjusting the display etc but that makes things look distorted. Is there another way? Help!
    Thanks to anyone who helps!

    Press Cmd+M if you want to play it in full screen mode. If you want a bigger window for windowed mode just drag the little thngy at the bottom right of your WoW window and you will be able to resize it. Hope this helps

  • How to avoid the logon screen after closing the browser

    Im working with annonymous users showing a Iview but when I close the browser, instead of closing the browser the logon of portal appears. I dont want that how can I avoid this ?
    thx

    Hi
    I am not clear with your question. How do you close the browser ? Is it by hitting the cross button on the Top right corner ?
    Murali.

  • Let addon run even after browser window is closed.

    I want to use this addon - "Pushbullet" even after the browser window is closed. Such an option was available in Chrome when I used it last. I migrated to Firefox recently, and would like to know how to implement the same here.
    Thanks,
    Raj

    FredMcD, You have been here long enough to know there is a "Edit This Post" link on right of your posts as three posts in a row in short order is too much.
    Some Extensions if you can find the chrome url can be used in shortcut to start a Firefox process but only with the Extension running.
    The ChatZilla irc client extension for instance can or at least used to.

  • When I have the downloads window open and I close the browser window, how can I get the browser to open the homepage the next time I start it while the download window is still open?

    When I have the downloads window open and I close the browser window, the next time I reopen the browser while the downloads are still going, it returns me to the last page I was on. All previous versions of Firefox would return me to my homepage which I would prefer. Please let me know if this is possible.

    When you re-open Firefox and choose Restore Session, by default it picks up your most-recently-open window, and the other windows should then show up in Recently Closed Windows.
    The Firefox add-on Session Manager lets you manage how many closed windows and closed tabs are saved, in case it's not enough.

  • Display Do u want save changes or not? message while closing the window

    Hi All,
    I have one requirement.I developed one form that contains 4 windows.
    I entered in the 3rd window and i have made some changes but not saved.when i close 3rd window it is not giving any message like 'Do u want save changes?'after closing the 3rd window cursor will go to 2nd window.if i open 3rd window again it is propmting the message(Do u want save changes or not?).How can i get this message while closing the 3rd window?
    i have written the following code in app_custom body
    IF (wnd = 'WINDOW1') THEN
    app_window.close_first_window;
    ELSIF (wnd = 'WINDOW3') THEN      
    lv_wnd_status := get_window_property('WINDOW2',VISIBLE);
    IF lv_wnd_status = 'TRUE' THEN
         go_item('BLOCK2.ORDER_NUMBER');
         set_window_property ('WINDOW3', visible, property_false);
    ELSE
    app_window.close_first_window;
    END IF;
         ELSIF (wnd = 'WINDOW2')
    THEN
    lv_wnd_status := get_window_property('WINDOW3',VISIBLE);
    IF lv_wnd_status = 'TRUE' THEN
    set_window_property ('WINDOW2', visible, property_false);
    ELSE
    app_window.close_first_window;
    END IF;
         ELSE
    app_window.close_first_window;
    END IF;
    Can anyone give me some idea.
    Thanks in Advance
    Edited by: DhanaSurya on Apr 27, 2010 9:41 PM

    Iis this the only code which you used to hide/display window?
    Might be some navigation is happening in your form. Like if there is relationship between window2 and window3's block and when you access the window2 then you try to move to the next reocrd and then you are try to go to the WINDOW3's block.
    Or there is any CLEAR_BLOCK built-in bieng use in you form.
    -Ammad

Maybe you are looking for

  • Regarding Purchase order fetching

    Hi All, I have retrived Sales order items in my program. <b>Based on Sales orders Data[VBELN,VBELP etc] i need to fetch Purchase Order Data [EBELN, EBELP etc].</b>. How we can achieve this. What will be the logic! Thanks in advance. Thanks & Regards,

  • Purchase Reqs in MRP

    I'm looking for a possible explanation for the following replenishment issue: After Retrieving the ZREQS report, the MRP system sometimes may recommend (multiple) plan orders for the same article, same order date and delivery date. Purch.Req. Article

  • How Do I *Stop* Quattro Pro from Converting Access and Excel Files?

    Ever since I installed WordPerfect 7, I've had periodic difficulties of having stored Excel files open in Quattro Pro.  Normally, I can easily correct that by retrieving the files from within Excel.  But now a more difficult problem has presented its

  • SAP IS Retail ECC 6.0 - Article Master sending to XI

    Hi, I'm doing IDoc to File Scenario, to send articles from ECC to XI. Using the Message Type WP_PLU IDoc Type WP_PLU01 I have created a single article or generic article from t.code MM41. But what is the t.code to send the article to XI. If idoc what

  • Closing after a few seconds

    Hi, After the Update to 11.0.4 of Acrobat Pro XI - the program closes after a few secondes... If I Open the preference - Acrobat stay open, but as soon a go back to my file, the soft close... Same problem with Distiller... What can I do???