Move Date Picker Pop Up Location

Hello All,
What is the easiest way to move the location of the pop up window when using a Date Picker on a form page?
Currently using Sand Theme it pop ups at the top of the screen in IE and Firefox.
We would like it to popup right next to the item on the form?
We have several on a form and would like to get the users accustom to same location or middle of screen focus.
Regards,
Robert

I don't think this is possible whether you can access the javascript or not. There are a few essential parameters which are, as far as I know, unavailable. These are:
o the position of the browser window on the screen
o the height of the 'chrome' (title bar, menus, icons, address bar, tabs, etc) above the page
o the width of the chrome on the left of the page, eg the bookmarks
Also, the width, in pixels, of the input item cannot be known. This would be necessary for my solution (below), where I position the window relative to the input item, as that's the nearest element with an ID.
The javascript generated by ApEx for the data picker doesn't declare the window object's reference with the VAR keyword (this terminology may be way off track!), so I was able to create a wrapper around this and create a variable with the same name, which will be in scope for the ApEx javascript. Now I can reference the popup window when ApEx has finished creating it. Then it's just a case of finding the input field's position on the page (using this: http://www.quirksmode.org/js/findpos.html) and adjusting for the page scroll and 'chrome' size before setting the date picker's position.
This assumes the browser window is at the top-left of your screen and that all the chrome (even the status bar) is at the top or left of the window.
http://htmldb.oracle.com/pls/otn/f?p=25637:12
Works in Firefox but not IE6. Works in Opera but behaves slightly differently than in FF.
You can use the same technique to hack the javascript and position the window in the middle of the screen but I wouldn't bother. It should be possible, but it would need implementing on an item-by-item basis and might break in later versions of ApEx. Also, Firefox has an option to disable any javascript which moves windows, so some users would never notice your efforts.

Similar Messages

  • Charts appear in front of date picker, help messages, developer buttons

    In Apex 4.1, with Internet Explorer, if we have charts on the form, objects like date-pickers, help text, etc. appear behind the chart. They pop up (or drop down) in front of the chart's region, but behind the chart. So if I have a search criteria region at the top, and a chart region below it, if the chart is displayed, and the user clicks on the date picker, then the date picker pops up, but any portion of it that should overlap with the chart itself is hidden behind the chart, so the users cannot click on a date later in the month.
    Also, if there is help text provided for an item in the search criteria region, then the help text pop-up box appears partially or completely behind the chart (though in front of the chart's region.
    You can also see this with the developer's buttons at the bottom of the screen - they stay in front of the regions, but behind any chart.
    Is there a way to fix this?
    I can get around the date picker if I choose the Classic Date Picker, but I don't know how to get around the other items.
    Thanks!

    Maybe it is just because there is no space enough to display both month and year. Is it possible to increase the width of the calendar box ?
    Francois

  • Date picker  - removing calendar icon

    Helo,
    is there any way I can remove calendar icon from date picker?
    thanks for help!
    regards,
    drama9346

    Hey,
    - Edit the date picker page item
    - Locate the 'Settings' section
    - Select 'on focus' for the 'Show' select list
    That will hide the date picker calendar icon.

  • Disable date picker

    How do I disable date picker item (specifically the date picker pop up). I am workingon Version 3.0
    Thanks and Regards,
    Kumar

    Hello Kumar,
    In that blog post I explained how you can disable the clickable datepicker image (that will show the popup), when you disable your datefield.
    As you can see in the comment, if you add a condition to make the date field read-only the icon is automatically removed, but if you disable the datefield during navigation on your screen (using javascript), that wasn't happening.
    And in the example I used jQuery (installing that is a prerequisite), to disable all icons of date fields that are disabled.
    A function for disabling the icon of a specific datefield should be something like:
    function disableIcon( pThis ){
      var i=this.id;  
      $('#'+i+'_IMG').click(function() 
      {return (!document.getElementById(i).disabled);}); 
    }And you can call that using : disableIcon('Pxyz_DATE');
    HTH
    Greetings,
    Roel
    http://roelhartman.blogspot.com/

  • Why did Firefox intervened to move data while working with an Excel file; cannot locate the data.

    Downloaded Firefox 2wks ago. Just now working with a large Excel spreadsheet when something happened losing all 6 sheets of data. My file location now shows sheet data as Firefox Document. Now I can't retrieve this file of data; it was financial data! What happened for Firefox to intervene?

    No, Sir. I was strictly working within a newly created Excel file. Actually, Internet Explorer is current browser.
    Thank you for interest and any suggestion.
    Re-thinking thru this, it is probable I downloaded the base data thru FIREFOX. I was working with the project on an Excel spread sheet when I lost the data. The sheets still exist but the data is missing. Very strange.

  • Steady Stream of "Searching for movie data in the file..." Error Messages

    My iMovie has been crippled by error messages that pop up whenever I try to accomplish anything in iMovie. I always see "Searching for movie data in the file 'healyintro.mov'" for a few minutes, then "The movie file 'healyintro.mov' cannot be found. Without this file, the movie cannot play properly." I cannot actually use iMovie because of these errors.
    I've tried everything from reinstalling iMovie to removing application support files to removing my iMovie Events and iMovie Projects folders to creating a .mov file, calling it healyintro.mov and seeing if that'll shut iMovie up – nothing works.
    Once in a while, iMovie will ask for a different movie file, with the same problem.
    Any ideas?

    I am having the same issue. I don't know what the previous poster means by allowing the system to continue, since I'm prompted with a "Cancel" / "Search" dialog after each missing clip. Slight digression: "Search" is not even the correct term here according to UI guidelines ("Choose" or "Locate" might be better choices given the file picker dialog that results).
    I'm actually using Aperture to relocate my video masters on removable media, which is a very nice feature of Aperture, but completely breaks iMovie unless it's connected. Seems like a pretty major oversight.... can we just have it fail more gracefully here and allow us to work with new stuff without getting hung up on missing movie clips from the past?

  • Best way to move data and programs to another profile on same Mac?

    Hello,
    What is the best way to move data and programs to another profile on the same Mac? I have a user who's profile is corrupt, I know that most programs will work on both the new and old profile however when trying to copy the Desktop folder, or Documents folder I am getting permissions denied.
    Sort of like weeding a garden, I'm hoping I do not have to pick the data in each folder and copy individually.
    Thanks for your help!
    Johnathon

    This usually means that a configuration or preference file is corrupted.  In this user's /Home/Library/Preferences/ folder locate any preference files associated with iLinc and drag to the Trash.
    I would also check in the /Home/Library/Caches/ folder for a file or folder associated with iLinc and delete as well.
    See if the problem is resolved in the user's normal account.
    It's not that you cannot copy data from account to account, but doing so causes a lot of permissions issues that must be resolved.  The MacFixit article I linked above shows what you need to do after transferring from one account to another in order to change permissions on the "foreign" files to those of the destination account.

  • Problem with Date Picker and wwv_flow_item.date_popup()

    I have a Report based on the HTMLDB How-To “Build Tabular Forms for Multi-Row Operations”
    This is my code:
    select
    X.RRIT_UID,
    X.DOS,
    X.CPT_CODE,
    X.MOD,
    X.DX_CODE,
    X.CHARGES,
    X.UNITS
    from
    (select
    htmldb_item.text(1,RRIT_UID) RRIT_UID,
    wwv_flow_item.date_popup(2,null,RRIT_DATE_OF_SERVICE) DOS,
    htmldb_item.text(4,RRIT_SUBMIT_SERVICE_CODE,6) CPT_CODE,
    htmldb_item.text(5,RRIT_SUBMIT_MODIFIER,3) MOD,
    htmldb_item.text(6,RRIT_ATT_DIAG_CODE,6) DX_CODE,
    htmldb_item.text(7,RRIT_BILLED_CHARGES,9) CHARGES,
    htmldb_item.text(8,RRIT_UNITS,3) UNITS
    from
    RRIT_REPRICE_ITEM
    where
    RRRR_UID = :P5_RRRR_UID
    union all
    select
    htmldb_item.text(1,null) RRIT_UID,
    wwv_flow_item.date_popup(2,null,null) DOS,
    htmldb_item.text(4,null,6) CPT_CODE,
    htmldb_item.text(5,null,3) MOD,
    htmldb_item.text(6,null,6) DX_CODE,
    htmldb_item.text(7,null,9) CHARGES,
    htmldb_item.text(8,null,3) UNITS
    from
    dual)
    X
    My problem is when I run the page and select a date from the Pop-Up calendar I get this error:
    Line 10
    Error: ‘opener.document.forms.0.f02.0’ is null or not an object
    I know it is something to do with data formats and the fact that I do not fully understand the use of wwv_flow_item.date_popup().

    Hi DK,
    It is a WD Java application, Backend is ABAP (MM module).
    The UI is input field, where the context attribute type is Date, So its been changed to Date Picker.
    The problem is when the user runs the WD application in Portal, The calendar format is being changed for some users. That is for few users the Week starts with Monday and for few users the week starts with Sunday.
    I need all the users to have Monday as the First day of the week.
    Please let me know, what will be solution for this.
    Since I haven't done anything in regard to date, it is a simple Date format.
    Thanks & Regards,
    Palani

  • Move data from one table to another

    Hi,
    I need to move data from work space -1 to work space -2. I need to move only selected data. From work space -1 to work space -2
    Work space -1
    Table -1_
    ID NAME Description
    1 xyz one
    2 abc two
    3 mnk three
    Table -2_
    ID PID NAME Description
    1 1 x1 -
    2 1 x2 -
    3 2 a1 -
    4 2 a2 -
    5 3 m1 -
    Table -1 is parent table and Table-2 is child. Here PID is parent key of table-1 and ID's in both the table are primary keys.
    Now i need to move data from work space-1 to work space -2
    Work Space -2 table structure
    Table - 1
    ID INDUSTRY_TYPE DATE DESC
    1 TNT - -
    2 MTN - -
    Table - 2
    ID T_ID NAME DATE DESC
    1 1 T1 - -
    1 1 T2 - -
    2 2 E1 - -
    2 2 E3 - -
    I need to migrate data from work space -1 of table 1 and 2 to work space - 2 of table 1 and tabe 2
    Please suggest me a query to migrate. Please let me know if the steps mentioned above is not clear.
    Thanks
    Sudhir

    Hi Sudhir,
    since data tables are not located in work-areas but in schema's I presume you mean the latter.
    A simple conversion statement would be something like :
    insert into table s1.newtable ( column1, column2, ... )
    select column1a, column2a, ...
    from s2.oldtable
    where ...
    First the master table, then the child table.
    This works using a user-id having al least read-access to schema s2. If no such user exists then use some export method.
    No relation to APEX though.
    Hope this helps.
    Daniel

  • Date Picker problem in Apex 3.1

    Hi,
    I upgraded my apex to 3.1 and found that the date picker icon behaviour become quite strange.
    If I set the label of the date picker Horizontal/Vertical Alignment to Above, the picker icon will show below the text box instead of right side. And the pop-up calendar for Date Picker (DD-MM-YYYY HH24:MI) also not high enought to show the Close and OK button, I have to manually adjust the pop-up calendar height.
    All this problems were not there in 3.01, is these some kind of bug?
    Thanks
    Vincent

    Hello,
    Can you put an example of your particular layout on apex.oracle.com. The solution I had worked in most of the case's I tested , obviously yours is different.
    The next best solution would be to either shim the items with images, or to specifically set the widths of the containing table cells.
    The reason all this is happening is sometimes , depending on the region templates and CSS the regions will collapse down on the content, and the the browsers will do there best to fit the content in the smallest place possible, Unfortunately, in some cases the browsers ignore both nowrap="nowrap" and/or style="white-space:nowrap", why would I want to put nowrap on something and still have it wrap, I don't know it's not me it's the browsers.
    The solution in the patch I'm leaning towards is wrap item into a table. As it will work perfectly everywhere , and greatly annoy people that want tableless layouts, but that won't be available till the patch.
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Move data from one fs to another from a particular position.

    Hi all,
    i have a requirement where i want to move data from one field symbol to another from a particular
    position.
    I have a work area which contains string values. i have converted this string to hexadecimal value .
    in this hex string m lukin for a position where '0A' occurs. Now i have to pick the string till dis '0A' value and move it to some other field symbol. Can anybody tell me how to do that.
    The code i have written is as follows:
      FIELD-SYMBOLS: <fs> TYPE x.
                 data: temp1 type string,
                       p_word type string,
                       temp2 TYPE string,
                       w_len TYPE i.
                       temp1 = wa_value-value. "this wa containd the value
                       w_len = strlen( temp1 ).
             if temp1 cp '"*'.
               ASSIGN wa_value-value TO <fs> CASTING TYPE x.  " converting wa to hex value
                  DATA: VAR TYPE i,
                        COUNTER TYPE i,
                        line_feed_count type i,
                        temp_count type i.
             VAR = strlen( wa_value-value ).
             CLEAR: COUNTER, temp_count, line_feed_count.
               WHILE COUNTER LE VAR.
                IF <fs>+counter(1) = '0A'.
                line_feed_count = line_feed_count + 1.
                COUNTer = COUNTer + 1.
                ENDIF.
                COUNTER = COUNTER + 1.
               ENDWHILE.
            endif.
    Now , i want to pick data from starting till the position it gets '0A' and then again till it finds another '0A'.
    Thanks in advance.

    Hi,
    As everyone has rightly pointed out, there is no direct way of transferring the data from one appset to another. However, there are definitely few ways of doing it:
    1. Run export package. Export the data in flat file. Import the data using import DM package.
    2. Export the data from the cube of your application in excel file. Then run the import DM package to load the data.
    3. Run UJBR transaction in SAP. Take the backup of the transactional data. You will get few flat files. Run the import DM package.
    All the above steps will work only if the structure of the applications in both the appsets is the same. Otherwise, you will have to modify the flat file before uploading the file.
    Hope this helps.

  • Date picker for 64 bit windows 8 and 32 bit 2010 excel

    I'm looking for step by step instructions on how to add a pop up calender to chose a date in 2010 Excel.  There is none listed in the addition toolbox controls, where and how would I install this? 

    Hi,
    Please go to the following path to find the Microsoft Date and Time Picker:
    Excel 2010 > Developer tabe > Insert > ActiveX bottom right > More > MIcrosoft Date and Time Picker (SP4). 
    For more detail information, please refer to the following link:
    http://social.msdn.microsoft.com/Forums/en-US/26f6adea-c723-4815-92ba-59a0c846a80a/microsoft-date-picker-excel-2010?forum=exceldev
    http://www.logicwurks.com/CodeExamplePages/EDatePickerControl.html
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to Resize the default date picker calendar

    Hello Experts,
    SAP CRM web UI shows a date picker as follows for populating fields of type date.
    We noticed a strange issue that for months like January 2015 , the width of the date picker is lesser than what is shown for November 2014.
    As you can see in the following snapshot , the dropdown icon of the second field is hidden when the month shown is November 2014.
    This an issue because of the different sizes shown for different months , users would have to move mouse pointer when they to move to next months by clicking on the next arrow icon.
    Any tricks to fix the width of the date picker will be really appreciated.

    Hi Praveen,
    You can try following tricks -
    1. Go to SE80, search for BSP Application = 'thtmlb_styles'
    2. under Pages with Flow Logic  - we have one CSS file called "thtmlb_core_stand.css"
    3. In this file try changing width of method call ' #thtmlb-calendar-container ' to 150px  like shown below.
    #thtmlb-calendar-container {
         display:                none;
         position:               absolute;
         width:                  150px;
    hope it helps.
    Best Regards,
    Sandeep Kumar B

  • Can't open MOV files in FCP: "Searching for movie data in file..."

    I know this has been posted before, but none of them seem to match up to what I'm all of a sudden dealing with. I have 4 MOV files that I'm converting to WMV. Movie 1 & 2 exported fine. Now, however, any time I try to open another MOV file, I get an error that it's "Searching for movie data in file..." and the file name is ALWAYS the same. The weird thing is, the file it's looking for is none of the 4 movies I'm working with. So how did the first two work and this pop out of nowhere??
    I have cleared out the render cache. Dumped all the cache and prefs files I can find, etc. Restarted the machine. Started FCP with the Option key held down.
    I've searched everywhere, but people usually seem to come across this error while opening FCP (I'm running 6.0.6). This only happens when I open a MOV file (oddly, I can open WMV files in FCP without issue).
    HELP!

    So, I open the movies in QT and the EXACT same thing is happening. So it appears the guy who created the videos did something when he was making them (probably made a reference files along the way). I'm having him re-export the MOV files.
    So, it's not a FCP issue.....

  • How to determine if the Date Picker was selected?

    I have a tabular form with columns of date type that are displayed as APEX Date Picker.
    A user can enter the date two different ways; 1. Enter date by clicking in the field and type it manually. 2. Click on the calendar icon next to the field and select a date.
    The entered dates are validated, and if invalid, should be replaced with the existing date.
    This works fine for case 1 when a user enters the date manually using the following code in the Element Attributes.
      onFocus="savedData=this.value;" onChange="if( isDate3(this.value)==false){this.value=savedData}" The existing data is saved in the savedData field using the onFocus event and then used to replace the this.value if the validation fails.
    But, for case 2, I get an error indicating that the savedData is undefined, which is true. This is because the user does not click into the field and triggering the onFocus event. Instead, the user clicks on the calendar icon next to the field that opens a calendar pop-up. For this case, if a user selects a date in the future, an alert is raised, and the date needs to be replaced with the existing date.
    So the question is, is there a way to trigger an event to save the existing value if the user clicks the calendar icon next to the date field to populate the date?
    Thanks,
    DPATEL
    Edited by: user4115675 on Feb 16, 2010 10:15 AM

    Does anyone out there has any idea on how to do this? Any help would be greatly appreciated.
    Thanks,
    DPatel.

Maybe you are looking for