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 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.