17. Using Code Snippets and Libraries

What You’ll Do

Introduce Snippets

Insert a Snippet

Edit Existing Snippets

Create Snippets

Introduce Assets and Libraries

Use the Assets Panel

Insert an Asset

Work with Site Assets

Work with Color and URL Assets

Work with Favorite Assets

Create and Insert Library Items

Edit Library Items

Work with Library Items

Create an External JavaScript Library

Insert and Edit an External JavaScript

Use Server-Side Includes

Introduction

The Snippets panel is a collection of Scripts (called Snippets) that you can drop into your Web pages. Essentially, a snippet is a pre-built selection of code. The Snippets panel in turn acts like a code library, with sections or folders for different snippets. There are ten major ...

Get Adobe Dreamweaver CS3 On Demand 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.