Using JavaScript to Arrange Content Dynamically

JavaScript can be used with Cascading Style Sheets to change the look of a page’s content in response to a user action. Here’s an example: Two writers share a blog named Backup Brain (www. backupbrain.com). One of the writers prefers small, sans serif type, and the other one finds it easier to read larger, serif type, so the blog has buttons that change the look of the site to match each person’s preference. Of course, site visitors can use the buttons to switch the look of the type, too, and the site remembers the visitor’s choice for...

read more