Hwo to create a button that opens a popup

Hallo,
I wanna create a button on a page (thats not the problem) that opens a popup where data from a table (two rows) is in.
I found different documents but nothing that really solves the problem.
Any idea and helps is really appreciated.
Thanks and regards, Jade

Hi Jade
I'm not sure what documents you've looked and why they haven't helped you. To call any page as a popup, you just need to run some javascript:
<script type="text/javascript">
function callMyPopup () {
var url;
url = 'f?p=&APP_ID.:123:&APP_SESSION.';
w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
if (w.opener == null)
  w.opener = self;
w.focus();
</script>
and you button should call the javascript function:onClick="javascript:callMyPopup();"
I tend to put things like this in A tags on my page.
Is there something further that you need to do with the popup report?  Do you need to set some value to filter the report and/or return a selected value from the report back to the calling page?
Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Create a Button that Opens a Specific Web Link from a Dropdown Box

    Hi guys.  My main question is, how do I make a Button that opens a specific Web Link, depending on the URL selected in a Dropdown box?
    Example:
    I'm a comlpete newbie and need a code sample of how this would work!  Thanks!
    I have a couple other questions which are related to this. 
    1) Is it possible to hide the URL in the Dropdown list, and only show the Name, so for examlpe, it would only list Hotmail, Gmail, Yahoo, and not the www....com?
    2) Another more advanced question is, once the web link is opened, is it possible to have adobe input or fill-in the Login and Password fields into the website and then hit "Enter" for you.  The Username and Password would be stored somewhere in adobe and would depend on the weblink opened. So for example: When you open Hotmail, it would use the following; Username:[email protected] and Password:password1, but if you opened Gmail, it would use a different Username and Password stored for Gmail.
    3) Finally, out of curiousity, is it possible to have adobe extract data from a website, and fill them into an adobe form?  This maybe over my head, but any starting point or examples would be of great help!

    Use something like this as the button's MouseUp action:
    app.launchURL(this.getField("URL Dropdown").value));
    To answer your other questions:
    1) Yes. Place the URL as the export value of each option, and the name of the site as the display value. The code I provided can remain the same.
    2) No.
    3) Might be possible, but it's very tricky. The way to do it would be to convert the website to a PDF, process that PDF to extract the data from it, and then use that to populate the form fields. That would require quite advanced scripting knowledge, but it could be possible.

  • Create a button that opens a XML data file

    I have a PDF form that was created in LifeCycle Designer. I want to have a button that when you click on it, it will open the "select File window" so that you can then import an XML data file to the PDF form.
    You can do this option manually when you are Adobe Reader in the Form by clicking Advanced, Data, Import Data to Form.
    I want to automate that by just clicking a button. Does anyone know the script to use behind the button to make this work. It's gotta be easy but I can't figure out how to bring up the "Select File Window"
    Can anyone help.
    Thanks
    Sean

    Hi Sean,
    You can import an XML data file by clicking a button, with following code:
    xfa.host.importData();

  • Need to create a button to open an URL

    Hi, everyone:
    I want to create a button that response opening a webpage. How? someone can help me?
    Thanx
    Khriz

    Hey ! Go for this , this is very easy !!
    public void actionPerformed(ActionEvent ae)
        // showContent is a button
       if( ae.getSource()==showContent)
          try
            Process process = Runtime.getRuntime().exec("start www.yahoo.com");
          catch(Exception e)
    }

  • Is there a way to create a button that links to a website?

    Is there a way to create a button that links to a website?
    I was reading up that it's possible to this with menus, and tracks but can you do it with a button and how?
    I am hoping to create a button that people viewing my discs on a computer can click on the link and their web browser will pop up and take them to a website.
    Any help is appreciated.
    Thanks.
    -Fraky

    dvd@ccess questions are being asked once a week on this forum, so I'll repeat why it's useless:
    - Mac users have to enable the feature in the preferences of DVD Player in order to for the links to work.
    - PC users have to install a small application on their PC, and they have to reboot the PC in order for the links to work.
    - On top of this, it's still unreliable, and may not work on some computers.
    It's a dog: Don't use it.

  • How to create a button that Copies subform data and paste it to a new page?

    Hi , I'm want to create a button that when clicked copys all the data from the feilds of a subform off the previous page and paste it into current page.
    I have used Steve's "Simple table.pdf example" to add a subform called DecorationDetail that has a button that adds an instance when clicked.
    Contained in the decorationdetail subform are feilds named Quantity, Description,UnitPrice etc. and a delete instance button.
    So when the first page is filled out, and a second page with blank duplicate feilds is added by a add page button. I want to be able to click a button
    positioned at the end of the row of feilds, and it then copies the same subform data from the previous coresponding page and pastes it into the current page subform feilds.
    Hope this make sense?. A step by step guide would be greatly appreciated!!!.

    Hi,
    Does this article provide you with some clues? http://www.perfectwebtutorials.com/2011/how-to-create-simple-contact-form-in-flash/
    Thanks,
    Preran

  • How to create text buttons that link to video?

    I've finally gotten around to trying DVD SP, and even though I read the whole manual, it's not at all clear if, or how, you can create text buttons that link to the video you want to play, without displaying a clip of that video in the button itself.
    I have no problem creating a text button, but I can't change the font, and editing is counter-intuitive, unlike iDVD. I'd use iDVD, but it doesn't accept .m2v files, and it seems to think that my 6 videos of about 43 minutes each are too large for a DVD+DL disc, so it won't let me burn it or save it as a disc image.
    Does anyone have a way out of this conundrum, or am I SOL?
    Mulder

    It really isn't that hard!
    As Drew said, go into your menu and click and drag to create a button rectangle. With the button highlighted, look in the property inspector at the bottom and type in the text that you want to use. Ensure that you 'include in button highlight' and then set the colour choice for selected and activated.
    What you get is a simple line of text which illuminates when you roll over it, and changes colour when you click on it.
    Once that is done, click on the button area again and set the target to go to the piece of video that you want to have play back.
    You should also set the menu call and end jump on that track to make sure your viewer can get back to the menu.
    Once that is done the menu will show as a simple piece of text (more buttons means more bits of text, and the first button will be highlighted by default) and no video will play until the button is activated.
    DVDSP is definitely a steeper learning curve than iDVD but for very good reasons. You get far greater control and access to far more advanced features in DVDSP. This means that some things will seem harder, whereas in fact they are just different and the process for achieving the result you want is different. Much of what you want to know is in the manual and also in the tutorials which came with the app. Failing that there are several good online spaces where you can find a lot more information... not least of which is right here, of course!

  • Is there a way to create a button that works the same as the ImageField?

    I am trying to create a button that acts like the ImageField tool. I want to be able to click on the button and it will direct me to browse for my photo that I want to attach.
    I am using LiveCycle. (I am a nooby and have limited skills when it comes to script)
    The ImageField function is to complex of a function for the use on my IPAD (PDF Expert APP). I can create a photo button using Adobe Form Creater and it works fine with the below script:
    event.target.buttonImportIcon ();
    This is a mouseup Action Event.
    My form that has been created in LiveCycle works perfectly on my IPad, except the photos. If I can simplify the function of the photos to act more like the Adobe Form Creater tool, then perhaps it will all work together.
    Any ideas, or is this just a waste of time? I have created the form over using Adobe Form Creater, but it has some limitations that make it not function as nice as LiveCycle's form.
    Thanks

    Not in Acrobat unless your image is already in the PDF format.
    This is a feature of forms created with LiveCycle Designer.

  • Acrobat 9.0 Std - How do I create a button that will show / hide the menu bar?

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

  • In DPS/Indesign for iPad - How can i create a button that once tapped, will pre-populate an email?

    In DPS/Indesign for iPad - How can i create a button that once tapped, will pre-populate an email? like when you tap a recipe in Marth Stewart Every Day Food for example....

    http://forums.adobe.com/message/4190932

  • Can I create a button that copy's a certain test to my clipboard?

    Can I create a button that copy's a certain test to my clipboard?
    For example, when I click the button on the website, then the next time to paste somewhere, a specific text appears?
    If this is possible, could someone please explain how? =(

    Hi Travis,
    There is no native feature in Muse to achieve this. However, you can use custom code to achieve this. Please refer to the following link for the sample code : How to copy to the clipboard in JavaScript? - Stack Overflow
    Regards,
    Aish

  • I have a button that opens a PDF that crashes Moodle and Scorm Cloud. How can I fix this?

    I'm using adobe Captivate 5.5
    I have a button that opens a PDF that crashes the course when in an LMS (I've tried moodle and scorm cloud). When I play the course in my browser, the file opens fine and the course continues. Does anyone know why opening this file doesn't work when I upload the SCORM package to an LMS?
    Thanks,
    Chris

    Hi aperio_chris,
    Thank you for contacting adobe support.
    Please use the following steps and let us know if that helps:
    1. In the publish setting>>externalize resources>>check all the check box which are for attachment, widget, animation etc.
    2. Check the flash player version change it to version 9 or 10 when publishing the output through Adobe Captivate.
    Thanks and Regards
    Loveesh

  • How to create a button to open directory

    Dear all,
    is it possible to create a button can open directory
    like My Documents
    i test this in CMD command prompte it's work but in
    in forms they are not work
    "explorer.exe" & @MyDocumentsDir
    or
    cmd /c "explorer.exe" & @MyDocumentsDir
    in forms :
    i create a button with trigger When-button-pressed
    in trigger :
    host('"explorer.exe" & @MyDocumentsDir');
    host ('cmd /c "explorer.exe" & @MyDocumentsDir'); ----> i think this should work
    but it's not work
    can you help please
    thanks
    regard

    hi Ammad
    sorry Ammad, but in the first step i get this errors
    Compilation errors on WEBUTIL_DB_LOCAL:
    PL/SQL ERROR 201 at line 9, column 12
    identifier 'WEBUTIL_DB.OPENBLOB' must be declared
    PL/SQL ERROR 0 at line 9, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 18, column 12
    identifier 'WEBUTIL_DB.CLOSEBLOB' must be declared
    PL/SQL ERROR 0 at line 18, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 24, column 5
    identifier 'WEBUTIL_DB.WRITEDATA' must be declared
    PL/SQL ERROR 0 at line 24, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 29, column 12
    identifier 'WEBUTIL_DB.READDATA' must be declared
    PL/SQL ERROR 0 at line 29, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 35, column 12
    identifier 'WEBUTIL_DB.GETLASTERROR' must be declared
    PL/SQL ERROR 0 at line 35, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 40, column 12
    identifier 'WEBUTIL_DB.GETSOURCELENGTH' must be declared
    PL/SQL ERROR 0 at line 40, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 45, column 12
    identifier 'WEBUTIL_DB.GETSOURCECHUNKS' must be declared
    PL/SQL ERROR 0 at line 45, column 5
    Statement ignored
    Failed to generate library.more help plz
    thanks

  • I need to create a button that links to another swf file...

    i'm creating my first website, and, for each menu item, i am
    creating a new flash document... is this the correct way to create
    a multi-page website?
    plus: how to create a button that links to a jpg, thanks!
    jane

    Creating separate swf's these days as far as I know is
    considered to be a better practice than using the "scenes" that are
    in Flash. The reason is you can load various sections of your
    entire Flash entity rather than the user downloading everything at
    once.
    But, it also depends on the complexity of where your menu
    items are leading. If they are simple enough, then there may be no
    need to create new documents.
    To create a button that links to a jpeg, try this.
    Whatever graphic you're using for the button, select it and
    hit F8 to convert it to a movie clip. Once it's in your library,
    click on your new movie clip on the stage and give it an instance
    name in the properties window.
    Click the first frame in your timeline (preferably on a layer
    named "actions") and put this example in for the actionscript:
    //buttonName is the instance name you gave it
    //.onPress tells Flash when buttonName is pressed then do
    what's
    //inside the brackets of the function
    buttonName.onPress = function (){
    //getURL is the Flash function that will load your
    picture.jpg
    //_blank is the target. e.g. _blank, _self etc.
    getURL("picture.jpg", "_blank");
    }

  • Creating a button that highlights itself and another object

    Hello all,
    I have a specific function I am trying to apply to my InDesign document intended for exporting to an interactive PDF and SWF/html format.
    The function I am trying to create is:
    I have a picture of a typical WYSIWYG tool bar. I have created highlight buttons that sit on top of each icon in the picture. When the reader rolls over (with cursor) this picture of an icon I want it to highlight, and also a piece of text further down the page to highlight as well (which is a definition and explanation of the icon). So I want the rollover action of my first button to also trigger another action, which is to highlight a piece of text elsewhere on the page. I have managed to get it so that I hover over the first button (picture of icon), it highlights, and the text further down the page appears. But this isn’t quite what i want. I want the text to exist already, then highlight. Basically, I want to the two buttons to be linked. So that every time I hover over a portion of the picture with a created button, it will highlight, and a piece of exploratory text will also highlight simultaneously elsewhere on the page. A bit like an infograph. Surely this is possible?
    Thanks in advance for your help.

    Generally, animations like this with the goal of exporting a SWF are better be done in Adobe Flash.
    In Indesign it sort of works, too. Only for export to SWF, you can assign the action "Go to status". For a text frame, you can assign different status, where the 1st status would be "normal" and the 2nd status would be "highlighted". Highlighted applies to the object "text frame", so you can assign a stroke or fill. Better than nothing.
    Example: Dropbox - test_highlight.indd

Maybe you are looking for

  • RMMR1MRS-When run in background cause update failure errors looking

    hi,       RMMR1MRS report when run in background cause update failure errors . There are few  below reason for the error log. 1.  for the PO invoice already generated -  (its right if already invoice generated. should not happen again) 2.  In  MIGO, 

  • Time Machine: can it work with TWO users?

    For reasons of corrupted Preferences (i.e. plists) I had to create a new User Account (where I had to "recreate" all personal settings/preferences) and transfer my data to this new account. Until I have verified all data and settings over the next fe

  • Program to arrange 4 strings in ascending order .

    can any one gimme the code to arrage 4 strings in ascending order.

  • Primary Domain Controller Time not working (Windows Server 2008)

    Hi there, I'm trying to set up my PDC with an external before you say anything I have checked other thread and none of them helped and please do not suggest OS upgrades, we don't have the budget for that we have 4 DC servers (not the real names) DC1-

  • Group by count distinct

    mytable id | yy 1 | 78 2 | 78 3 | 78 3 | 79 3 | 79 4 | 79 5 | 79 5 | 80 Desired output: yy | id_count 78 | 3 79 | 2 80 | 0 Following query doesn't work, as it doesn't take into account that id was already counted select yy, count(distinct id) as id_c