8. Manipulating Web Page Layout Dynamically

One of the coolest interactions that you can make with web pages is to rearrange elements on the page based on user interaction. For instance, you can make elements bigger or smaller and even change the position. Additionally, you can change the visibility of elements, hiding them when you don’t need them and revealing them when appropriate.

This chapter focuses on the methods to manipulate elements in such a way that it alters the basic layout of the page. The phrases are designed to give you usable examples that apply to an array of purposes.

Get jQuery and JavaScript Phrasebook 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.