O'Reilly logo

Web Developer’s Cookbook: More Than 300 Ready-Made PHP, JavaScript, and CSS Recipes by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 23
image
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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required