Dreamweaver Library Items
Library items within Dreamweaver are another means for you, as a designer, to
maintain consistency throughout your site. Imagine that you have a navigation
bar on every page that contains links to all the other pages on your site. It??™s
highly likely that you??™ll eventually (probably more than once) need to make
changes to the navigation bar. In a traditional Web development environment,
you must modify every single page. This creates numerous opportunities for
making mistakes, missing pages, and adding code in the wrong place. Moreover,
the whole process is tedious??”ask anyone who has had to modify the copyright
notice at the bottom of every Web page for a site with more than 1,000 pages.
One traditional method of updating repeating elements is to use server-side
includes. A server-side include causes the server to place a component, such as a
copyright notice, in a specified area of a Web page when it??™s sent to the user. This
arrangement, however, increases the strain on your already overworked Web
server, and many hosting computers do not permit server-side includes for this
reason. To add to the designer??™s frustrations, you can??™t lay out a Web page in a
WYSIWYG (What You See Is What You Get) format and simultaneously see the
911
IN THIS CHAPTER
Understanding Dreamweaver
Library basics
Making and inserting Library
items
Managing your Dreamweaver
Library
Dreamweaver Technique:
Building a Library Item
Updating your Web sites with
Libraries
Dreamweaver Technique:
Applying and Modifying Library
Items
Using server-side includes
Using Repeating Elements
server-side scripts (unless you??™re using Dreamweaver).
Pages:
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562