05/24/2022 | Update back-end Datatables object from front-end cell reference This updates the back-end table object as well as the front-end html table. This is only needed when content is updated after the initial table has been drawn and you're using the Datatables native PDF, XLS, CSV exports. JavaScript • Tuesday May 24, 2022 | | |
02/22/2022 | Calculate Decimal Degrees from Degrees, Minutes, and Seconds | To calculate decimal degrees, we use the DMS to decimal degree formula below: Decimal Degrees = degrees + (minutes/60) + (seconds/3600) | |
02/04/2022 | Set specific date for Comiseo Daterangepicker https://tamble.github.io/jquery-ui-daterangepicker/# JavaScript • Friday February 4, 2022 | Set the variables Apply it as the dateStart | |
01/10/2022 | Play randomized functions JavaScript • Monday January 10, 2022 | | |
11/29/2021 | Initialize JavaScript Date to specific timezone JavaScript • Monday November 29, 2021 | The final timeNow will be a Date/Time object with a value specific to Mountain time. | |
11/17/2021 | Convert filepath to webdbpath (aka WebDbname) LotusScript • Wednesday November 17, 2021 | | |
09/29/2021 | Disabled keyboard on mobile device HTML • Wednesday September 29, 2021 | Add inputmode attribute with value none. | |
09/21/2021 | Add Spaces to Dock in Mac OS Mac • Tuesday September 21, 2021 | Launch Utilities > Terminal Execute the following code for each space you want They won't show up until you restart the Dock. | |
06/09/2021 | Custom Sticky logic when the native stick-top can't work There are a number of reasons why the CSS position: sticky property might not work such as browser compatibility, ancestor element has OVERFLOW property set, height is not set on parent element, or parent element is a flexbox. JavaScript • JQuery • Wednesday June 9, 2021 | Call the following javascript and jQuery when the DOM is ready. CSS | |
05/13/2021 | Separate multiple attached files into individual notes documents Use this agent code to break up the attachments into their own notes documents. LotusScript • Thursday May 13, 2021 | | |
03/14/2020 | Always show scrollbars in Safari via CSS CSS • Saturday March 14, 2020 | | |
03/02/2020 | Disable double-tap "zoom" option in browser on touch devices CSS • Monday March 2, 2020 | Add this css to the specific DOM object or all. | |
12/11/2019 | Ordinal Date Suffix 1st, 2nd, 3rd, 4th, etc... Lotus Formula • LotusScript • Wednesday December 11, 2019 | Formula LotusScript | |
11/01/2019 | How to stop iPhone auto-linking dates, phone numbers, or addresses The iPhone and iPad automatically adds hyperlinks to things it thinks it knows how to handle, like linking dates to the Calendar app and phone numbers to the dialer. (Several desktop email and webmail systems do this too, especially for dates.) HTML • Friday November 1, 2019 | An Example (iPhone adds blue links to the number and address): The iPhone will add blue links to the confirmation number (mistaking it for a phone number) and the address. Now add in a couple Zero Width Space characters: And it looks exactly the same as the original, but with no auto-linking of values. Bonus: This also works for disabling auto-linking in GMail. | |
07/21/2019 | Prevent save on ENTER, but allow ENTER to call other functions You can prevent the form from submitting, but still specify functions to execute when a user hits ENTER within a specific field or object. JavaScript • JQuery • Sunday July 21, 2019 | First, have this function called when the DOM is ready. The code below will allow ENTER keys on text areas, and look for the 'data-onenterkey' attribute value. If a function name was provided in the attribute, it will be executed. Create the custom function you want to call when the user hits the ENTER key on the specific input field Sample usage | |
07/03/2019 | Reload the page when user clicks the browser BACK or FORWARD buttons The popstate event will be triggered by doing a browser action such as a click on the back or forward button (or calling history.back() or history.forward() in JavaScript). JavaScript • Wednesday July 3, 2019 | | |
07/03/2019 | Capture the search clear event on search input fields HTML • JavaScript • JQuery • Wednesday July 3, 2019 | Sample html input search field Javascript/jQuery code to fire when the user clicks the clear button | |
06/24/2019 | Construct WebDbName in LotusScript Use this when you need to determine the web-friendly URL for the current database directly. LotusScript • Monday June 24, 2019 | | |
06/18/2019 | Move first row of a HTML table from tBody to tHead 1. Use prependTo() to insert the thead element 2. Use append() to insert the first tr inside the thead JQuery • Tuesday June 18, 2019 | | |
06/13/2019 | Re-enable the print layout option in Chrome I also had this problem with the latest Bootstrap v4.1.1. As a workaround, adding this css rule after Bootstrap js/css loaded. CSS • Thursday June 13, 2019 | | |
06/11/2019 | Set date without time via LotusScript This tip shows you how to set the date without the time section via LotusScript. Most methods for setting a date field via LotusScript leave you with a date in this format: 13/07/2014 00:00:00 GDT The time section always seems to get set either to the current time or 00:00:00. If the date is required to be stored in the same format as it would be if chosen from the date picker on a form, the time part must be removed. The LotusScript functions, CDat, DateNumber, DateValue, Format are no help here, nor is the notesddatetime object -- unless you do what I have done below. LotusScript • Tuesday June 11, 2019 | | |
06/06/2019 | Convert 12 hour to 24 hour time values Use the formula below in your Lotus Formula agent to convert values for specific fields. Lotus Formula • Thursday June 6, 2019 | All the values are in 5 minute increments, but you can adjust as needed. | |
06/06/2019 | Bootstrap and Prototype.js Conflict Features of Bootstrap that break: - Collapsible components bounce disruptively due to Effects. - Drop down menus parent disappears upon closing child. - Tooltip trigger/parent disappear on blur. - Popover trigger/parent disappears on blur or toggle. - Tabs disappear on trigger and toggle. With most of these issues, the cause is that Prototype.js applies display:none; to the parent element, making it disappear. JavaScript • JQuery • Thursday June 6, 2019 | Insert the following two code sections after your jQuery.js load, but before your call which is using the prototype.js functions. Bootstrap dropdown menu disappears when used with prototype.js Just put code below somewhere after prototype and jquery includes. Example of usage at the end of a page | |
05/31/2019 | Datatables header misalignment Issue when the table header columns are not fully aligned with the table body columns using datatables.net This can occur when the table is located within a modal window. Use either the CSS or JQuery methods below. CSS • JavaScript • JQuery • Friday May 31, 2019 | Add the following CSS or use the following JQuery code to re-adjust the column widths upon opening your modal | |
05/31/2019 | @Unique in LotusScript Lotus Formula • LotusScript • Friday May 31, 2019 | | |
04/15/2019 | Troubleshooting Java agent message 'Error cleaning up agent threads' Java • Monday April 15, 2019 | | |
02/18/2019 | Display attachment sizes in B, KB, MB, and GB Format the output of @AttachmentLengths into a more useful result. Lotus Formula • Monday February 18, 2019 | | |
02/21/2018 | URLQueryString for JQuery JavaScript • JQuery • Wednesday February 21, 2018 | | |
02/08/2018 | Basic sharing via email client Swift • Thursday February 8, 2018 | | |
02/08/2018 | Device height and width Swift • Thursday February 8, 2018 | | |