You probably know all about rolling your own plugins for jQuery. But did you know that some core jQuery functions have their own "plugin API" called "hooks"?Continue reading "jQuery Hooks"
Many tools come with an installation / setup / configuration procedure. At this stage directories needed by the tool or its components usually don't yet exist. For Smarty based systems this poses a problem, as Smarty writes compiled templates to a designated directory. So if the installer is built upon Smarty, the developer is presented a hen/egg problem.Continue reading "Prevent Smarty from writing compiled templates"
Click events are a godsend from hell. Here's how you can avoid at least one of the many problems they bring to the table: the end of a drag is not a click.Continue reading "Click Events From Hell"