Open a new window when the user presses the button

Hello

I have a button (BUTTON HTML) that opens a URL... but it opens URL in the same window...

is there a way to open a new window (popup) when the user presses the button...

Thanks in advance

Hello

Just change the button to the target URL.

Specify the URL like: javascript:popupURL('__');

popupURL is a function of popup. You can use the pop-up popUp2 (these are functions in the library of the apex with slightly different implementations), window.open, etc.

popupURL
function popupURL(a){html_PopUp(a,"winLov",800,600)}

popUp
function popUp(URL) {
 day = new Date();
 id = day.getTime();
 eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=600');");
 }

popUp2
function popUp2(b,a,c){day=new Date();pName=day.getTime();html_PopUp(b,pName,a,c)}

Tags: Database

Similar Questions

  • Open a new window when the connection to another page in the application

    I have an Apex 4.2 existing application that uses buttons to direct users to other pages in the application

    Users want to be able to open a second (or possibly) 3rd window or perhaps a second tab

    Is there a way to code?

    Sure using good old Javascript.

    Set the URL, then type:

    JavaScript: window.open('f?p=APP_ALIAS:PAGE_ID:&SESSION.')

  • Open a new window of the browser always puts an FLV (0bytes of a youtube vid) previously seen on the desktop. 18.02 Firefox

    Open a new window of the browser always puts an FLV (0bytes of a youtube vid) previously seen on the desktop. 18.02 Firefox

    seen the vid yuotube yesterday. delete all the flv on the desktop.
    even today, a new window always puts the same empty file from yesterday.

    any suggestions?

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

  • How can I open a new window without the current tabs being replicated?

    I have a window open with several tabs. I open a new window and the current tabs are replicated - I'm waiting for the new window empty - what am I doing wrong? Should what settings I change. I'm running Firefox on a MacBook Pro with Snow Leopard OS.

    This has happened

    Each time Firefox opened

    Firefox support Home page (s) by default in a new window.
    If you see something else, then check your extensions (Tools > Modules > Extensions) to see if one of them is the cause.
    See Troubleshooting extensions and themes and problems of hardware acceleration to resolve common Firefox problems

    How to open this new window?

  • Is it possible to close Firefox after have closed all the windows (and also to open a new window when starting another process of Firefox)?

    Yes, Yes, I know, it's not good to keep open applications when they are not designed to be. I'm sure Firefox has some memory leaks and this does more harm than good, but...
    My computer is not the biggest out there, and to increase the ease of use of my Firefox browser, it would be nice to keep the firefox.exe process opened, even after you close all windows. I know that Firefox is not totally close if there is at least a Firefox-related window opens, but having to open popup window X seems a little extreme to achieve this effect.
    In addition, to allow another window to open, it would be cool for guests 'OH No. FIREFOX IS STILL OPEN' should be replaced by just trying to open a new window, if this feature is enabled.
    So, if it exists, is there a variable config for it, and if it does not exist, it is possible to somehow? I'm not afraid to get my hands dirty if it comes to him; I really want to get what's going on.
    I am running Windows 7 family, if it's important. (I would rather run a different OS, but this is neither the time nor the place...)

    This addon should close all tabs and open a blank tab and stay in the tray like this. or at least have an option like that. So what I have and what you want is met.

  • How to open a new window when you open a file from a slide on Captivate 9

    I am almost at the end of my first e-learning project on Captivate 9 and I have a small question: when I open a PDF file to a slide via a hyperlink or a button (via an ' action'), it's just switching page in the web browser instead of opening a new window.

    So I need to press return to return to the project, but it is up to the start screen.

    Is it possible to open a second window instead of 'project closing' when opening a file?

    Thanks in advance for your help.

    You must select 'new' in the dropdown menu next to the link entry field.

  • How to open a new window to the same URL?

    When I click CTRL + N to open a new WINDOW, is it possible to open the new window to the SAME URL than the one I was on (instead of opening my homepage)?

    You can tear off a tab in a new window by dragging the tab slightly down, but who will remove the tab of the active window.

    You can watch this extension:

  • Hopw to open a new window of the same page (double window)?

    When I open a new window I want Firefox to open a copy of the page that I am. If I open a new window, it always opens my window on the home page.

    This has happened

    Each time Firefox opened

    == This is not a bug. It's a necessary feature if it is not already available.

    Clone of extension of the window - will also Clone a tab:
    http://www.Pikey.me.UK/Mozilla/?addon=CW

  • Open a new window of the application in the browser tab

    Hi all

    I am trying to open a new window of application in a new tab?

    Is it possible to dynamically add children to a tabnavigator in Flex 3?

    If so, can you give an example?

    Thank you!

    Hi Swati,

    Your question is unclear to me.

    If you want to add childs to TabNavigator here is the code:

    var tabNavObject:TabNavigator = new TabNavigator();

    var vBoxObject:VBox = new VBox();

    vBoxObject.label = "Child 1";

    tabNavObject.addChild (vBoxObject);


    If you want to open a new tab in the browser here is the code:

    var connection_request:URLRequest;

    connection_request = new URLRequest ("http://www.google.com"); URL, or you can give your path of application here.

    connection_request. Data = new URLVariables ("param1 =" + "Prashant"); pass any parameter URL

    connection_request. Method = URLRequestMethod.POST; type of setting method
    navigateToURL (connection_request);  It is a standard feature.

    Thank you.

  • When the button and then open a new window with the calling form

    Hi all I have a form with buttons only and when I press one of the buttons they call another form
    code
    CALL_FORM('C:\test_report\final_to_be_added_to_main\Customer_2-5-09');
    I want to, when I call the form when I press the button then the calling form opened with the new window

    Thanks and greetings
    Vikas Singhal

    Hello

    Forms in an application is running in a window unique applet. When you use the CALL/OPEN/NEW form, she would open them in the same applet window. If you want to open another instance of the form, try something like

    web.show_document('http://:/forms/frmservlet?form=','_blank');
    

    Note: It will not share the session. You need to re connect on this form (or use a section of configuration with the user name and password etc.). Therefore, the instance of forms, db instance all will be a new one.

    Arun-

  • I visit a Web site that has podcasts.when I click on the icon to listen to it on a page, it opens a new window where the flow of mp3 files.

    But I want to open the mp3 file in a new tab on the page. Normally, when I click on a link on a Web site, links open in new tab, but this site (elspod.com) there are icons only connecting not .the site is elspod.com

    Ive just found a solution. right click on 'Download link' and choosing 'Open link in a new tab "... Thanks for your help

  • If I reset Firefox due to the opening of new windows when I use the browser or logout of the e-mail, I'll lose my favorites?

    When I logout of e-mail is g-mail or yahoo, Firefox email in a new window and not the window being closed. The current window looks like that I have not disconnected.

    No, a reset will not lose your bookmarks, passwords, history, etc. In addition, updated Firefox 18.

  • My Google preferences are set to display the search results in a new window. However, when I do a search on Google, it Firefox always opens 2 new windows with the (same) results. How can I fix?

    I do not change my Google settings. I've always had it ready to open search results in a new window. Some time before, he began to open two windows that have the same url/content.

    This problem may be caused by an extension that is not working properly.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).

  • Open pop-up window when the page opens

    HI, I need to have a box pop up of whatever nature which opens when the page is opened and can be closed by the user.  It will contain an important news flash.

    I know that this should be possible using behaviors, but cannot get out - can anyone help?

    Thank you

    SW

    Google brings a few - this should suit your needs:

    loading the page http://www.dynamicdrive.com/forums/showthread.php?56899-jQuery-Popup-Window-that-opens-on-

  • Open a new window when linking between PDF docs (link originates in a Word doc)

    Hello

    I saw this discussed historically general topic, but couldn't find any resolution.  I have a Word doc (let's call it A.doc) linking to a PDF doc (let's call it b.pdf). Once I have convert Word doc to PDF (A.pdf creation), I want the link en.pdf to open b.pdf in a new window.

    I've seen a number of suggestions that indicate that I can set up the link in Word to do this, use her change the hyperlink > target frame > frame target > 'new window '.  While this works if I click on the link in Word, it does seem to "reporter" once I converted A.doc to A.pdf.  When I click the link en.pdf then B.pdf opens in the same window in time.

    I know how to add manually link in Acrobat.pdf to do this, but I don't want you add manually the link every time I create A.pdf.  I want to create the link once in A.doc and did delay in time, and then open the b.pdf link in a new window.

    I've seen suggestions on adding some HTML somewhere.  Unfortunately, they are not, that I'm viewing the PDF files in a browser.

    I saw suggestions for using the CTRL key at the same time click on the link en.pdf.  Would not be practical, because I have no way to make sure that my users will know it.

    I've seen suggestions on the use of JavaScript, but it would mean (I know) I have to add the JavaScript whenever I convert A.doc A.pdf.  Still, I won't have to do any post-processing of A.pdf after I got it to create.  I want the link in 'just work' A.doc after A.pdf is created, i.e. open b.pdf in a new window.

    This * seems * like a simple thing to do, I hope there is a simple solution.

    BTW, I'm using Word 2007 and Acrobat X.

    Thanks for your help!

    Dave

    I use Word 2003 and Acrobat 10 and links created as you describe defaults to 'new window '.

    You have the 'Open links in the same interdocument window' unchecked in Edit > Preferences > Documents?

    .. sounds too easy... (and your users will probably have to make the change even if they need this behavior, unless you have a very techno IT department that can deploy configuration files large company).

Maybe you are looking for

  • Extension of the memory for Satellite L500 - 1-7

    Hello! I'm looking for more memory for my Satellite L500 - 1 7 portable. I am looking for 2 or 4 x 4 GBbut I can't believe that the price is about 249.00 for a 4 GB memory DDR2 PC2(800 MHz) (in the toshiba official store). I was looking on amazon and

  • How to synchronize the start of the acquisition of two cards of different daq hardware

    Hello I'm running a continuous acquisition with a PCI-6133 (@2,5. MECH / s per channel, 8 channels) and a PCI-6259 (@250 ksps / sec per channel, channel 3). Both performed in the same loop. The raw data from the data acquisition boards are written in

  • Downloads accomplished successfully.

    Recently, I have updated Windows XP to Windows 7 Professional.  I used it for a few months and I noticed that when I try to download anything on the Microsoft site, it takes me to a page that looks like this: Oops! This link seems broken. Suggestions

  • CD/dvd and D: / drive

    Cannot use a cd/dvd player says cannot find driver and repair the system and recovery tells me the system recovery has not successfully completed the files not restored - my computer shows my D: / drive in the control panel but D: / does not work wha

  • creating custom events and listeners

    I want to create my own event and a listener for a process in the background. This isn't an extension of a listener to, for example user intervention.  What I could find, it seems I can't extend EventObject in j2me. I tried to work around that by the