Auto resize a pop up window

Hi,
I have a pop up window that appears when you click on a link. The problem that i am having is that when the user does not select anything from a drop down list or inserts any comments within the pop up window, the pop window displays error messages(validation checks) which hides most of the buttons and information within the pop up.
Is there any way where the pop up can resize itself to a postion when those error messages appear so that all the information is visible without the user having to re size it themselves.
any help will be appreciated
Monica

If you are not passing any values through the URL you could implenet Popup2() like this...
1. Make a display as text item and remove the label.
2. In the pre element text put
<a .href="javascript:popUp2('f?p=&APP_ID.:38:&SESSION.::NO:::', 600, 800);">Click Here</a>remove the . infront of href (the forums will filter out the link if i don't put it there)
This is a link to page 38 in your current app using your current session.
When you run your app you should see a link that says Click Here and it should create a popup window to page 38 of your application.

Similar Messages

  • Firefox hangs and will not allow me to access other programs running when I resize a pop up window, move a pop up window, accidentally right click flash content.

    Firefox hangs and will not allow me to access other programs running when I resize a pop up window, move a pop up window, accidentally right click flash content.
    == This happened ==
    A few times a week
    == Not sure when it statrted

    Hi.
    When this happens, please press CTRL+SHIFT+ESC and see how much RAM and CPU Firefox is using. If they're sky high, then... Well, that kind of issues are, unfortunately, more common and the we'd like. Thankfully, 99% of the cases are very easy to solve. However, you do need to diagnose what your exact problem is. Do this:
    #run Firefox in safe-mode to disable all extensions and plugins. If this fixes your issues, be them with RAM or CPU usage, then you know it's a problem with plugins or extensions. Proceed to number 2. If safe-mode doesn't fix the issues, then read bellow, after this list;
    #update all extensions and plugins in your Firefox. If this doesn't solve the issues, proceed to the following number;
    #disable all extensions and plugins in your Firefox (not running safe-mode). Being certain that, as in safe-mode, the problems you're having have gone away, enable one plugin at a time. You should be certain that you WANT that plugin to be enabled, so keep your overall number of plugins as low as possible. When you encounter the problems, you know you've found a problematic plugin, so disable it for good. Keep enabling all plugins (except problematic ones) until you've gone through them all.
    #enable one extension at a time. Again, be certain that you WANT that extension to be enabled, so keep your overall number of extensions as low as possible. When you encounter the problems, you know you've found a problematic extension, so disable it for good. Keep enabling all your extensions (except problematic ones) until you've gone through them all;
    #you're done! You've fixed your problems with problematic add-ons.
    Ok, if disabling all extensions and plugins through safe-mode didn't work to bring Firefox's CPU and RAM usage to good levels, then you have different issue. The most likely scenario is that you have a third party software running on your computer that is messing with Firefox. Do as follows:
    #do a virus/malware check on your computer. If this doesn't fix it, proceed;
    #disable all software running in the background that you don't want to have running in the background (in windows, this is done by pressing WINDOWS+R in your keyboard, typing "msconfig" (without the commas) and pressing enter. Now, under the "Startup" tab, you can uncheck the software you don't want, and reboot your system for changes to take effect. If you're unsure of what software you want running, ask someone with more experience). If this doesn't fix you issues with Firefox, proceed;
    #check your firewall/antivirus/security suite for enabled functions/features that you don't want and/or may be conflicting with Firefox. You'll find that these features are most likely tied to Internet Security features, such as link scanners or URL checkers and the like. If you're not sure they are conflicting with Firefox, simply try to disable to see whether or not that's true. As long as you don't browse the web with your antivirus completely off and your firewall completely turned off, there should be no problems. If this doesn't solve the issues, proceed to the following number;
    #check your operating system security options, mainly advanced options that are not configured by default. While it's very unlikely that this may be the cause of the problem (after all, it's the last item on the list), it's remotely possible. If this doesn't do it, I'm out of ideas. Except make sure you've followed my instructions correctly.

  • POP UP window resize in web dynpro ABAP

    Hi All,
    I have created a pop up window by using method create_window of interface  if_wd_window . The pop up window is Resizable by default . If user Resizes the pop up window , Screen is uncooperative . As a solution we decided not to allow Resizable option for pop up window but by default the pop up window is resizable . Please let me know how to disable this default  Resizable option .
    Our SAP system is of version 700 ( SAP_BASIS 700 ) . I checked other system where SAP_BASIS version is 701 , here the pop up window is not resizable by default . Is there any way ( OSS note ) to disable the default Resize option in SAP_BASIS 700 ?
    I tried to adjust the pop up window size by using SET_WINDOW_SIZE but it is not  working in SAP_BASIS 700 .
    Please let me know if there is any solution for this .
    Thanks in advance ,
    Kiran.

    Hi,
    I am not sure if you would be able to solve this with some note (i doubt if it exists of 7.00 ). Try to see once again if_wd_window has any method or attribute which would help you otherwise (I think you have done that already ).
    Why not upgrade to 7.01 ?

  • Resizing pop-up window in webdynpro abap

    Hi,
    I am a newbie to abap webdynpro.I would like to know how to resize
    a pop-up window.
    I have used the method 'SET_WINDOW_POSITION'
    from interface 'IF_WD_WINDOW'
    Below seen is my coding, but this is not working. Can anybody  clarify!
    L_FINAL_WINDOW->SET_WINDOW_POSITION(
    LEFT = 200
    TOP = 200
    *position =  ).
    L_FINAL_WINDOW->SET_WINDOW_SIZE(
    WIDTH = '3000px'
    HEIGHT = '3000px' ).
    Regards,
    Sathish kumar

    L_FINAL_WINDOW->SET_WINDOW_POSITION(
    LEFT = 200
    TOP = 200
    L_FINAL_WINDOW->SET_WINDOW_SIZE(
    WIDTH = '30em'
    HEIGHT = '10em' ).
    L_FINAL_WINDOW->open( ).
    also you can use pixels.
    don't use 3000px, use less.
    L_FINAL_WINDOW->set_window_size( width = '300px' height = '' ).

  • Auto-resizing pop-up window

    What I'm doing is making a calendar and when you click on a
    day a small pop-up window of that day's activities pops up. Well
    not all the days have the same amount of activities, so is it
    possible to have pop-up windows that auto-resize according to how
    much text is in the pop-up window?

    i dont know of any extensions that provide this....
    however you could do something based on # characters. create
    some calculation for the height of the window based on #
    characters.

  • Pop up window resize disabled not working in fire fox (Linux)

    Hi all I am using Dreamweaver 8, with behavior I made a pop
    up window and disabled window resizing. It worked nicely in my
    windows XP system (I checked it in IE and Fire fox). But it is not
    working in Linux machine having same version of Fire fox
    browser(but worked correctly in IE on the same machine). In Linux
    machine we can simply resize the window.
    Does anybody give a solution to fix this problem?

    Post a link to the page, please.
    Why disable window resizing? What about those whose screen
    won't display
    the size you have picked?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "thozhayan" <[email protected]> wrote in
    message
    news:egpsde$s3r$[email protected]..
    > Hi all I am using Dreamweaver 8, with behavior I made a
    pop up window and
    > disabled window resizing. It worked nicely in my windows
    XP system (I
    > checked
    > it in IE and Fire fox). But it is not working in Linux
    machine having same
    > version of Fire fox browser(but worked correctly in IE
    on the same
    > machine). In
    > Linux machine we can simply resize the window.
    >
    > Does anybody give a solution to fix this problem?
    >
    >

  • Resizing Pop-Up Window

    Hi All,
    This is a question posted before and havent got an answer, but I'm trying my luck again, bringing it to everyones attention.
    I have a WD component used to several other component to show Error,Warning, Info messages on a Pop up window.
    The client wants the size of the window to be appropriate to the length of the message.
    I tried these code, but there were no difference.
    data: lo_window_manager type ref to if_wd_window_manager,
            lo_api_component  type ref to if_wd_component,
            lo_window         type ref to if_wd_window.
      lo_api_component  = wd_this->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window
        = lo_window_manager->create_window( window_name          = 'POPUP_WINDOW'
                                            message_display_mode = if_wd_window=>co_msg_display_mode_none
                                            button_kind          = if_wd_window=>co_buttons_ok
                                            message_type         = if_wd_window=>co_msg_type_none
                                            default_button       = if_wd_window=>co_button_ok ).
      lo_window->set_window_size( width  = '120' height = '120' ).
    If someone has manage to get this working please advice.
    Thank you.
    Regards,
    Vinod

    hi ,
    POP UP WINDOW can not be re sized
    also refer the related SAP NOTE :  1003826  in this regard
    'set_window_size'  is not effective
    If u change the height and width of View which is embedded in the pop up window then it can help u in sm way .
    please go thru the Thomas' reply in this thread :
    Re: Confirm Popup in Web Dynpro, window size
    You can not set the size directly on the popup. I know that there are attributes and methods for this; but they are ignored in the HTML rendering. They are for future usage/smart client rendering. For now in the HTML rendering you can set the size by inner content of the popup. The popup automatically resizes to its inner content. If you are reusing one of the standard SAP-Provided confirmation popups, then you really can't control the size.
    I hope this information wud suffice ur query .
    regards,
    amit

  • How to create an Auto Pop Up Window on homepage

    Hi, I am trying to create a pop up window in dreamweaver that loads when a first time visitor is on our homepage asking them to join our club. I would like to add a couple links in the image allowing them to either sign up or click no thanks. Can you help me out or direct me to a good tutorial? Thanks!

    I have not tried the "alert-box technique" yet.
    I have found code that will only display for first time visitors. How would I add an image to the below code with a link to a website?
    newwin=open("yourpage.htm", "dispwin",
    "width=350,height=350,scrollbars=no,menubar=no");

  • Passing values from javascript in pop up window to parent jsp

    Hi
    I am trying to pass values from a pop up window to the main window that popped this child window , with the idea to have the parent window refresh itself with value from pop up window.But the values are not going through.I do a request on the hidden variable but when the parent
    jsp refreshes , the variable is still null...
    The following is the code i have .
    Parent jsp:a.jsp
    <form name='summary'>
    <input type=hidden name=customerid value="">
    <input type="button" class="textButton" name="action" value="customerlist" onClick="javascript:openWin('b.jsp','800','350')">
    <script>
    function openWin(loc, w, h) {
    var newWin = window.openloc,"HTML",'dependent=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + w + ',height=' + h);
    newWin.window.focus();
    </SCRIPT>
    <%
    String optionVal = request.getParameter("customerid");%>
    var user = "<%= optionVal%>";
    </form>
    child jsp- b.jsp (pop up window)
    <script>
    function closer(){
    var val = document.formname.id.selected.value;
    window.opener.document.summary.customerid.value = val;
    window.opener.location.reload();
    </script>
    <form name = formname>
    <input type="text" name="id" value = ''>
    <input type="button" class="textButton" value="select"
    onClick="closer();window.close();">
    </form>
    Any ideas on what i am missing
    Thanks
    Arn

    use window.opener.document.forms[0].filedname.value = 'value u need to set'

  • Pop up window on Logon Screen

    Hi All,
    I would like to create a pop up window on Logon Screen. But my page is not found. Am I missing something?
    [A class="link_sub_menu" href="#" onClick="javascript:window.open(<b>'forgotmypassword.jsp,</b> '_blank', 'width=350,height=200,location=no,resizable=no');"]Forgot my password
    [/A]
    Tks,
    Alcides Flach
    Message was edited by:
            Alcides Flach

    hi,
    try this.
    data : WF_RES type c.
    CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
                EXPORTING
                 DEFAULTOPTION        = 'N'
              TEXTLINE1            = 'Do you want to delete the record?'
    *           TEXTLINE2            = ' '
                  TITEL                = 'Delete Zone'
    *           START_COLUMN         = 25
    *           START_ROW            = 6
    *           CANCEL_DISPLAY       = 'X'
               IMPORTING
                 ANSWER               = WF_RES.
    if wf_res = 'J'.
    user selected 'YES'.
    else.
    user selected 'NO'.
    endif.
    Rgds
    anver

  • How to make a pop up window resizeable in ONLY ONE direction

    hi i have to open a pop up window whose horizontal resizeable option is to be disabled and ONLY the vertical resizeable option should be available. i browsed for a code but its not working properly.
    ====================================
    <html>
    <head>
    <title>fix horizontal</title>
    <script language="JavaScript">
    var fixedWidth;
    function getH() {
    if (document.body && document.body.clientWidth)
    fixedWidth = document.body.clientWidth;
    else if (window.outerWidth)
    fixedWidth = window.outerWidth;
    function resize() {
    if (document.body && document.body.clientWidth)
    document.body.clientWidth = fixedWidth;
    else if (window.outerWidth)
    window.outerWidth = fixedWidth;
    </script>
    </head>
    <body onLoad="getH()" onResize="resize()">
    ...<Body Contents>
    </body>
    </html>
    ============================================
    The problem with this code is that the
    document.body.clientWidth = fixedWidth;
    line shows an error saying that "Object doesn't support this action"
    can anyone help me out with this?

    Just so nobody else misses it...
        | | __ ___   ____ _  | |_____
    _  | |/ _` \ \ / / _` | | |_____|
    | |_| | (_| |\ V / (_| | |_|_____|
    \___/ \__,_| \_/ \__,_| (_)
        | | __ ___   ____ _ ___  ___ _ __(_)_ __ | |_
    _  | |/ _` \ \ / / _` / __|/ __| '__| | '_ \| __|
    | |_| | (_| |\ V / (_| \__ \ (__| |  | | |_) | |_
    \___/ \__,_| \_/ \__,_|___/\___|_|  |_| .__/ \__|
                                           |_|wishful thinking, I suppose... (no offense to the OP, but we get this a lot).

  • A pop-up window says I have mutiple tabs but I can't switch between them

    Was making payment in popup window. Asked to print confirmation and pop-up window went blank (did not print). Cannot recover payment confirmation screen. When I try to close the pop-up window it says there are several tabs. How do I switch between tabs in the pop-up window? There are no menus nor drop-downs.

    I want to make sure you're using the auto-update system, because that's the safest most reliable way to go, and it shouldn't appear in the download manager, so I lets make sure you're doing it right. <br/>
    This is a screencast I made a couple of years ago. It refers to 3.5 and 3.6, but the steps are still the same: http://ilias.ca/screencasts/ISUHD45.mov
    If that doesn't work, then maybe your Snow Leopard account doesn't have permission to update applications?

  • Photo Pop-Up Window Help

    I have a kinda particular question about the way my photos are shown on my site. I am creating a site as an online art gallery and I want each picture to pop-up in it's own window. I have seen tdizzle's question and will try that, but my needs go a little further. Once the new window is open with a larger view of the picture, I want users to be able to click other thumbnails below so they may see other views of the art. The effect I am going for is something like what is here: http://yessy.com/art/paintings/?view=751320, but in a pop-up window without all of the sidebars, etc.
    Please help, this is super important to me and I greatly appreciate any suggestions.

    franklinsuperfly wrote:
    Once the new window is open with a larger view of the picture, I want users to be able to click other thumbnails below so they may see other views of the art.
    Despite the following suggestion being a "slideshow", it appears to fulfill some of your criteria and also provides a few extra features. Before clicking on the hyperlinked thumbnail below, note that mouse-over of the slideshow page will display many options — including a full-screen button at lower right. The viewer can pause the slideshow (button at lower left) and then click on the thumbnails in any order...
            < +Click to open slideshow in new window+
    It's also possible to embed the slideshow into your web page via iWeb's +HTML Snippet+ window — see this article: _Flickr's slideshows get cinematic, viral_. Notice that the sample embedded slideshow there, once playing, also shows the full-screen button at lower right. And clicking it doesn't take you out from the current window/tab — it simply goes into full-screen mode (and hitting the Escape key exits that mode).
    By the way, Flickr's maximum pixel size is 1024. You can submit larger, but they'll be compressed and resized by Flickr. See this FAQ.

  • Allowed Pop Up Windows are Blank

    i've only recently encountered this problem in the past month. the sites i know are affected are fanfiction.net and scribophile.com.
    fanfiction.net is using a javascript;; for editing a link in one's profile.
    scribophile.com is using a php to send a private message: http://www.scribophile.com/dashboard/popups/addprivatemessage.php?userid=17380
    in both instances, a new-fangled looking white window pops up. (the fanfiction.net one even resizes itself and has a fancy top border). they are blank, utterly without content. they have a close X in the top corner that does close them. the php one is even blank when i choose to open it in a new tab like a regular page.
    i have adblock plus and noscript. although i have tried turning them off for these particular web sites, the pop up windows still come out blank.
    i have tried these solutions:
    1: disable adblock plus and tell noscript to allow everything on the page(s). this does not work.
    2: run firefox in safe mode. the popup windows then DO work.
    3: i have gone to the firefox options and created exceptions to pop-up blocking for both sites. no joy.
    4: i have gone into the add-on manager and disabled both adblock plus and noscript (but not other add-ons). no joy.
    5: i have, one at a time, disabled every other add-on i have. no joy.
    it appears to me that it is not actually the add-ons that are causing this behavior. although the windows work in firefox in safe mode, the same cannot be said of manually turning off the add-ons in "unsafe" mode.
    is anything else going on in firefox that might be causing this behavior? i don't think it's the pop-up blocker, since the pop-ups DO appear... but no content inside. ugh.

    # 1: disable adblock plus and tell noscript to allow everything on the page(s). this does not work.
    # 2: run firefox in safe mode. the popup windows then DO work.
    # 3: i have gone to the firefox options and created exceptions to pop-up blocking for both sites. no joy.
    # 4: i have gone into the add-on manager and disabled both adblock plus and noscript (but not other add-ons). no joy.
    # 5: i have, one at a time, disabled every other add-on i have. no joy.
    (who killed my neat formatting?)

  • WEB.Show_Document(POP Up Window In 11g forms)

    Is it possible to open a Http inside the POP Up Window In 11g forms.
    This is what i tried to use:
    Created a Dummy Window,dummy Canvas and by clicking the push button i gave this message:
    web.show_document('http://www.google.com','Html_Window');
    WEB.Show_Document will open only in seperated window but i need to open in the Pop Window is it possible please help on this.

    As Denis mentioned, you cannot show html content natively in a form. You would need a bean to do that. However, if you are just trying to create something that looks like a standard browser pop-up window, there are several ways to do it. Be aware however, that in some cases, the following example will not work if you are using an older JRE. The latest JRE is 1.6.0_29 and runs the following code correctly assume the browser is not set to block pop-ups.
    EXAMPLE 1:
    web.show_document('javascript:window.open ("http://www.oracle.com","myPop","location=no,toolbar=no,menubar=no,status=no,resizable=yes,height=600,width=600");self.close();');
    EXAMPLE 2:
    Declare
         inJS      varchar2(32767);
    Begin
         -- More info about window.open here:
         -- http://www.w3schools.com/jsref/met_win_open.asp
         inJS := 'new_win=window.open("http://www.oracle.com","new_win1","menubar=0,location=0,toolbar=0,status=0,scrollbars=1,resizable=1,width=500,height=600");';
         web.javascript_eval_expr (inJS);
    End;

Maybe you are looking for

  • Data in payload out of sequence

    Hi, I have 10 fields between source and target but only 7 are mapped so other fields are optional and will need to be mapped later when necessary. Right now, the fields in the payloads are getting populated out of sequence. Meaning, if first field is

  • Odd number of pages

    While creating a wire bound book, I've ended up with an odd number pages and no back cover (the last page is not labled back cover) nor is their a blank inside back cover. Have no idea how this happened. Changing themes or book styles doesn't change

  • How do I copy someone else's library?

    Thanks!

  • Why did firefox change yahoo home page. Now different from IE

    For some reason the Yahoo home page which I always use has been changed on Firefox. On IE it is the good old home page that I not only like but was used to. I prefer Firefox as my browser but would like the regular Yahoo home page back. Any ideas?

  • How can i block someone on FaceTime?

    how can i block someone on FaceTime?