Zebra_DatePicker, version 1.9.3 now available

Here’s what’s new in 1.9.3:

  • when the “value” attribute of the element is set, use that instead of “start_date”; thanks Vojtěch Biberle
  • fixed a bug where “header_navigation”, “lang_clear_date” and “show_select_today” properties could not be updated via the “update” method; thanks André Fiedler
  • fixed a bug where the paired date picker was not updated when users would manually enter a date in the first date picker; thanks Toby for reporting
  • icon position is now updated when changing orientation on mobile devices; thanks to chenghong for suggesting
  • added “clear_date” and “set_date” public methods; thanks Jason Davis for suggesting
  • added new “open_icon_only” property which, when set to TRUE, will result in the date picker showing *only* when users click on the associated icon, and not on element focus
  • dates prior to year 1000 are now disabled as this library cannot handle years below 1000
  • better comnonjs-support; thanks Stefan Schult

Visit Zebra_Datepicker‘s page

Zebra_Database, version 2.8.5 now available

Here’s what’s new in 2.8.5:

  • result sets can now also be cached in sessions
  • users can now change resource paths, allowing users to move scripts and stylesheets to whatever locations; thanks to Joseph Spurrier
  • column names for the select() method can now be given as an array (recommended) and will be automatically enclosed in grave accents; ; thanks to Joseph Spurrier
  • fixed a bug with determining the path to the library’s CSS and JavaScript when using symlinks; thanks to primeinc
  • fixed a bug with backslashes in the replacement strings; thanks to primeinc
  • fixed a bug in the “get_tables” method which would trigger warning messages; thanks to Stefan L for reporting
  • fixed bug with dlookup method & friends and caching;
  • fixed composer.json and the library is now correctly working with Composer’s autoloader; thanks to Joseph Spurrier
  • fixed a bug where setting the “disable_warnings” property to true would not actually disable warning; thanks to Joseph Spurrier
  • fixed a bug where setting the “memcache_compressed” property to TRUE had no effect; thanks to Andrew Rumm
  • fixed a bug with CSS/JS when port is not 80 where the library would not correctly look for the CSS and JS files (used by the debug console) when using a port other than 80; thanks to Gabriel Moya!
  • fixed a bug where port and socket were not used even if set; thanks to Nam Trung
  • fixed some typos in comments

Visit Zebra_Database‘s page

Zebra_cURL, version 1.2.1 now available

Here’s what’s new in 1.2.1:

  • fixed an issue that appeared since PHP 5.3.0 where, because of how htmlentities has changed since that version, the body of a fetched page would be an empty string the output would contain invalid code unit sequences within the given encoding (utf-8 in our case);
  • fixed an issues in composer.json due to which the class was not registered for autoloading after installation, and the library now explicitly requires lib-curl; thanks to Igor Denisenko
  • fixed some documentation issues; thanks to Igor Denisenko

Visit Zebra_cURL‘s page

Zebra_cURL, version 1.1.0 now available

Here’s what’s new in 1.1.0:

  • fixed a bug where the “post” method was not working with callback functions
  • added a workaround for PHP bug: https://bugs.php.net/bug.php?id=61141; thanks to Syed I.R
  • custom arguments can now pe passed to the callback functions
  • callback functions may now return FALSE instructing the library to not cache the respective request; this makes it easy to retry failed requests without having to clear all cache;
  • added an example for FTP download

Visit Zebra_cURL‘s page

Zebra_DatePicker, version 1.8.9 now available

Here’s what’s new in 1.8.9:

  • added a new “header_captions” property, useful for customizing captions in the datepicker’s header, for the 3 possible views: days, months, years; thanks to Lodewyk and Ram for suggesting;
  • added a new “onOpen” event for executing callback functions when the date picker is shown;
  • users can now always use the next/previous buttons; thanks to Mozart for suggesting;
  • the “this” keyword in callbacks now correctly refer to the element the datepicker is attached to; thanks to syahman for reporting;
  • when having a date formats without year, the “years” view will not be visible anymore; thanks to MarkG;
  • the “onSelect” callback takes an extra argument – the ISO 8601 week number of the selected date;
  • fixed a bug when having non ASCII characters in month names; thanks to straightdog and Muhobrc for reporting, and to D-ominik for providing a fix;
  • fixed an issue with the “pair” attribute which, when given as a data attribute, would cause a JavaScript error; thanks to Domenico Giambra;
  • fixed a bug with the iFrame shim in IE6 which was not working as expected and “selects” elements where shown above the date picker; thanks to chenghong for reporting;
  • fixed a minor bug where the date picker would close for any key press not just for the ESC key; thanks to nacho for reporting;
  • fixed a minor bug where, when looking at the “months” view, the selected month would always be highlighted even if the user would switch years; thanks to Yoyee Zhu for reporting;
  • updated jQuery version in the examples folder to 1.11.1;

Visit Zebra_Datepicker‘s page

Zebra_Database, version 2.8.4 now available

Here’s what’s new in 2.8.4:

  • added a new “memcache_key_prefix” property; this allows separate caching of the same queries by multiple instances of the libraries on the same memcache server, or the library handling multiple domains on the same memcache server; thanks to primeinc;
  • fixed a bug with the insert_bulk method; thanks to Guillermo;

Visit Zebra_Database‘s page

Zebra_Pin, version 1.0 now available

Zebra_Pin is a lightweight (around 2KB minified) and adaptive (things work as expected when you manually resize the browser window) jQuery plugin for pinning elements to the page or to a container element, so that the element stays visible even if the user scrolls the page. This type of elements are also referred to as “fixed position elements” or “sticky elements”.

You can use it in your projects to create sticky sidebars, sticky navigation, sticky headers and footers, or anything else you feel the need to make it stick to the page while the user scrolls.

You can have “hard” pinned elements (elements are pinned to their initial position and stay there), elements that become pinned only when the user scrolls to them, pinned elements that move only inside their parent element.

When elements become pinned a CSS class will be added to them, as specified by the plugin’s “class_name” property.

Also, custom events are fired when elements are pinned/unpinned giving you even more power for customizing the result.

Note that this plugin will alter the target element(s) “position” property to “absolute” and/or “fixed”, depending on the situation, so before calling the plugin make sure that this change will not affect your page’s layout.

Works in all major browsers (Firefox, Opera, Safari, Chrome, Internet Explorer 7+)

Visit Zebra_Pin‘s page

Zebra_Dialog, version 1.3.7 now available

Here’s what’s new in version 1.3.7:

  • added a new “flat” theme
  • fixed a bug where custom buttons were showing up in reversed order;
  • fixed a bug where, since the previous release, you’d have to explicitly return TRUE from a callback function attached to a custom button, in order for the dialog box to close;
  • thanks to store88 for spotting both of the above!

Visit Zebra_Dialog‘s page

Zebra_Tooltips, version 1.2.1 now available

Here’s what’s new in version 1.2.1:

  • fixed a bug where the “show” and “hide” methods were not accepting a jQuery selector as per documentation, but a single element; thanks to Martin for reporting;
  • fixed a bug with the “content” property, where its value was not used unless the “title” attribute was also set on the element the tooltip was attached to; thanks to Phill for reporting;
  • added a new “default_position” property useful if you want the tooltips to be positioned, by default, below the elements they are attached to and above only if there isn’t enough space below; before, tooltips were shown by default above the elements they were attached to and below only if there wasn’t enough above; thanks to Sebastian Popa for suggesting;

Visit Zebra_Tooltips‘s page

Zebra_Tooltips, version 1.2.0 now available

Here’s what’s new in version 1.2.0:

  • tooltip content can now also be set via the “zebra-tooltip” data attribute;
  • tooltips are not shown anymore if the title or the data attribute is empty;
  • all the callback functions now receive as second argument the tooltip element, allowing for on-the-fly customization;
  • minor code tweaks as suggested by JSHint;

Visit Zebra_Tooltips‘s page