CHAPTER 23
Solutions to Common Problems
A number of JavaScript recipes didn’t fit clearly within any of the previous chapters in this section, so I’ve included them here. They offer features such as keeping your copyright notices current each new year; creating a less intrusive in-browser alert window that doesn’t prevent you from accessing the rest of the current document; a function to provide tooltips for any object; the ability to add cursor trails to the mouse pointer; and a way to make a web page touch-enabled for use with tablet computers and other touch devices.
RollingCopyright()
This simple recipe is worth using on any pages where ...
Get Web Developer's Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.