Location and Dimensions
The previous chapter concentrated on providing a basic subset of core JavaScript functionality. This one does the same, but there are enough recipes in the collection now that we can also start to create some interesting effects, including resizing and repositioning objects.
image ResizeWidth()
When creating dynamic web pages, you will often need to change the dimensions of objects. You might do this to emphasize a section ...

Get Web Developer's Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.