
Adobe
Applying unobtrusive code refers to the practice of
maintaining clean semantic HTML markup that is free of any attributes that
introduce custom behaviors. Any custom behaviors that are introduced into your
HTML page should be defined in a single place—inside a SCRIPT tag located in
the head section of the page. This will enable the InContext Editing service to
unobtrusively attach editing functionality to specific elements when the page
loads in the browser. Using unobtrusive code has the following advantages:
In this tutorial, you'll complete the following tasks:
The estimated completion time for this tutorial is about 45 minutes, depending on your knowledge of Adobe Dreamweaver and InContext Editing.
To avoid potential problems, be sure to follow the sections of the tutorial in order.
In order to make the most of this article, you need the following software and files:
You should be familiar with Dreamweaver CS4 and using the Adobe Extension Manager. You will be using the Insert panel, and work in Design and Code views.
Razvan Cotlarciuc is a member of the Dreamweaver development team. When he is not working on job-related projects, he enjoys learning new technologies, photography, surfing the Internet, and playing tennis.