How to limit the drop down length in select ?

hi
My code is-
<HTML>
<HEAD></HEAD>
<BODY>
<TABLE>
<TR><TD>
<SELECT NAME="Date">
<OPTION>1</OPTION>
<OPTION>2</OPTION>
<OPTION>30</OPTION>
<OPTION>31</OPTION>
</TD></TR>
</TABLE>
</BODY>
</HTML>
it will show the numbers from 1 to 31 in the drop down with long scrollbar.
My problem is - I want show only 10 numbers.User need to scroll and select other numbers.
Is it possible?
Edited by: pra_addd2007 on Jun 7, 2008 3:57 AM

i try with size attribute, its not working, this will increase the height of the select box. it will look like listbox. it does not control the dropdown length.

Similar Messages

  • How to change the drop down list "Category" in the Risk page (PWA 2013)

    Hello,
    How to change the drop down list "Category" in the Risk page of a Project Site. I need to change the list of elements.
    Thanks

    Hi Robert,
    You actually cannot edit the current template.
    The process is as follow: 
    create a brand new project site from the existing template,
    edit the site configuration (list, column, webparts, image, logo, theme...),
    save it as a template,
    associate it to an EPT.
    See reference below:
    http://blogs.msdn.com/b/brismith/archive/2010/03/15/customizing-the-project-site-in-project-server-2010.aspx
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • I modified the budget categories on the numbers template so now the transaction tab does not communicate with the budget tab. I figured out how to change the drop down options but how do I get it to reflect on my budget sheet? Please help.

    If you are familar with the Numbers Budget Template it has two tabs 'Budget' and 'Transactions'. If you use the template as it is designed when you input expenses on the transaction tab it will automatically add that amount into the selected category on the budget tab. I have madified my budget tab to reflect the caegories that I need, which included adding several to the template. I also added to the table so it reflects my income and expenses so I can track where I am at with a glance. Since I did this, I can't get my transactions tab to communicate with the budget tab. I figured out how to change the options in the drop down box for category but I con't figure out how to get it to reflect onto my budget tab. I'm sure that it is an easy fix, however, I am just not well versed in Numbers. I appreciate your time in helping me with this issue.
    Respectfully,
    Jon

    My guess is that while you added catetories to your Budget Sheet by adding new lines and filling in the category column, you didn't also add the formulas to these new budget lines.
    The proper way to add those lines would have been to select a cell in the line just above where you want to add a line and type Option/Alt-DownArrow. This would have copied the formulas into the new line. Maybe you did this, and maybe not. You didn't give details on how you added the lines.
    Select C2 and D2 and Command-C to copy them to the Clipboard.
    Select all the cells of Columns C and D except for the top and bottom rows and Command-V to Paste.
    If I have properly guessed the problem, you should be in business. This assumes that your Categories are exaclty the same as the entries in your Pop-up menus. Spelling counts, as does case.
    Jerry

  • How can I locate the drop down menu to select thumbnails for viewing my photos?

    I am using Microsoft Windows Vista. I select Files> Get photos and Videos> From Files and Folders.  I select my photos and In my views I have a choice of different size icons, list, details and tiles.  The icons are a flower image. When I select an image to view it only appears as an extra large icon on the middle right side of the moniter.  I would like to view the thumbnail of the photo bfore I bring to my organizer.  The drop down menu doesn't have a choice for thumbnail.  

    Perhaps I need to supply more details.  I am using PSE9.  I haven't any problem importing the images into the Organizer as I just select the Icons and select "Get Media" or "Open" and they transfer over to the Organizer.  I would like to see the image as a thumbnail not an icon when when making the selection.  If I right click them, the Icon, and select open they will open in "Windows Live Photo Gallery".
    The icons are now listed on the left  side of the monitor about the right middle it states "Select A File To Preview".  When I select a file (icon) a large file (icon) appears in that area and it should be a thumbnail of the image. Somehow I can't locate the drop down menu taht permits me to make that selection.  I think it has something to do with my files being able to open in Windows Live Photo Gallery when right clicking and select Open.  Is the drop down menu only available in Windows 7?

  • How to open the Drop Down List on the "enter" event?

    I am trying to find a way for the users to see the expanded drop down list options without using their mouse to click on the down-arrow.
    I am able to add script to the "enter" event so when user key-broad-tabbed into the drop down field, the first items of the list shows up:
    dropdown1.selectedIndex = 0
    However, it would be nice if at the same time, they can also see the rest of the options within the drop down expanded.
    Any help/hints would be appreciated
    Thanks in advance
    p

    It would even be nice if the PDF could default with the small arrow already displaying instead of having having to click the field, then click the arrow. I'm just hoping adobe would add this in a future version.

  • How to fill the drop down menu in screen programming

    Hi, Experts,
    I have a drop down menu on the screen I want to fill that drop down menu with different values how can I do that I think that there are to ways
    Value List      from     dist/flow logic
                          A from program
    Please help me out in this way.
    Kind regards,
    Faisal.

    Hi Faisal,
      VRM_SET_VALUES function module is used to display drop down values in the screen.
    Use the following code
    * Selection screen elements                                            *
    SELECTION-SCREEN BEGIN OF BLOCK BLC1 WITH FRAME
                                        TITLE TEXT-000.
    PARAMETERS:
      P_BUKRS  TYPE BKPF-BUKRS OBLIGATORY  " Company code
               DEFAULT '1000',
      P_WERKS  TYPE VBRP-WERKS OBLIGATORY. " Plant
    SELECTION-SCREEN SKIP.
    PARAMETERS:
      P_GJAHR TYPE BKPF-GJAHR OBLIGATORY,  " Fiscal Year
      P_QUAT  TYPE CHAR20                  " Quarter
                AS LISTBOX VISIBLE LENGTH 30
                LOWER CASE OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK BLC1.
    Data:
    * To hold quarter details, these details are used to display in list box of
    * the parameter called Quarter in the selection screen.
      T_QUARTERS TYPE VRM_VALUES.
    *              AT SELECTION-SCREEN ON VALUE-REQUEST                    *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_QUAT.
    * To fill quarters......................................................
      PERFORM FILL_QUARTERS.
    * To display quarters in dropdown box...................................
      PERFORM DISPLAY_QUARTERS.
    * FORM DISPLAY_QUARTERS                                                *
    * This subroutine is used to display quarters in the dropdown box.     *
    * There are no interface parameters to be passed to this subroutine.   *
    FORM DISPLAY_QUARTERS .
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          ID              = 'P_QUAT'
          VALUES          = T_QUARTERS[]
        EXCEPTIONS
          ID_ILLEGAL_NAME = 1
          OTHERS          = 2.
      IF SY-SUBRC NE 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.                               " F SY-SUBRC NE 0.
    ENDFORM.                               " DISPLAY_QUARTERS
    * FORM FILL_QUARTERS                                                   *
    * This subroutine is used to fill quarters.                            *
    * There are no interface parameters to be passed to this subroutine.   *
    FORM FILL_QUARTERS .
    * Local field string declaration........................................
      DATA:
    * Field string to fill quarters in the year.
        LFS_QUARTERS TYPE LINE OF VRM_VALUES.
      REFRESH T_QUARTERS.
      LFS_QUARTERS-KEY  = '1'.
      LFS_QUARTERS-TEXT = TEXT-QU1.
      APPEND LFS_QUARTERS TO T_QUARTERS.
      LFS_QUARTERS-KEY  = '2'.
      LFS_QUARTERS-TEXT = TEXT-QU2.
      APPEND LFS_QUARTERS TO T_QUARTERS.
      LFS_QUARTERS-KEY  = '3'.
      LFS_QUARTERS-TEXT = TEXT-QU3.
      APPEND LFS_QUARTERS TO T_QUARTERS.
      LFS_QUARTERS-KEY  = '4'.
      LFS_QUARTERS-TEXT = TEXT-QU4.
      APPEND LFS_QUARTERS TO T_QUARTERS.
    ENDFORM.                               " FILL_QUARTERS
    Regards,
    Mahi.

  • How to access the drop down menu on mobile Firefox

    I need to able to print from my browser

    You press the menu button on the device or the 3 dot button near the address bar.
    However Android does not have very many printing options. Firefox for Android supports printing a webpage to a pdf. You would then need to open that pdf on a desktop computer to print.

  • How to customize the drop downs?

    Hi All,
    Do you know or have any example for customizing the dropDowns with CSS?
    Thanks a lot!
    Federico

    Hi Federico,
    dropdowns, like crosstabs contain multiple SAP classes and it's tricky to write CSS. Attached is a part of my CSS for dropdowns, used in  our company's DS templates http://skywind.com/products/dashboardfactory/skytemplate3/
    One tip to check the classes - choose mobile theme in the DS, run the dashboard with a dropbox in browser, right-click on a dropdown, choose inspect element and check the relevant classes

  • How do I disable the drop down box which appears below the Search Box (which shows previous searches) when I start typing in my search topic

    Hi I would like to know how to disable the drop down box which appears below the search box on the start page when I start to type in my search topic. If for example the first letter I type in is an S then it shows a list of previous searches of sites beginning with the letter S.

    This is stored in the Firefox form history. For details of how to clear form history and prevent Firefox from storing any more form history see https://support.mozilla.com/kb/Form+autocomplete

  • Advice needed on the Drop-down box description.

    There are lots of postings on how to get the drop-down box working and there's even a How-to guide called Dropdown boxes. However, I have a field (defined using the AET tool) which has an Search help assigned, so the drop-down list is automatically displayed for me. Having said that I'm still bemused as to how it works as there's no code in the P and V Getter methods.
    Anyway, that aside, the dropdown box is working fine, as mentioned, but I also have the description field to populate with the description of the value returned by the drop-down box. In my case it's a Department code and associated description.
    Initially, I inserted code in the SET_DEPT method to lookup the description (using a SELECT statement) and place the result in the DEPT_DESC field. However, this method is not being called, I don't think, or at least my break point is not being reached.
    So I'm looking for somewhere to place the code which will be called when the DEPT field changes value, and I can then lookup the description and populate the DEPT_DESC field.. Both the DEPT and DEPT_DESC fields are in the same context node by the way.
    It's a real pity that when you create new fields in the AET tool you can't relate one field to another or somehow use a search help and say that the source is another field and this field will hold the result, or something like that.
    Jason

    Hi,
    It was said that the SET_* method will be called when you press enter on the view to trigger a server round trip.
    For your case, I'd like to suggest you take standard coding for example.
    That is the categorization in service ticket view in IC_AGENT role.
    When select the first category, if the second category only has one value, it will be automatically set. which should be similar to your requirement.
    component view GSMCDDLB/DropDownList
    call stack is
    METHOD SET_FIELDS      CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    METHOD EH_ONCATCHANGE  CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    METHOD DO_HANDLE_EVENT CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    when a value is selected in the first dropdown, an event is triggered, you may debug and find out your event, and make the codings in EH_* method.
    set value for other field is some what simple also, like that in
    METHOD SET_FIELDS      CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    CALL METHOD lr_dropdownlist->if_bol_bo_property_access~set_property
    If the first field is not a dropdown, for example a field with F4 help, after select the value from the popup, there will be event SELECT_OBJECT triggered for the view I tested.
    You may put breakpoint in do_handle_event for the controller class and observe what event was triggered.
    Then make the relevant coding.
    Hope could do help!
    Hongyan

  • Restricting values on the drop down list, while creating a PO

    Hello SAP Experts,
       Could you help me with the following.
      While creating a PO (ME21N), based on the Account Assignment Category(KNTTP) entered , I have to restrict the values in the drop down list for selecting the material group (MAKTL). I have searched some in SDN, but couldn't find anything suitable. Appreciate any help.
    Thank you,
    Sorab

    Could anyone tell me , if it is possible. Has anyone tried this before.
    Thank you,
    Sorab

  • My MX-922 quick menu shows the scanner but no printer. It doesn't show up in the drop down in tools.

    MX 922 quick menu shows up as scanner but not as a printer. It doesn't show up in drop down menu in tools.
    So I can't print from Canon appications. Mac - Yosimite

    Hi COGO,
    You can try reinstalling the printer using the latest drivers from the Canon USA website to get the printer to show up in the Quick Menu.  Prior to reinstalling, please close the Quick Menu and restart your Mac.  Once your Mac is restarted, please click here to go to the Drivers and Software page for the PIXMA MX922.  Once on the initial download page for your model, please do the following:
    1. Verify that the operating system detected in the "OPERATING SYSTEM" drop-down menu is correct, and if it is not, please click the drop-down menu to select your operating system.
    2. Next, please click on the red arrow next to the "RECOMMENDED FOR YOU" section and click the CUPS drivers file. When you do, a red DOWNLOAD button will appear. Please click on the checkbox below the DOWNLOAD button, then click the red DOWNLOAD button to begin the download. The time for the download process may vary depending on the speed of your Internet connection and the size of the file being downloaded.
    Once you have downloaded the CUPS drivers file, please follow the steps above to also download all other items from RECOMMENDED FOR YOU and DRIVERS sections. If you plan on using the printer wirelessly, you will also want to download the Canon IJ Network Tool from the SOFTWARE section.
    Once all items are downloaded, please double-click on each of the items to install them on your Mac.  Please ensure that the IJ Network Tool is the last item installed. Once all items have been reinstalled, please open the Quick Menu.
    Hope this helps!
    This didn't answer your question or issue? Please call or email us at one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How to limit the size of the displayed drop down ?

    Hello,
    basically the subj.
    I'm generating the drop down item from SQL based LOV.
    one of the records is looooong.
    Is there a way to limit the length of the drop down so it doesn't occupy 1/2 of the page?
    // i tried substr in LOV - it didn't produce expected result.
    Thank you.
    Andrew

    Chris,
    it's interesting - I have a text area to the right of the "select list" item. When i use your code that area moves furher to the right.
    I observe - the actual size of drop down doesn't change. only the size of the td can be increased...
    I'm using FF
    Here is the html code . I chopped off the rest of the values in options:
    <td align="left" rowspan="1" colspan="1" style="display: block; width: 100px;">
    <input type="hidden" value="3657620048154732" name="p_arg_names"/>
    <select id="P1_SELECT_BA" onchange="get_APP(this,'P1_SELECT_APP'); get_SRV(this,'P1_SELECT_SERVER')" size="1" name="p_t01">
    <option value="NULL">- No BA Selected -</option>
    <option value="Accounting">Accounting</option>
    <option value="Audit">Audit</option>
    <option value="BSD">BSD</option>
    //chopped off here

  • How to increase the width of the drop down list box in SSRS multi value parameter

    Hi,
    I am using SSRS 2012. I have a parameter, which accepts multi value.
    The width of the drop down list box is very small, and the user need to scroll to the right to view the complete view of the content in the list box. But, if I don't use multi value then the length is good.  Kindly suggest how to I increase the width
    of the list box when it set to multi value parameter.
    Thanks in advance,
    Mahalengam Arumugam

    Hi Mahalengam,
    After testing the issue in my local environment, I can reproduce it. When the values for a single parameter are too long, the drop-down list of the parameter will automatically enlarge to an appropriate size. While the values for a multiple parameter are
    too long, we need to scroll to the right to view the complete view of the content in the list box in SSRS 2008. But in SSRS 2008R2 and SSRS 2012, we can directly drag the black control at the bottom of the list box to control the size.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support
    Hi Katherine,
    Thanks for your reply. I understood we need to drag the list box to a maximum size to view the contents.
    But, this seems an additional task, i know this is a limitation in the current version of SSRS and hope it will be resolved in the next versions.
    Thanks for your efforts,
    Mahalengam Arumugam

  • Bookmarks toolbar changed from the right side of the drop-down menu to the left. How can I change it back on Firefox 4.0.1 for Mac?

    I just updated to Firefox 4.0.1. Some changes I don't like, especially that the Bookmarks toolbar opens to the left of the drop-down menu instead of the right. How can I change it?

    You may have bookmarks that have long title. Firefox 4 shows the full text of the bookmark name, so if it doesn't fit with opening to the right side the Firefox will open to the left side. You can scroll through the list and make the bookmarks with a long name shorter.
    * [[How do I use bookmarks?]]

Maybe you are looking for