Closing the browser window in the runtime

Hi all,
How to close the browser window at the runtime?
It should be based on the button click....

With the JavaScript function window.close().
See e.g. here an example and a remark on its usage:
http://www.javascript-coder.com/window-popup/javascript-window-close.phtml
Jan Kettenis

Similar Messages

  • How do I get back the File Edit View History Bookmarks Yahoo! Tools Help that used to be at the top of the browser window above the taps

    how do I get back the "File Edit View History Bookmarks Yahoo! Tools Help" line of text that I could click on for options that used to be at the top of the browser window above the taps

    I did that (I think I did) however the confusion is that I get only part of the menu and not the most important menu items like "file" "edit" etc. with all the drop downs. It is so freaky - my other computers have no problem like this and I and show the menu bar or not just like you described. I really doubt anyone really understands my problem with it. I took some screen shots of the good computer version and the bad one so someone can "see" exactly what I am seeing. This may be a one of a kind gremlin issue, LOL. Anyway, without those menu items, I am very limited on the usefulness of FireFox on that computer so I have to rely more on Chrome for those features and use the FireFox with Billeo and other tools that still work. Someday it may magically fix itself, LOL.
    Of the two images, one is the good computer and the other is the bad. The bad one shows the only way to see the menu items however they disappear after I am done with the custom menu and no other time can I get the items to "appear" it is like they are there but cannot get them to show when in the normal menu bar mode.

  • How do I get the browser windows at the top to come back

    how do i get thge browser windows at the top to come back

    How to get all the iWork apps, iPhoto, and iMovie for free on an eligible iPhone or iPad
    http://www.imore.com/how-get-all-iwork-apps-iphoto-and-imovie-free-eligible-ipho ne-or-ipad
     Cheers, Tom

  • How to open the browser window of the user to the size of the webpage ?

    Hello,
    My webpages are 1000 x 600 pixels, and I would like the browser window of any user opens in that size for he can see the website as I want to. Is it possible ? I guess it is because the pop-up windows of a "photo page" open to the size of the pictures (when you click on the miniature pictures), so iWeb should have this possibility.
    Can you help ?
    Thank you very much.
    Julien

    Here are some basic instructions for making html changes after publishing in iWeb:
    1. Publish your site via iWeb
    2. Find your html files.
    Go to iDisk/Web/Sites/iWeb/Sitename/Pagename.html
    (If you publish to a folder, look in the folder you selected or try looking in your Sites folder of your home folder. )
    There are two ways to handle accessing your iDisk.
    Method 1:
    Turn on local copy of your iDisk in System Prefs, with or without automatic syncing.
    If you publish your site via iWeb, now the updated pages exist online but the old pages are on your local iDisk. You need to sync (automatically or manually) to get the new pages on your local iDisk (on your computer).
    Then you can open the updated files, make your html changes in Text Edit or whatever program, and SYNC AGAIN (automatically or manually) to update the online version of the site to match what you have just changed on your local iDisk
    Method 2:
    Mount the iDisk when needed via the "Go" menu in Finder. This is the ONLINE VERSION of your iDisk, not a local copy. When you publish your site via iWeb, the changes INSTANTLY appear on the iDisk on your desktop. If you make html edits or other changes, they appear INSTANTLY online.
    I recommend Method 2 - much easier!!!
    3. Make the html changes.
    You can open the html files generated by iWeb in any text or html editor. In TextEdit, to view the code in an HTML file, choose File > Open and select "Ignore rich text commands." Then locate the .html file (as described in step 2) and click Open.
    Make your changes (i.e. follow the directions on the link provided by James - it worked for me when I entered that page, so the 2000 suggestion still works!) and don't forget to save your changes (not Save As, just Save)!!!
    4. Remember, if you make a change to a page like this post-publishing, and later re-publish, you have to make the html changes again! Set up a Find/Replace command in MassReplaceIt and you can do this very quickly. You can save your queries so you can make all of your changes with one click the next time you save.
    Download here:
    http://www.hexmonkeysoftware.com

  • Can I view the browser window and the effects window at the same time?

    I just got a second monitor to complement my 24" iMac, and would like to take advantage of it by having the effects window and the browser window with all my clips open at the same time. Anyone know if this is possible?

    I think you just need to grab the Effects tab and drag it out of the Browser onto your extra monitor (though I could be wrong).

  • Is it possible to make a link in a mobile site close the browser window on the iPhone?

    I'm developing a mobile site specifically for iPhone users and on my home page I have a disclaimer saying something like do not browse this site while driving. I give them the option to continue by clicking a link or to close the browser by clikcinga link. So far I haven't been able to find a script that can handle that for mobile, or more specifically, the iPhone. Can this be done on the iPhone and what versions are limited to this feature?

    Ok let me ask you IF the IT department of your workplace does NOT want OS X installed on "THEIR" (The Companies) computers because of what they think is some type of security issue why are you trying to go against their wishes and install OS X on a computer that is NOT owned by you.
    That could cost you your job.
    If you continue down this path you will screw up the Windows install and have to take the system back to the IT department to get it fixed. What do you think they will say at that point?
    Do as you like but you would be better off just buying your own Mac computer if you are set on using OS X as your personal operating system.

  • Closing the browser window, after the dialog box

    How are you handling the 'NO' scenario ?
    Moreover are u firing the plug even before popping up the message ? Please check this once.. it might be the cause for it.

    Are you popping up the confirmation dialog from a WD application ?
    If so there will be a handler method for action 'NO' very similar to the following :
        CALL METHOD window->subscribe_to_button_event
          EXPORTING
            button            = if_wd_window=>co_button_yes               " For the button YES
            button_text       = <button_text>
            tooltip           = <tooltip_text>
            action_name       = 'YES_ACTION'                                  " Handler action for YES. Ideally the plug should be fired here
            action_view       = view_controller
            is_default_button = abap_true.
        CALL METHOD window->subscribe_to_button_event
          EXPORTING
            button            = if_wd_window=>co_button_no
            button_text       = <button_text>
            tooltip           =  <tooltip_text>
            action_name       = 'CANCEL_ACTION'                            " Handler action for NO
            action_view       = view_controller
            is_default_button = abap_false.
    The handler method for action CANCEL_ACTION will be ONACTIONCANCEL_ACTION. The handling should be done there.

  • Suddenly the bottom part of the browser window, under the slide bar, has vanished. I can't see where it says Done, or a website name or all the icons on the right side

    The window just ends right below the slide bar. I tried closing the window and reopening it, even restarting the computer, but it didn't fix it. At first I thought the window was too big, so I tried resizing it, but it didn't work.

    You have out-of-date plugins with known security issues. You need to update them.
    * Macromedia Shockwave for Director Netscape plug-in, version 8.5
    **Very old version. Probably best to uninstall before installing new version. Windows Start > Settings > Control Panel > Add or Remove Programs, click "Adobe Shockwave Player 8.5", click Remove. Then install current version.
    * Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers (new security update released 10-12-2010)
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions: http://www.java.com/en/download/faq/remove_olderversions.xml
    #* After the installation, start Firefox and check your version again.

  • How can I close a remote front panel by closing only the browser window?

    I control a remote front panel in a browser (from the client PC). If I don't use the 'close' - button in my program to end the remote front panel, but instead of this the 'x' of the browser window (in the right bottom corner), my program won't be close, it continues on the server. Do you know how to end a VI by closing only the browser windows?
    Thanks for any help!
    wolfe

    I found the examples. Thanks.
    But I could not find a solution yet. Now I know how to end a VI by clicking on the x of the VIwindow.
    My problem is, to end a VI by clicking on the x of the BROWSER window after I loaded and controlled a remote panel VI in a browser (e.g. IE).
    If you have any ideas ... I'd be happy.
    Thanks for your help.

  • Can Firefox themes be expanded to fill more of the browser window?

    I love the themes for the firefox browser window. The only complaint I have is that I would like the theme to cover more of the browser window at the top. Lots of the theme pic is covered up by the tools at the top. It would be nice to be able to see more of the theme picture in the near future.

    Add extra empty toolbars if you want to see more of the persona.<br />
    You can create extra toolbars to get extra space via View > Toolbars > Customize<br />
    You have to put something on a toolbar (drag a Space item onto it) before closing the Customize window because empty toolbars are automatically removed.<br />
    See http://kb.mozillazine.org/Toolbar_customization

  • Dynamic position of an image at the right bottom of the browser window

    Dear Dreamweaver-community,
    I'm trying to have an image positioned at the bottom right of a html-page. It is embedded in a table so that it doesn't interfere with the rest of the site's content (which it would if I simply used an absolute position). The height of the table is height=100% and I thought that this would make sure that if the browser window is being dragged smaller or bigger the image stays at the bottom right (just as the content stays centered if you set the width of a table to 100% and center it). But if you make the browser window higher the image won't keep sticking to the right bottom but will stay in one place while the rest of the page (bottom) is simply filled with the black background color. Do you have any ideas what I'm missing out on? Is there something like a valign-tag for a table or the page's body that dynamically keeps the image at the bottom right position no matter how you change the size of the window? I hope you can help me. Thank you!
    Missy
    Here's the code:
    <body bgcolor="#000000">
    <center>
    <!-- Start Content-Tabelle -->
    <TABLE BGCOLOR="#000000" BORDER=0 CELLPADDING=0 CELLSPACING=0 width=100% height=100%>
         <TR>
              <TD width=100% align=center valign=top>
                   <p> </p>
                <IMG SRC="images/kopf.jpg" width=300>
              </TD>
         </TR>
         <TR>
              <TD width=100% align=center valign=top>
                   <IMG SRC="images/text.jpg" width=394>
              </TD>
         </TR>
         <TR>
              <TD width=100% align=center valign=top>
                   <a href="mailto:[email protected]"><IMG SRC="images/post.jpg" border=0 width=269></a>
              </TD>
         </TR>
    </TABLE>
    <!-- End Content-Tabelle -->
    <!-- Start Wuerfel-Tabelle -->
    <TABLE BGCOLOR="#000000" BORDER=0 CELLPADDING=0 CELLSPACING=0 width=100% height=100>
         <TR>
              <TD width=100% align=right valign=bottom>
                   <IMG SRC="images/wuerfel.jpg" width=200>
              </TD>
         </TR>
    </TABLE>
    <!-- End Wuerfel-Tabelle -->
    </body>

    Below is your complete page. Copy all, paste into a Dreamweaver document, save and view in browser.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta name="keywords" content="Mario, Klingeberg, Mario, Klingeberg, Grafik, Illustration, Design, Grafikdesign, Grafik-Design, Illustrator, Bachelor, Medienmanagement, Mediendesign, Medien, IJK, Hannover, Bauch Beine Po, bauchbeinepo, Adobe, Photoshop" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Mario Klingeberg</title>
    <style type="text/css">
    html, body, #container {
    height:100%;
    margin: 0;
    padding: 0;
    border: none;
    text-align: center;
    background-color: #000;
    table td {
    vertical-align: top;
    text-align: center;
    </style>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-15622817-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </head>
    <body>
    <table id="container" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><img src="images/kopf.jpg" width="300">
    </td>
    </tr>
    <tr>
    <td><img src="images/text.jpg" width="394">
    </td>
    </tr>
    <tr>
    <td><a href="mailto:[email protected]"><img src="images/post.jpg" border=0 width=269></a></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td style="vertical-align: bottom; text-align: right;"><img src="images/wuerfel.jpg" width="200" height="90"></td>
    </tr>
    </table>
    </body>
    </html>

  • When interactive pdf opens in browser window can the pdf links open in separate windows

    Problem is the pdf works ok when it opens in the browser window, BUT the links in the pdf don't open in separate browser windows, as they do when the pdf is downloaded as a file.
    If pdf links can only open in separate browser window when the pdf itself opens as a separate file, the how do I email a pdf download link on a website.

    Hello Yesh,
    you can open PDFs as a guest user (without authentification):
    1. Allow Guest Access (Admin -> Security Configuration -> Check "Allow Guest Access" and select a folder name).
    2. Copy your Report into this guest folder
    3. You can open the Report as PDF with a link like this:
    http://(bip-server-name):9704/xmlpserver/(guest-folder-name)/(report-name)/(report-name).xdo?_xpt=0&_xf=pdf&_xmode=4(&report-parameters)
    Just replace the strings in brackets. You find a great description of the URL parameters in Tim Dexters Blog
    http://blogs.oracle.com/xmlpublisher/2006/07/accessing_xmlp_enterprise_repo.html
    I didn't find an option to set the height of the PDF-Output for the guest user in the BIP-UI. Maybe I missed something. But you can manually edit the configuration file. It is located on your BIP server direcory in the subdirectory xmlp/XMLP/Users. Select the guest users subdirectory and edit the configuration file "user~.profile".
    In this XML config file there is an entry "viewerHeight". In the Value-Tag you can enter the PDF output windows height in pixel (but unfortunaly not in % - this was the question of my original posting).
    Hope that helps...
    Sascha
    Edited by: sascha@tesat on Oct 26, 2009 9:02 AM

  • How to create an MenuBar that stays at the top of the browser windows?

    We are trying to develop a screen in WDA. It has a menu (UI element MenuBar) at the top. Based on the menu selection it calls a WDA to display below the menu. The requirement is to have the menu bar be stationary. The bottom container (TransparentContainer) with the WDA object is allowed to scroll, but the menu on top should not move. The scrolling should be dynamic based on the browser window. The bottom WDA can have more data then can fit on the screen.
    How can we make the menu stationary and the called WDA scrollable? The scroll bars should automatically update due to different browser window sizes.

    Hi,
    Thanks for your response. Our system is functioning on SAP Ver. 7.00, Service Pack 16. I do not know when or if we will be getting the upgrade to 7.01 or 7.02.
    As far as separating the menu and the actual view, each menu selection leads to the loading of a different WDA view inside the TransparentContainer by dynamically linking the ViewContainerUIElement to different WDA views. The trouble here is that when the View becomes too large, we will have to scroll off to the right or down to see additional content. This results in the menu not being accessible unless we scroll back. The requirement is to have the menu stay at the top of the page no matter how the user scrolls through the secondary view container below the MenuBar element.
    So far our best solution was to place an arbitrary pixel size to the TransparentContainer of the view, generating in-window scroll bars for the menu-controlled view. The MenuBar always stays visible because it is on top of the scrollable container. However, with varying screen sizes, set-pixel-size is not an ideal solution. I am hoping that there is a more elegant solution than set pixel size since % does not work with height size setting.
    Are there any ways to achieve this via 7.00 layout settings? Or perhaps a method to detect browser window size? Any ideas are greatly appreciated.

  • 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 detect the closure of browser window at the client side?

    Hi,
    Does anyone know how I can detect the closure of the browser window at the client side from the server side?
    Please advise.
    Damien

    Basically you can't. People will suggest various Javascript things you could try, but they don't work reliably. So don't try, just make a design that doesn't require knowing that.

Maybe you are looking for