Controlling popup window size

Is there a way to influence the size of popup windows? I am
developing help that will be displayed in a narrow panel, and
popups get to be ridiculously narrow. It seems that the autosizing
algorithm prioritizes tall over wide, so that a pupup topic that
fits in the help display without scrollbars doesn't use as much
width as it could. The width is extended as a last resort if the
amount of text would otherwise demand a scrollbar. I would like the
popups to be only a little narrower than the main window regardless
of the text amount.

GEWB,.
Thanks. A bit of elaboration:
I make extensive use of popups to display screen shots in a
separate window so the user can browse help and go from topic to
topic without necessarily navigating in the parent application at
the same time. I also make the guide available in our DocWeb
library as a standalone guide, so the user can read it with the
parent application closed.
Sometimes the popup window contains a fair amount of text in
a subtopic that the user may need to read only once and never
summon again. He or she has the option of ignoring that popup link
on returning to the topic. It's the same principle as a Glossary
definition. The link is there, but once you read it, why bother if
you can remember it from last time?
I haven't used dropdowns much, but as I recall they appear in
the topic pane and push text down until they are dismissed. Useful,
yes, but they wouldn't accomplish my purpose for popups.
I looked through ehlpdhtm.js, which primarily serves IE. It
figures out the autosize dimensions on the fly, and performs the
dhtml effect on text, such as flying in and out, but
Firefox/Mozilla/NS don't use dhtml effects.
I can't find a place in ehlpdhtm.js where (if it's in this
file) the default popup window is sized (it's about 300 px wide by
150 px high).
BSSCDHTM.JS doesn't appear in WebHelp output. Much of it is
similar to the other js file. I have no idea how it's used. The RH
help topic on output files mentions ehlpdhtm.js, but there is no
reference to bsscdhtm.js.
Is it possible that ehlp... replaced bssc.. and bssc... never
was removed from the RH code? Or is bssc... perhaps used in
generating html help?
If it's in some dll file, I can't fiddle with it, unless you
can tell me how to edit and save a dll file without destroying its
dll file type. DHTMLFX.DLL has a lot of code that looks similar to
the two .js files, but I can't find the default size. That's why I
thought perhaps the non-ie browsers have a built-in default when
the html code doesn't specify a custom size.
I'm content with the workaround, using custom sizes for all
popup windows, unless a real developer (of which I am not one) can
help figure this out.
Thanks again.
Harvey

Similar Messages

  • Reduce Popup Window Size

    Hello Experts,
    I have one popup window, the height and width of popup window is being displayed too large.
    I am using method window set_window_size() and passing the parameter u2018Width = 20%u2019 and u2018Height = 30%' but it doesnu2019t work. How to reduce Popup Window Size?
    Could you please suggest me?
    Thanks.

    Check out this post POPUP WINDOW .
    I think the popup size will work in later SP level, instead of work on height and width of the popup specify the size of the called UI  container.
    Sergio

  • Notify popup window size

    Hi,
    Is there a way to change the Notify popup window size (especially width)?
    Sometimes I got emails where the subject is quite long, and quite important information is at the end of the subject. The default width of the popup window is not enough to show the full subject.
    Thanks in advance for any tips.

    Hi,
    Unfortunately I too can't figure out a way to do this.
    Perhaps one of the GroupWise guru's knows something that we don't ;)
    Cheers,

  • Managing Popup window size

    I am using RoboHelp 10 - I need to manage the popup window sizes so the larger popups (images of the main screens) can be displayed full size but without scroll bars.  Can anyone help?  If I choose the option for the popups where I decide on the size it makes all popups that size.  Suggestion????
    Also - how do I create lists so the are properly aligned.  bullet remains to the left like a hanging paragraph and the text remains indented properly ....

    Any ideas?
    When I change the settings for toolbar, status, etc, then the
    changes take effect, it seems though only the width and height
    don't work for some reason.
    I would be very grateful for any suggestions
    Thanks
    Lyle

  • Popup image works fine but how to control the window size

    Hello folks,
    I use
    <img title="Click to pop up large image" src="#OWNER#.view_my_file_form?p_file=#IMGID#" width="40" height="30" />
    to popup a image window. It works just fine. How can I set the popup image window size? The window is too big but the image is too samll.
    Many thanks.
    Mickey

    The popupURL function is defined as
    function popupURL(url)
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
    if (w.opener == null) w.opener = self;
    w.focus();
    If 800x600 is too big for you, write your own mypopupURL function with whatever size you want

  • Change the popup window size in the "optional label with help" template?

    G'Day Apex/javascript gurus,
    I am using Apex 4.0 where I coded an HTML table for help text in one item. Now, when an user click for help in this item then the HTML table is bigger than the size of the pop up window so the client has to re size it a bit to see it fully. To fix this, I tried to create a new "optional level with help" template where I can control the size of the pop up window and make it bigger to fit my HTML table so the client does not have to resize but I could not find any parameter in the original template:
    <label for="#CURRENT_ITEM_NAME#"><span class="t9optionalwithhelp"> "javascript:popupFieldHelp('#CURRENT_ITEM_ID#','&SESSION.')" tabindex="999" that help me to achieve that
    I am not an expert in javascript but I appreciate greatly if somebody here could help me to create a new label (with help) template where I can control the size of the popup window.
    Kind regards
    Carlos
    Edited by: creyes on Aug 1, 2011 1:22 AM

    Hello Carlos,
    You can overload the APEX javascript with your own, on the page you want it to happen. You can do that in the Page Definition - Function and Global Variable Declaration.
    Copy the below code into there and change the width and height of the popup.
    function popupFieldHelp(pItemId, pSessionId){
        // Show jQuery div based dialog if not running in screen reader mode, if not fall back to old popup
        if (!$x('pScreenReaderMode')) {
            apex.jQuery.getJSON(
            'wwv_flow_item_help.show_help?p_item_id=' + pItemId + '&p_session=' + pSessionId + '&p_output_format=JSON',
            function(pData){
              var lDialog = apex.jQuery("#apex_popup_field_help");
              if (lDialog.length===0) {
                // add a new div with the retrieved page
                lDialog = apex.jQuery('<div id="apex_popup_field_help">'+pData.helpText+'</div>');
                // open created div as a dialog
                lDialog
                  .dialog({
                    title: pData.title,
                    bgiframe: true,
                    width: 500,
                    height: 350,
                    show: 'drop',
                    hide: 'drop' });
              } else {
                // replace the existing dialog and open it again
                lDialog
                  .html(pData.helpText)
                  .dialog('option', 'title', pData.title)
                  .dialog('open');
        } else {
            popupFieldHelpClassic(pItemId, pSessionId);
        return;
    }; // popupFieldHelpHope that makes sense,
    Dimitri
    http://dgielis.blogspot.com
    http://www.apex-evangelists.com

  • How to reduce Popup Window Size?

    Hello All,
    I have one popup window, the height of popup window is being displayed too large.
    I used method IF_WD_WINDOW->WINDOW_SIZE( ), there are parameters 'Width' and 'Height' of type string, i have passed '30' and also '30%'  like formate, it didn't work.
    how to control the size of window? Could you please suggest me?

    To be honest i havent found the size parameters working, what you can do though is to RESTRUCTURE the TEXT to be displayed in the pop-up, that would allow you to controll the WIDTH of the pop-up.
    in my code sample below l_text table has 2 entries, we can further have more inserts to it to gain height.
    You can create pop-up with different text, by extending the below source.
    data :  l_cmp_api          type ref to if_wd_component,
              l_window_manager   type ref to if_wd_window_manager,
              l_popup            type ref to if_wd_window,
              l_text             type        string_table,
              l_api              type ref to if_wd_view_controller,
             RR_POPUP_WINDOW type ref to  IF_WD_WINDOW.     
      l_cmp_api        = wd_this->wd_get_api( ).
      l_window_manager = l_cmp_api->get_window_manager( ).
      insert `Records marked with RED LED contain error into table l_text.
      insert `To proceed processing with errors, select YES for this POP-UP.` into table l_text.
      rr_popup_window = l_window_manager->create_popup_to_confirm(
                    text            = l_text
                    button_kind     = if_wd_window=>co_buttons_yesnocancel
                    message_type    = if_wd_window=>co_msg_type_warning
                    window_title    = 'INFO'
                    window_position = if_wd_window=>co_center
                    ).                                          "#EC
          rr_popup_window->subscribe_to_button_event(
                   button            = if_wd_window=>co_button_yes
                   action_name       = 'TO_V_PODETAILS' "action on the view that handles click
                   action_view       = ir_view
                   is_default_button = abap_true ).
    RR_POPUP_WINDOW ->open( ).
    Greetings
    Prashant

  • Popup window size problem

    Hi,
    For some reason, the popup window link in my Flash website
    opens up a popup which doesn't behave to the window size rules I
    set.
    The website is www.caveataudiens.net , click on the 'music'
    button, and then on the Jukebox button to see as example.
    The Jukebox button has the following actionscript:
    on (release) {
    //customize the window that gets opened
    // 0 equals NO.
    // 1 equals YES.
    address = "
    http://www.caveataudiens.net/music/mp3player.html";
    target_winName = "kirupa";
    width = 400;
    height = 300;
    toolbar = 0;
    location = 0;
    directories = 0;
    status = 0;
    menubar = 0;
    scrollbars = 1;
    resizable = 0;
    //sends data back to the function
    openWinCentre(address, target_winName, width, height,
    toolbar, location, directories, status, menubar, scrollbars,
    resizable);
    and in my main actionscript layer I have:
    stopAllSounds();
    forum_btn.onRelease = function() {
    getURL("
    http://www.flaccidsacks.co.uk/phpBB2/",
    "_blank");
    music_btn.onRelease = function() {
    gotoAndStop("music");
    links_btn.onRelease = function() {
    gotoAndStop("links");
    about_btn.onRelease = function() {
    gotoAndStop("about");
    news_btn.onRelease = function() {
    gotoAndStop("news");
    Movieclip.prototype.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);");
    Can some kind soul help me figure out how to adjust the
    window size?
    Many thanks
    lyle

    Any ideas?
    When I change the settings for toolbar, status, etc, then the
    changes take effect, it seems though only the width and height
    don't work for some reason.
    I would be very grateful for any suggestions
    Thanks
    Lyle

  • Open Browser Window - Can't control Fx3 window size

    http://pacificwindshield.com/auto_windshield_replacement.html
    The Contact/Inquire button (upper right) opens a small form
    using DW's Open
    Browser Window behavior. I have set the window size to 400 X
    340. It works
    perfectly in IE6, but not in Fx3. There it opens to the
    current default Fx
    window size.
    What do I need to change to make the form open at 400 X 340
    in Fx3?
    Thanks
    Walt

    Thanks. I'll upgrade to SP3, don't know why my auto update
    didn't handle
    that already.
    I just checked and the window opens perfectly in Fx2.
    Interesting.
    Thanks again.
    Walt
    "Dooza" <[email protected]> wrote in message
    news:gb8i2k$f07$[email protected]..
    > Walt F. Schaefer wrote:
    >>
    http://pacificwindshield.com/auto_windshield_replacement.html
    >>
    >> The Contact/Inquire button (upper right) opens a
    small form using DW's
    >> Open Browser Window behavior. I have set the window
    size to 400 X 340. It
    >> works perfectly in IE6, but not in Fx3. There it
    opens to the current
    >> default Fx window size.
    >>
    >> What do I need to change to make the form open at
    400 X 340 in Fx3?
    >>
    >> Thanks
    >
    > Hi Walt, FF3 on XP/Pro SP3 does as you expect.
    >
    > Dooza

  • How can I control Lookout4 window size at startup?

    Lookout always starts with its main window maximized.Is there a way to make Lookout "remember" it's recentwindow size (like MS Excel for example).Kind Regards,Sergei ModebadzeTOMA Group 

    At present this is not possible. I believe this functionality is being considered for a future release.
    "Sergei" wrote in message news:[email protected]..
    Lookout always starts with its main window maximized.
    Is there a way to make Lookout "remember" it's recent
    window size (like MS Excel for example).
    Kind Regards,
    Sergei Modebadze
    TOMA Group

  • How can I control the window size of my output?

    Hi,
    I'm drawing a blank... How do I control the size of the window that my project is viewed in? Right now, it's the entire browser window.
    Thanks,
    Janice

    Hi,
    From your post, I assume you are creating WebHelp output.
    You  need to create a window for the help in the Project Set-up pod. Then,  you need to make sure you call the output so that the window is used.  See http://www.grainge.org/pages/authoring/calling_webhelp/calling_webhelp.htm.  This article on Peter's site give you an overview over the  possibilities of calling context sensitivive webhelp and also tells you  how to specify the needed window. Also, the installation directory of  RoboHelp 8 contains a directory called CSH API. In there are example  API's your developer can use to call the help.
    Greet,
    Willam

  • Taskflow popup window size

    Hai i had opned a task flow as an inline popup i want to the size to be increased is this possible to achive if so how to do it?

    Hi,
    You should be able to set the window height and window width properties on the button that you use to invoke the popup.
    That is if you use a button to invoke the popup.
    Regards
    Luc Bors

  • How to control/set window size of applications?

    When I press "command-shift-A" my application folder opens on the desktop. However, it always opens in a very small size requiring me to enlarge the window to see the entire folder. How can I set a default size of the entire screen when this window opens? thank you.

    Open the folder and resize it to what you want. Now close it.
    It should open to that size. If it doesn't, you've got some problems which I'll have to search around cuz I can't remember how to fix them.

  • Popup window size

    How can I set size and location of a popup in JavaHelp 2.0 explicitly, i.e. in Java Code ?
    Thanks in advance
    Thomas G�lden
    Munich, Germany

    For the size you can use setSize();
    Code:
    Popup popup = (Popup) Popup.getPresentation(HelpSetName, null);
    popup.setInvoker(ButtonName);
    popup.setCurrentID("Sect1");
    popup.setSize(new Dimension(400,600));

  • Control  new window size to fit  .jpg

    Can't seem to find this. i want the new window to be an exact
    frame of the .jpg being opend and none of the tool bars or address
    bar to be shown.
    is this a Java script solution?
    ps. i don't know anything about Java yet.
    thanks for your help

    If I understand you, you want to open a new browser window
    that will be the exactly the size of your jpg with now bars of
    anykind?
    This is indeed a javascript solution. You need to use the
    window.open command in javascript. This will allow you to specify
    the attributes of the new window.

Maybe you are looking for

  • Using Media Widgets in iBooks Author

    I'm writing an eBook in iBooks Author (which is a great Mac App!). I am adding audio widgets from time to time, and want to place them in the text next to a specific paragraph. However, I have discovered that if I try to include a second audio widget

  • Using SSL Module to Encrypt HTTP post to external Server

    I would like to know if it's possible for a CSM with its SSL module to receive an HTTP POST from our internal web servers, encrypt that POST w/ SSL, and finally to forward the newly created SSL transmission to a remote external SSL server? If it is p

  • Spry Vertical Drop down Menu

    Help my vertical menu bar won't expand.  I am using Dreamweaver CS3 I have to figure out a way to show you code I'll be back. Home                  Memberships                          Committees Board Staff News & Events                        Event

  • Session "" failed to start with the following error: 0xc0000022

    Newly installed Windows 2012 R2 server throws the following event roughly every 3 minutes: Session "" failed to start with the following error: 0xc0000022 The PID referenced in the event points to WmiPrvSE.exe running as NETWORK SERVICE.  Is there s

  • Is there a way for Flex to detect whether the Java Plug-In is installed?

    Hi All, Need your help. Is there a way for Flex to detect whether the Java Plug-In is installed? This may be require a JavaScript External-Interface. Can we get if the Java Plug-In is installed and if so, whether it is JRE 1.6.X ? Regards, Amit