Javascript Popup - height

Good morning,
Hopefully one of you experts will be able to help me.
I have added some javascript in my page header to do the following:
I want to open a popup page, centre page, no scrollbars, no resize etc. This all works fine as does the width of the popup page. Somehow the height of the popup doesn't stick and it appears to be about 800 in height??? I am baffled by it and would welcome any help. Thanks in advance.
Sue
Here is my code:
<script type="text/javascript">
function PopupPage()
popUp2('f?p=&APP_ID.:75:&SESSION.::NO:::',"toolbar=no,scrollbars=no,,statusbar=no,,resizable=no,height=300,width=300,left=362,top=234");
</script>

I haven't solved this problem, I'm still baffled by it but my colleague has given me another solution and it works. Just incase anyone else ever has a similar problem, here's his solution:
Page Header:
<script type="text/javascript">
function PopUpNamedViewDetails(url, name, top, left, width, height)
settings=
"toolbar=no,location=no,directories=no,"+
"status=no,menubar=no,scrollbars=no,"+
"left="+left+",top="+top+
"resizable=yes,width="+width+",height="+height;
MyNewWindow=window.open(url,name,settings);
</script>
javascript call
javascript:PopUpNamedViewDetails('f?p=&APP_ID.:83:&APP_SESSION.','Individuals',134,362,300,300);

Similar Messages

  • Javascript popups that open in same window causing focus problem

    I have been using javascript popups in actionscript buttons
    for some time with no issues. However, on a specific movie I have 2
    button links, each of which opens a pdf file. I need each pdf to
    open using the same new window to avoid multiple new windows
    opening.
    This works fine on the first link I open - the new window
    appears on top of the main window. The second link, however, opens
    underneath the main window despite the focus() code. This only
    happens in IE - works fine in Firefox.
    Code used:
    link3_btn.onRelease = function() {
    getURL
    ("javascript:NewWindow=window.open('docs/first.pdf','newWin22','width=700,height=500,left =1
    0,top=10,toolbar=No,location=No,scrollbars=Yes,sta
    tus=Yes,resizable=Yes');NewWindow.focus();void(0); ");
    link4_btn.onRelease = function() {
    getURL
    ("javascript:NewWindow=window.open('docs/second.pdf','newWin22','width=700,height=500,lef t=
    10,top=10,toolbar=No,location=No,scrollbars=Yes,st
    atus=Yes,resizable=Yes');NewWindow.focus();void(0) ;");
    Any help would be appreciated. Thanks.

    This is how the code should look:
    link3_btn.onRelease = function() {
    getURL
    ("javascript:NewWindow=window.open('docs/first.pdf','newWin22','width=700,
    height=500,left=10,top=10,toolbar=No,location=No,scrollbars=Yes,status=Yes
    ,resizable=Yes');NewWindow.focus();void(0); ","_self");
    link4_btn.onRelease = function() {
    getURL
    ("javascript:NewWindow=window.open('docs/second.pdf','newWin22','width=700,height=500,lef t=
    10,top=10,toolbar=No,location=No,scrollbars=Yes,st
    atus=Yes,resizable=Yes');NewWindow.focus();void(0) ;","_self");
    }

  • Syntax Error In Javascript Popup Window

    I'm wondering if anybody can help me out here with a curious bit of code. I'm using GoLive 9 to generate Javascript popup windows. They seem to work fine, but when I check the syntax I get these errors:
    Line 22 Unexpected PCDATA
    Line 24 The Corresponding start tag is missing
    Specifically, it references this code:
    </script>
    //-->
    </script>
    But every time I try to delete or modify those lines I lose the link to my css file and can't link it back. Does anybody out there with a whole lot more brains than me have a solution? Remember, I'm stupid, so if you have a fix I'd appreciate it being explained as simply as possible. Thanks. BTW here's the entire code for the Javascript popup page below:
    <!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 http-equiv="content-type" content="text/html;charset=utf-8" />
    <meta name="generator" content="Adobe GoLive" />
    <title>1408</title>
    <script type="text/javascript"><!--
    <script type="text/javascript">
    //Global var to store a reference to the opened window
    var openedWindow;
    function openWindow()
    openedWindow = window.open('moreinfo.htm');
    function closeOpenedWindow()
    openedWindow.close();
    </script>
    //-->
    </script>
    <link href="../../../BAD/michaelthibault.com/css/agl-styles.css" rel="stylesheet" type="text/css" media="all" />
    <link href="../../../BAD/michaelthibault.com/css/java.css" rel="stylesheet" type="text/css" media="all" />
    <style type="text/css" media="all"><!--
    a:link { color: #838383; }
    a:active { color: #838383; }
    .dsR1 /*agl rulekind: base;*/ { width: 480px; height: 260px; }
    #media { position: absolute; top: 50px; left: 50px; width: 480px; height: 260px; z-index: 1; }
    #pause { position: absolute; top: 320px; left: 50px; width: 180px; height: 15px; z-index: 2; }
    #close_a { position: absolute; z-index: 3; top: 336px; left: 50px; width: 180px; height: 19px; }
    --></style>
    </head>
    <body>
    <div id="media">
    <object class="dsR1" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="204" width="480" align="left">
    <param name="enablejavascript" value="true" />
    <param name="bgcolor" value="#1a1a1a" />
    <param name="src" value="../../media/01_trailers/1408_tlr1r_h.480.mov" />
    <param name="autoplay" value="true" />
    <param name="controller" value="false" />
    <embed align="left" height="204" pluginspage="http://www.apple.com/quicktime/download/" src="../../media/01_trailers/1408_tlr1r_h.480.mov" type="video/quicktime" width="480" controller="false" autoplay="true" bgcolor="#1a1a1a" enablejavascript="true"></embed>
    </object></div>
    <div id="pause">double click in center to pause</div>
    <div id="close_a">
    <a href="javascript:self.close();">close window</a></div>
    <p></p>
    </body>
    </html>

    You have a script tag nested inside another script tag. Try changing this:
    < script type="text/javascript">< !--
    < script type="text/javascript">
    //Global var to store a reference to the opened window
    var openedWindow;
    function openWindow()
    openedWindow = window.open('moreinfo.htm');
    function closeOpenedWindow()
    openedWindow.close();
    < /script>
    //-->
    < /script>
    ...to this...
    < script type="text/javascript">< !--
    //Global var to store a reference to the opened window
    var openedWindow;
    function openWindow()
    openedWindow = window.open('moreinfo.htm');
    function closeOpenedWindow()
    openedWindow.close();
    //-->
    < /script>

  • JavaScript Popup Window

    Hi, has anyone done an example where you are at a page, say Page1.jsp that has a text box and a button, when you click on the button a javascript popup window must open(Page2.jsp). Page2.jsp has a text box and a button. The user will enter a value in the text box and when they click the button it must close the popup window and populate the text box on Page1.jsp with the value entered on Page2.jsp.
    Is this possible in JSF, I have tried but it doesn't work. On the popup windoow botton I have javascript code that saves the value in the session, submits the parent page and then closes the popup window.
    On the parent page init, I look for the value saved in the session var and set the textbox's text to it. When I read the value of the text box, it is right but on the screen the value does not show up at all,
    Does anyone have any idea, I can't seem to understand at all what could be wrong here.

    Hi,
    You can use this code:
    1. in the parent form you have a button and a text field named "textCallClass".
    2. in the popup window you have listbox and a button.
    When the button on the popup window is clicked, the selected list item is returned.
    In you popup window, button on_click :
                        <script>
                            function handleOK() {
                                var myform      = document.forms[0];
                                var listControl = myform['form1:listboxID'];
                                var openerField = window.opener.document.getElementById("form1:textCallClass");
                                if (listControl.selectedIndex == -1) {
                                    alert ("Please select an item from the list !");
                                    return false;
                                else {
                                    openerField.value = listControl.options[listControl.selectedIndex].value;
                                    window.close();
                        </script>In the parent form, button on_click:
                            function handleCallClassPopup() {
                                window.open("CallClassLookup.jsp", "Lookup", "width=250,height=300");
                            }A better way is to use the SessionBean to store and retrieve the data.
    Catalin Florean.

  • Javascript popup link not working

    I've searched everywhere so trying to post here to see if anyone has encountered this.  I have a javascript popup link in a PDF.  Using Reader 9 and IE8.  When I click the link it asks me if I want to allow or not.  When I say allow, I then get an IE error that reads:
    Internet Explorer cannot download file  .
    Unspecified Error
    I've noticed that if I already have IE running, then the link works.  But if I don't have an IE window open I get the error.  The link looks like this:
    javascript:void(window.open('http://servername/appname/apppage.aspx?id=2','_blank','width=700,height=500,tool bar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0'))
    This link has to be a javascript window.open based on how it is generated.  The PDF is generated by SQL reporting services and the online version of the report needs to launch a new window for this application - the PDF is created directly from the online version of the report.

    Please repost in the Acrobat Scripting forum.

  • Javascript Popup causing flash problems

    Hi
    I have a popup window that shows up over flash, and when I
    close it the flash objects gets all weird. It stops drawing, and
    does not work properly. If I remove the javascript popup window
    from the DOM entirely everything is fine. Can someone point me to
    what I am doing wrong.
    I'm using the YUI libraries, and specifically the Dialog
    widget.
    Thanks
    A.J.

    i use this to open a new popup window
    on (release) { getURL("javascript:window.open('
    http://www.domain.com','Wname','width=950,height=600,top=20,left=20,toolbar=false,scrollba rs=yes,resizable=false,menubar=false,status=false');
    void(0);");

  • Javascript popup

    Hi everybody,
    I've programmed a Javascript popup (window.open ... window.document.write).
    This does not work in the EP running on Internet Explorer 6.0 SP 1 (no problems in my PDK).
    In the EP this script only open the new window, but without contents.
    all help would be appreciated ,
    Thanks in advance,
    David Reifs

    Relaxing the domain in the popup allows the main and popup windows to 'talk' to each other, but the code shown in a previous post (win1.document.write('test')) cannot be used to relax the domain since the main window cannot write to the popup until it's domain has been relaxed.
    One solution (based on the Portal's Date Picker popup) is to:
    1. Set a Javascript variable in the main window to the desired HTML
    2. Open the popup with the URL of a HTML page that relaxes the domain then writes the HTML from the variable in the main window.
    For example:
    1. Create a static HTML page called 'empty.html' to be displayed in the popup:
    <html>
    <head>
    <script language="JavaScript">
      if (window.document.domain == window.location.hostname) {
        if (document.domain.indexOf('.') != -1) {
          document.domain = document.domain.substring(document.domain.indexOf('.')+1);
      document.write(window.opener.myHtml);     
      this.focus();     
    </script>
    </head>
    <body>
    </body>
    </html>
    2. Use code like the following to create a URL to this static HTML page:
    IResource htm = request.getResource(IResource.STATIC_PAGE, "htm/empty.htm");
    String emptyUrl = htm.getResourceInformation().getURL(request);
    3. Use code like the following Javascript to open the popup, and set the HTML to be displayed in the popup:
    var myHtml = "";
    function openPopup(title, emptyUrl, theHtml, windowName) {
      myHtml = theHtml;
      var atts = 'top=0,left=0,height=200,width=200,resizable=yes,menubar=yes,scrollbars=yes,status=yes';
      var myApp = window.open(emptyUrl, windowName, atts);
      if (myApp) {
        myApp.focus();
      else {
        alert('You may have unrequested popup blocking on.');
    4. Then use code like the following to create the button that displays the popup:
    <span id='myPopupButton' class='sapBtnStd' title='Click to open popup'
    onClick="openPopup(
       'My Pop Title',
       '<%= emptyUrl %>',
       '<h1>Hello World</h1><b>It's great to be alive.</b>',
       'MyPopUp')">
      Open My Popup
    </span>
    A bit complicated when all you want is a pop up - but it works.

  • How do I stop OSX from switching to First-Plan when Javascript popup on Minimized Window appear?

    I'm running OSX Mavericks 10.9.5, Firefox 39.7.0.2
    What happens is that i'm using an automated script with Selenium for automatic-forms-filling.
    Everything is working fine, just like it does on LinuxMint, but the problem is that when i bring another window to first plan (of any program at all) the "minimized" window running the automatic forms gets "maximized" i.e. brought to first plan when a javascript popup appears, thus not enabling me to run that window on background.
    Is there a way to run Firefox on OSX in such a way that Windows don't get switched to first plan when PopUps appear? It doesn't seem to have this behavior on LinuxMint.

    Hello!
    Maybe this links can help you:
    https://support.mozilla.org/pt-BR/kb/solucoes-de-problemas-com-plugins-como-flash-java
    https://support.mozilla.org/pt-BR/kb/como-desativar-applets-java
    This link scan your plug-in's and search for updates:
    https://www.mozilla.org/pt-BR/plugincheck/

  • Javascript popup in dynamic report

    Hello,
    I want to be able to use Javascript popup window from a dynamic report in Apex 4.0. Is there anything built-in to help me out? Or should I use my own javascript function in the header and call it?
    My idea would be that one column would have a icon with a link that calls a javascript function to popup a window.
    Any suggestions?
    Thanks all
    Btw, what is the markup for scripts, again?

    Try:
    javascript:popupUR

  • Retaining BSP page chages with Javascript popup window

    Hi Experts
    We are using a customized BSP application for our performance
    Management. To propmt users for saving their appraisal documents
    before a session timeout,we used an Javascript popup message(alert
    window). This window doesnot affect the BSP page in any way.(code
    provided below)
    Per changed requirement,we now have to retain the BSP page values once
    the user clicks 'OK' on this javascript popup window. I used the page
    refresh option with script. But this is erasing the earlier values.
    Can anyone tell me,how i can holdback the BSP page values after the
    user action on the popup window. If a piece of code is provided,it
    would be greatly appreciated.
    Thanks in Advance
    Alan
    Existing code for timeout popup
    javascript code
    function remind (){
    var msg = "Your Session will expire in the next 10 minutes. Please
    save your data.";
    alert the msg(using alert box)
    <%
    data: v_rem type string.
    DATA: port TYPE STRING.
    data: l_timer type string.
    port = request->get_header_field(
    if_http_header_fields_sap=>server_port ).
    DATA: services TYPE TABLE OF ICM_SINFO.
    CALL FUNCTION 'ICM_GET_INFO' TABLES SERVLIST = services.
    FIELD-SYMBOLS: <service> TYPE ICM_SINFO.
    DATA: wait TYPE STRING.
    READ TABLE services ASSIGNING <service> WITH KEY service = port.
    wait = <service>-KEEPALIVE - 10.
    CONDENSE wait.
    ****Start Changes: Timeout
    **l_timer = wait * 60 * 1000.
    l_timer = 1 * 60 * 1000.
    ****End Changes
    concatenate `'remind(` wait `)',` l_timer into v_rem.
    %>
    <htmlb:content design = "DESIGN2002+DESIGN2003"
    sessionManagement = "TRUE"
    controlRendering = "SAP">
    <htmlb:page title = "<%= otr(ZPMDGL/TITLE_DOCUMENT) %>"
    disableBackspaceNavigation = "TRUE" onLoad pass v_rem as a parameter to setTimeout

    duplicate post locked.
    Raja

  • Retaining BSP Page values with Javascript popup window

    Hi Experts
    We are using a customized BSP application for our performance
    Management. To propmt users for saving their appraisal documents
    before a session timeout,we used an Javascript popup message(alert
    window). This window doesnot affect the BSP page in any way.(code
    provided below)
    Per changed requirement,we now have to retain the BSP page values once
    the user clicks 'OK' on this javascript popup window. I used the page
    refresh option with script. But this is erasing the earlier values.
    Can anyone tell me,how i can holdback the BSP page values after the
    user action on the popup window. If a piece of code is provided,it
    would be greatly appreciated.
    Thanks in Advance
    Alan
    Existing code for timeout popup
    javascript code
    function remind (){
    var msg = "Your Session will expire in the next 10 minutes. Please
    save your data.";
    alert the msg(using alert box)
    <%
    data: v_rem type string.
    DATA: port TYPE STRING.
    data: l_timer type string.
    port = request->get_header_field(
    if_http_header_fields_sap=>server_port ).
    DATA: services TYPE TABLE OF ICM_SINFO.
    CALL FUNCTION 'ICM_GET_INFO' TABLES SERVLIST = services.
    FIELD-SYMBOLS: <service> TYPE ICM_SINFO.
    DATA: wait TYPE STRING.
    READ TABLE services ASSIGNING <service> WITH KEY service = port.
    wait = <service>-KEEPALIVE - 10.
    CONDENSE wait.
    ****Start Changes: Timeout
    **l_timer = wait * 60 * 1000.
    l_timer = 1 * 60 * 1000.
    ****End Changes
    concatenate `'remind(` wait `)',` l_timer into v_rem.
    %>
    <htmlb:content design            = "DESIGN2002+DESIGN2003"
                   sessionManagement = "TRUE"
                   controlRendering = "SAP">
    <htmlb:page title = "<%= otr(ZPMDGL/TITLE_DOCUMENT) %>"
                  disableBackspaceNavigation = "TRUE" onLoad pass v_rem as a  parameter to setTimeout
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:32 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:34 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:35 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:36 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:36 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:37 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:38 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:39 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:40 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:40 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:44 AM
    Edited by: Bala Subramanyam Duvvuri on Apr 8, 2008 6:46 AM

    If the BSP page is refrehed, all the user input it sent back to the server. If you don't do anything special, the input is lost and not sent back to the client again. You can go to your controller class' DO_HANDLE_DATA to read the user input, and store it in the controller class to send it back to the client.
    If you don't use controller classes, the equivalent would be onInputProcessing. A more advanced alternative would be to use MVC model binding, which would do most of the stuff automatically for you.

  • JavaScript popup code not working 4 me

    Hi,
    I am to trying to open pop windows in Flash through
    JavaScript. Now I found a number of ways to do this on the forums
    but none is working for me. When I click the swf button containing
    the pop code (embedded in html), nothing happens. I do not have pop
    windows blocked, and when I click the button in stand alone swf
    file (i.e. not embedded in html), I receive the following error
    message:
    Macromedia flash player has stopped a potentially dangerous
    operation. The following application on your computer or network
    <name of file>
    is trying to communicate with this internet-enabled location
    <unknown>
    To let this application communicate with the internet, click
    settings.
    /********** FIRST CODE ****************/
    The first was from kirupa.com. The code on the button is:
    on (release) {
    //customize the window that gets opened
    // 0 equals NO.
    // 1 equals YES.
    address = "
    http://www.google.com";
    target_winName = "google";
    width = 400;
    height = 300;
    toolbar = 0;
    location = 0;
    directories = 0;
    status = 0;
    menubar = 0;
    scrollbars = 1;
    resizable = 0;
    //sends data back to the function
    _root.openWinCentre(address, target_winName, width, height,
    toolbar, location, directories, status, menubar, scrollbars,
    resizable);
    The code on the root timeline is:
    _root.openWinCentre = function (url, winName, w, h, toolbar,
    location, directories, status, menubar, scrollbars, resizable) {
    getURL ("javascript:var myWin; if(!myWin ||
    myWin.closed){myWin = window.open('" + url + "','" + winName +
    "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar +
    ",location=" + location + ",directories=" + directories +
    ",status=" + status + ",menubar=" + menubar + ",scrollbars=" +
    scrollbars + ",resizable=" + resizable +
    ",top='+((screen.height/2)-(" + h/2 +
    "))+',left='+((screen.width/2)-(" + w/2 + "))+'" +
    "')}else{myWin.focus();};void(0);");
    /********** SECOND CODE **************/
    The code on the button is:
    btn.onRelease = function()
    getURL("javascript:window.open('
    http://www.google.com','newWin','width=300,height=200,left=0,top=0,toolbar=No,location=No, scrollbars=No,status=No,resizable=No,fullscreen=No')");
    Nothing on the root timeline.
    Anyone got a clue what’s happening? I was wondering
    whether there was problem with settings on my computer? Also, I do
    not want to embed JavaScript code in the HTML file.
    Many thanks,
    Essaeyu

    What I want to achieve is something very basic, done n times
    on the web, but its strange that its not working on my machine. I
    am getting popups through getURL function and on HTML links but not
    from swf/javascript links. This includes linking both to the
    webpages on the internet e.g. google and pages on my machine. I
    have tried three different ways of achieving this and am attaching
    thecode. Can someone look at the files please and see what’s
    wrong/spot something I overlooked? I will be extremely grateful.
    Here is the code in the fla's (and html in one case). No
    facility to attach files else i would have done so. Though the
    flas/swf/html files can be downloaded from:
    http://www.actionscript.org/forums/showthread.php3?p=623694#post623694.
    These are three zip files posted by user essaeyu today.
    Many thanks,
    Essaeyu
    /*************** Code in the first file ****************/
    The code on the button is:
    btn.onRelease = function()
    getURL("javascript:window.open('
    http://www.google.com','newWin','width=300,height=200,lef
    t=0,top=0,toolbar=No,location=No,scrollbars=No,sta
    tus=No,resizable=No,fullscreen=No')");
    Nothing on the root timeline.
    /*************** Code in the second file ****************/
    /*Taken from kirupa.com*/
    The code on the button is:
    on (release) {
    //customize the window that gets opened
    // 0 equals NO.
    // 1 equals YES.
    address = "
    http://www.google.com";
    target_winName = "google";
    width = 400;
    height = 300;
    toolbar = 0;
    location = 0;
    directories = 0;
    status = 0;
    menubar = 0;
    scrollbars = 1;
    resizable = 0;
    //sends data back to the function
    _root.openWinCentre(address, target_winName, width, height,
    toolbar, location, directories, status, menubar, scrollbars,
    resizable);
    The code on the root timeline is:
    _root.openWinCentre = function (url, winName, w, h, toolbar,
    location, directories, status, menubar, scrollbars, resizable) {
    getURL ("javascript:var myWin; if(!myWin ||
    myWin.closed){myWin = window.open('" + url + "','" + winName +
    "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar +
    ",location=" + location + ",directories=" + directories +
    ",status=" + status + ",menubar=" + menubar + ",scrollbars=" +
    scrollbars + ",resizable=" + resizable +
    ",top='+((screen.height/2)-(" + h/2 +
    "))+',left='+((screen.width/2)-(" + w/2 + "))+'" +
    "')}else{myWin.focus();};void(0);");
    /*************** Code in the third file ****************/
    Code in the html header
    <script language="JavaScript">
    <!--
    function spawnWindow(URL , u_name)
    var my_vin;
    my_vin = window.open(URL , u_name);
    //-->
    </script>
    Script in flash root timeline:
    btn.onRelease = function()
    getURL ("javascript:spawnWindow('
    http://www.google.com','newwin')");
    }

  • Javascript popups in page flows?

    Is there a way to make a popup window in a page flow? I want to have a
    link which will use Javascript to pop up a new window, but I don't like
    having to hard code the link to that window instead of using the page
    flow functionality.
    What I've been able to get working is:
    <script language="Javascript">
    function createNew() {
    window.open('/MyPortalWeb/mydir/create_item/create_itemController.jpf','newItemWin','height=500,width=500,scrollbars');
    </script>
    Create New Item
    Is there a way to do this with netui tags, so that I can use actions to
    direct the page flow, and still get the ability to open the link in a
    new window?
    Joe Robins                    Tel: 212-918-5057
    Thaumaturgix, Inc.               Fax: 212-918-5001
    19 W. 44th St., Suite 810          Email: [email protected]
    New York, NY 10036               http://www.tgix.com
    thau'ma-tur-gy, n. the working of miracles.

    Tanya,
    I read this hread from you. I had posted a similar issue yesterday(look for posts
    by Jack). Is ther a way to work with page flows and popup's until sp2 comes out
    in december?
    Thanks
    "tanya" <[email protected]> wrote:
    >
    Apologies, that last message was not complete...
    You can try using:
    <netui:anchor href="/myNestedFlow/Controller.jfp" anchor="A"/>
    But, one thing to note for GA, there is a limitation where you cannot
    call 2 (or
    more) pop ups and expect to maintain 2 pageflow stacks. Only the current
    pageflow
    and it's nested stack are kept in the session. Having a 2nd pageflow
    will stomp
    on this first one.
    For SP2, out sometime in dec, there will be a workaround for this:
    <netui:anchor href="../a/FlowA.jpf" target="_a">
    <netui:parameter name="jpfScopeID" value="scopeA"/>
    Page Flow A (scope "scopeA")
    </netui:anchor>
    <br>
    <netui:anchor href="../b/FlowB.jpf" target="_b">
    <netui:parameter name="jpfScopeID" value="scopeB"/>
    Page Flow B (scope "scopeB")
    </netui:anchor>
    Each scope has its own idea of the current page flow and the current
    stack
    of nested page flows.
    -Tanya
    "tanya" <[email protected]> wrote:
    How about
    Popups and pageflow don't work together in 8.1GA because only the current
    pageflow
    and it's stack (of nested pageflows) is maintained in the session. 8.1sp2
    (out
    sometime in dec) will be able to handle this. It will look something
    like this:
    <frameset cols="50%,50%">
    <frame src="../a/FlowA.jpf?jpfScopeID=scopeA" name="frameA">
    <frame src="../b/FlowB.jpf?jpfScopeID=scopeB" name="frameB">
    </frameset>
    Each scope has its own idea of the current page flow and the current
    stack
    of nested page flows.
    Joe Robins <[email protected]> wrote:
    Is there a way to make a popup window in a page flow? I want to have
    a
    link which will use Javascript to pop up a new window, but I don't
    like
    having to hard code the link to that window instead of using the page
    flow functionality.
    What I've been able to get working is:
    <script language="Javascript">
    function createNew() {
    window.open('/MyPortalWeb/mydir/create_item/create_itemController.jpf','newItemWin','height=500,width=500,scrollbars');
    </script>
    Create New Item
    Is there a way to do this with netui tags, so that I can use actions
    to
    direct the page flow, and still get the ability to open the link ina
    new window?
    Joe Robins                    Tel: 212-918-5057
    Thaumaturgix, Inc.               Fax: 212-918-5001
    19 W. 44th St., Suite 810          Email: [email protected]
    New York, NY 10036               http://www.tgix.com
    thau'ma-tur-gy, n. the working of miracles.

  • Javascript - popup window - diplay an jpg only.

    How do take the Javascript belowr to display popup window to display an jpg only.
    The below javascript was design to work wit a URL - Would like to change it to return a ipg image only..
    ========================
    script type="text/javascript">
    function myPopupURL(url)
    w = open(url,"winLov","Scrollbars=1,left=0,top=0,resizable=1,left=0,top=0,width=500,height=200");
    if (w.opener == null) w.opener = self;
    w.focus();
    </script>
    OTN
    Message was edited by:
    Motor_City

    I'm not so hot on JavaScript myself, maybe you want to take that question into the Oracle Application Express (APEX) forum.
    C.

  • Javascript popup errors?

    On opening Firefox get popup " Javascript Application - TypeError:Components.classes(componentid) is undefined. OK opens. Closing Firefox, JavaScript Error popup - "Reference Error: m_caFxT Bobj is not defined." Safe mode has no effect

    ok....
    The Javascript error is "object expected on line 64" when the image is clicked to open up the popup window. All popup lovs cause the same error(different line tho!).
    function genList0_p_t16_18()
    w = open("wwv_flow_utilities.gen_popup_list" +
    "?p_filter=" +
    "&p_name=" + escape('p_t16') + <-- line 64
    "&p_element_index=" + escape('18') +
    "&p_form_index=" + escape('0') +
    "&p_max_elements=" + escape('') +
    "&p_escape_html=" + escape('') +
    "&p_ok_to_query=" + escape('YES') +
    "&p_flow_id=" + escape('4000') +
    "&p_page_id=" + escape('4311') +
    "&p_session_id=" + escape('7110732703445977148') +
    "&p_eval_value=" + escape('') +
    "&p_translation=" + escape('N') +
    "&p_lov=" + filter_escape('select distinct substr(CATTRIBUTES,1,50) d, cattributes r from wwv_flow_step_items where flow_id = :fb_flow_id and CATTRIBUTES is not null order by 1') +
    "&p_lov_checksum=E02F297B864FB8F5880D6BF472E9703A",
    "winLovList",
    "Scrollbars=1,resizable=1,width=400,height=500");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    Thanks!

Maybe you are looking for

  • Firefox goes Spinning Beachball all of the time under Mac OS X 10.7.5. I have to force quit it!

    It does this all of time. I'm using Chrome right now & it doesn't! I have to stop using the browser that I have used for many years & now I'm using Chrome. Gosh, no issue like that!

  • Using RadioButton together With BasicArrowButton

    Hi there I've created an interface using a radiobuttons and basicarrowbuttons. I have 3 radiobuttons in a radio group. Then I also have a text area displaying some value. What I would like to do is, when I click on the first radiobutton, and then cli

  • Save all sheets as a single PDF in Numbers?

    Ever since I upgraded to Mountain Lion I seem to have lost the ability to print all my sheets (in Numbers).  Every time I select "All" in the range, it only save the current page as a PDF.  It used to save all as a mult-page PDF.  Any help would be g

  • Screen saver of pc stocks game

    i have a game that works only with a carpet (no keyboard or mouse use) beacuse of that in the middle the screen saver starts to work! is there a way other then disabeling the screen saver using the body api,so that i wont get screen saver i nthe midd

  • BT Sport Online

    I have browsed the ridiculously complicated BT Sport website, flicked through these forums and contacted BT Sport and BT Care on Twitter (who just redirect me to the useless BT Sport website) Can somebody please help me with this simple question: I a