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).

Similar Messages

  • In APP how to make customisation so that the APP pay only one currency invo

    Hi,
    Please let me know the settings:
    for  App has to pay only one currency invoices.
    ex. we have invoicess with 3 currencies like INR , USD and GBP  but the APP has to pay only GBP invoices.
    local currency is INR.
    please let me know the customisation for the same.
    Thanks
    Jagadeesh

    Hi,
    In T Code F110 , go to free selection screen,  select the "field name" - Currency (BKPF-WAERS) from "Document" and in the Values, you can enter the INR or any one or multiple currencies by putting , for seperator. Now you can run the program asusual.
    In this case, documents will be selected for payment only your currency mentioned in the field "Values"
    There is an exclude check box also.  This excludes the value mentioned over there.  In your case, do not check this box.
    Hope it helps
    Saravanan.A

  • How to make a pop up within if else

    I'm now making an user interface which will be used to control a remote robot. I want to make it so that when a button is pressed, a window will pop-up and tells the user what the robot is doing. At the moment, I can only make it to show the message in the cmd box. Code is as follow:
    class ActionHandler implements java.awt.event.ActionListener
              public void actionPerformed(java.awt.event.ActionEvent event)
                   Object object = event.getSource();
                   if (object == forwardButton) {
                        System.out.println("Robot moving fordward");
                   else if (object == backwardButton) {
                        System.out.println("Robot moving backward");
                   else if (object == rotateLeftButton){
                        System.out.println("Robot rotating to its left");
                   else if (object == rotateRightButton){
                        System.out.println("Robot rotating to its right");
    The only way to make pop-up which I know is this one:
    import javax.swing.*;
    public class DisplayTextInWindow {
         public static void main(String[] args) {
              // create a String variable
              String messageText = "Hello world";
              // display it in the console window
              System.out.println(messageText);
              // now display it in its own window
              JOptionPane.showMessageDialog( null, messageText );
    Which I can put into the code for interface because I can't start another class within an if statement (as far as I know anyway...)
    Can anyone please teach me how to make a pop-up within an if else statement?

    Which I can put into the code for interface because I can't start another class within an if statement (as far as I know anyway...)yes you can.
    if (robotRotating)
        newClass class = new newClass();
        class.methods;
    Can anyone please teach me how to make a pop-up within an if else statement?sure
    if (robotRotating)
       //i think this part is already answered in the previous post
       javax.swing.JOptionPane.showMessageDialog(null, "your message here", "your title here", JOptionPane.OK_OPTION);
    }

  • How to remove the pop-up window ''Wireless Radio Status" for t430s

    Hi, I have owned my t430s for now about 2 years without any major complaints recently I've had to use the fn + f5 function quite frequently, because of my poor internet connection. so that way i can reset which signal I want to choose because the default signal I am connected to is not mine. My problem is similar to what is posted here: https://forums.lenovo.com/t5/X-Series-Tablet-and-Helix/how-to-remove-the-pop-up-window-Wireless-Radio-Status/td-p/1191059 I really want to get rid of the pop up for this feature, I've tried to follow what the other thread user's have done and try out their solutions but it does not work for my t430s i tried changing the pmev thing to what was posted in the thread. Can anyone help me? Thanks!  

    I already tried that as mentioned in my original post, it doesn't work. I still get the pop up message: this is me pressing fn + f5 

  • How to create a pop up window while creation of the delivery note.

    Hello Experts
    How to create a pop up window while creation of the delivery note.
    As soon as we go in to delivery note creation screen in VL01N, immediately a pop up screen should be displayed on the screen containing the following details,
    For e.g.
    Str. Loc     Qty      UOM
    DE01        100        KG
    DE99          50        KG

    Dear all,
    i m having two document numbers for invoic of same types such as output type print program and smartform.
    biut the issue is im getting print preview for one invoic and for another invoic i m not getting any print preview.
    Directly the cursor comes to initial stage of vf03.
    suggest what to do
    Thanks and regarnds
    ravi

  • How to make another modal popup window in a modal popup window?

    how to make another modal popup window in a modal popup window?
    two modal windows must be made by inheritance of JDialog.

    the jdialog has constructors where you can set another jdialog as owner. (the same as frame)
    Visit our german java forum at http://www.java-forum.org/de
    An english version will be released soon at http://www.java-forum.org/en

  • How to make Excel VBA (on Windows OS) to work on Mac

    Hi,
    I have made an application which uses Excel forms and other features of Excel Form 9like Title, Combo Box, List Box, Buttons etc).
    The code works well on Windows OS however when I run it on Mac it fails to work. Can anyone help me how to make this work.
    Regards, Hitesh

    Hi ExcelUser2507,
    To be honest, I do not have much experience about Office for Mac.
    >> The code works well on Windows OS however when I run it on Mac it fails to work.
    This is possible, MAC and Windows are 2 different platforms and the features of Office System on this 2 platform is also inconsistent (the Office for Windows has more rich features).
    >> How to make Excel VBA (on Windows OS) to work on Mac
    This forum is mainly for discussing question about the Office on Windows platform.
    The thread below may help, and Office for Mac forum should be more appropriate for asking questions about Office for Mac.
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/vba-support-on-office-mac/5023cdbc-fadf-4e39-a49f-59d2534aef85
    Hope it will help.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to make a short clip out of the original one ?

    Some days ago, I asked a question on editing a clip in this forum. The responder asked me to provide a few seconds of the clip for his examination. But I got stuck. I didn't know how to make a clip of a few seconds out of the original clip and that it had the exact same format and properties as the original clip.
    Neither Premier nor After Effect have an ouput option such as "same as original source" .
    So, my question is how to make a short clip out of the original one with everything the same properties as the original one.
    Thanks in advance.

    May be I haven't made myself clear
    Sorry, but I think that I am still not following you.
    I want to export and render the short clip to a new file which I want to have everything the same as the original clip. Just like I cut off a few seconds off it and that few seconds becomes an independent file.
    OK, you have your original source file. It is complete and is also unaltered. If you want a "Copy" of it, just use Windows Explorer, or similar to make that Copy. If you want a separate file of your edited version of that source file (as it appears in the Timeline), use the WAB (Work Area Bar) to include just that edited instance of the source footage, and Export just the WAB. This will give you a separate file with the edits in it.
    I still feel that neither is what you want. If you can step me through, maybe with screen-caps, what you have and what you wish to end up with, I can see the operation more clearly.
    Good luck,
    Hunt

  • How to make a column in Table popin read only

    Hi Everyone
    Could anyone let me know how to make a column in table popin read only.
    Regards

    if you ar eusing an ALV table
    try this
      DATA: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table,
            r_table TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
    * get reference to ALV component interface
      lr_salv_wd_table = wd_this->wd_cpifc_alvmain( ).
    * get ConfigurationModel from ALV Component
      wd_this->r_table = lr_salv_wd_table->get_model( ).
    * init ColumnSettings
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lr_col_header TYPE REF TO cl_salv_wd_column_header.
      lr_column_settings ?= wd_this->r_table.
    * get table of column settings - each line one column
      DATA: lt_columns TYPE salv_wd_t_column_ref.
      lt_columns = lr_column_settings->get_columns( ).
    * loop over table - in each loop another column can be modified
      DATA: ls_column TYPE salv_wd_s_column_ref.
    * define visible columns (fields) by naming them,
    * exclude others by setting visibility to none
      DATA: ls_tooltip TYPE string.
      LOOP AT lt_columns INTO ls_column.
        " get header of column
        lr_col_header = ls_column-r_column->get_header( ).
        " do settings here
    ENDLOOP.
    Or see this document for more tips.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4</a>
    regards,
    Joris

  • How to make field is editable in ALV  CL_SALV_TABLE only)

    Hi,
    How to make field is editable in ALV  CL_SALV_TABLE only)
    Any one has tried to make field si editable by using CL_SALV_TABLE class.
    *I know how to do it in REUSEALV function module and CL_GUI_ALV class.*_
    Please reply only if you riedin CL_SALV_TABLE class method.
    Regards
    Rajesh V
    Moderator message: not supported, please read class documentation and search for previous discussions.
    Edited by: Thomas Zloch on Mar 17, 2011 2:07 PM

    Hi Chad,
    Please refer the link,
    Edit field in alv
    Regards,
    Hema.
    Reward points if it is useful.

  • How do I get The ipad locked to run only one application for customers (perhaps a webapp)

    how do I get The ipad locked to run only one application for customers (just one web app, or video- instructions, or just safari). What I really want is that my customers to only use one app that has all my services. It is an interactive app so I would not like them to go surfing elsewhere while they are in my store.
    Is it possible to do this on the iPad ?

    Try this:
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    checkbox - clusters_MOD.vi ‏23 KB

  • When I open Firefox another tabed wed site opens aswell, I don't want it to how do I stop this from happening? So only one tabed home page opens?

    when I open Firefox another tabbed wed site opens as well, I don't want it to how do I stop this from happening? So only one tabbed home page opens
    == I bookmarked a sight

    I'm sorry I've never done that before - just tell me how to reach about:config!
    Karen

  • How to use Mac Mini Server as NAT with only one port??

    How to use Mac Mini Server as NAT with only one ethernet port??

    But why did apple sell me this server that does NAT with one port? I don't get it.

  • How to make a pop up that pause the program (during pop up) and click button to continue OR stop the program

    Hi people,
    I am using LabVIEW to create a testing program to test a power system. The testing lasts for a loop of 90 minutes. 
    I would like to make a pop up when the testing is completed. When the pop up message appear, the whole program should be paused (NOT STOP) and when the two buttons (continue, stop) are pressed, the program should continue to run OR stop. [To start another loop of testing in order to make sure data collected is accurate and consistent.]
    How do I make this kind of pop up window? I have totally no idea how to work on this. I will be very appreciated if someone could give me some suggestions/help regarding this.
    Thank you.
    Regards,
    Vanessa

    VanessaWen wrote:
    Hi Blokk,
    In my actual program I have 3 while loops. In while loop A, it is used as counter, to transfer rows of data from an array (row by row) to loop B. For loop B, device drivers are used so that my program can be used to control the devices (it is for automated instrument testing). Loop C is then used for DAQ, data at different test points will be recorded at every second.
    I would prefer something simple in controlling all the while loops as my program is quite complex.
    Thank you so much.
    Vanessa
    I do not see why you need these 3 while loops. This task could be done with a single while loop, or max 2. Why you need loop A? You could generate data from this array inside loop B. You must use the DAQ and device control part in separate while loops? Maybe you could simplify you code to have one single while loop: at every iteration you could send a new control command to your device(s), and after this do a DAQ measurement.

  • How to read the pop-dialog window data in adf

    HI All,
    Using the jdev 11.1.1.6.
    I have two questions here :
    1) How to read the selected table row data from the Pop -dialog window .
    2)hOw can i forward to another URL view/view after selecting the data on dialog window and then click 'ok".
    NOte : One of the blog says ' we cant apply the action and actionListener on button ,if we apply showPopupbehavious ,SO how can i forard to another page/URL view ? ,
    scenario:
    Upon click of some button , infomration ll be displayed on pop-dialog window and then user will select the any one of the row and click "OK"
    . based on some data check i should forward it to the view/urlView .
    any hits highly appriciated
    thanks

    1) How to read the selected table row data from the Pop -dialog window .simple . get the employeevo and jobvo with relationship(fk or association/viewlink) drop the employee vo as af:table. show a detail icons at the end of column. make popup with show popup behaviour with lazyuncached drop the af:dialog it wiil show the details in job of concern employee
    2)hOw can i forward to another URL view/view after selecting the data on dialog window and then click 'ok".
    NOte : One of the blog says ' we cant apply the action and actionListener on button ,if we apply showPopupbehavious ,SO how can i forard to another page/URL view ? ,can you show the blo url to me.
    grasp things.
    http://hazem-adf-tips.blogspot.in/
    https://blogs.oracle.com/jdeveloperpm/entry/how-to_efficiently_redirect_to_an_adf_faces_view_using_adf_controller
    http://adf-lk.blogspot.in/2011/06/oracle-adf-how-to-redirect-url-in-bean.html
    http://adfdeveloper.blogspot.in/2011/07/adf-auto-redirect-while-still-passing.html
    http://www.slideshare.net/baigsorcl/oracle-adf-task-flows-for-beginners
    http://www.techartifact.com/blogs/2012/03/adf-jsf-some-handy-code-for-backing-beans.html

Maybe you are looking for

  • How do i use my number for imessaging instead of my email

    how do i use my number for imessage instead of email

  • Import xobject in JSP not working

    Hi, i am trying to pass some feugo business objects as JSPattributes. first i am importingthe classes <%@page import="xobject.com.comp.proj.BO.MyBPMObject"%> and then i am trying to assign the attributes <% MyBPMObject o = (MyBPMObject) request.getAt

  • PDF reader with inverted colors

    Do you guys know any pdf reader that's able to invert colors so the eyes won't hurt so much from reading? I've heard foxit reader is able to do that, but there's no 64bit version in packages. Supposedly okular has that function too, but it's qt based

  • Performance Problems with GeForce FX 5600 256mb Video Card

    I recently purchased the GeForce FX 5600 VTD 256mb video card to replace my old ATi Radeon 8500 64mb card.  I'm running an AMD 2800XP+ on an MSI K7N2 Delta-L, with 1gb of PC 2100 on Windows XP Pro. I installed the latest drivers (from the EGA site) a

  • Model program of at selection screen output

    hi frends pls giv me the model code of at selection-screen output event in Reports