tailieunhanh - Sams Teach Yourself Microsoft Expression Web 3 in 24 Hours- P13

Sams Teach Yourself Microsoft Expression Web 3 in 24 Hours- P13: Morten Rand-Hendriksen is the owner and creative director of Pink & Yellow Media, a boutique-style design company providing digital media consulting and creations for individuals, businesses, and broadcast television. He was awarded the Microsoft MVP (Most Valuable Professional) Award for his work with Microsoft Expression in 2008. | 342 HOUR 19 Dynamic Web Templates FIGURE You need to manually add the editable regions outside of the body tag in Code view. grayed out see Figure . It is also important to note that even though the Keywords section remains editable Expression Web 3 still inserts the words you added in the DWT. After the application creates the new page you can edit add to or delete those words without the changes affecting the DWT or the other pages. FIGURE The Description meta tag was not defined as an editable region in the DWT and is therefore inaccessible in the Page Properties dialog of the pages created with this DWT. WOut You can insert and edit only the editable regions in the DWT that are outside the body tag in Code view. If you highlight code outside of the body tag and use the Manage Editable Regions dialog to add a new editable region Expression Web 3 places the new region inside the body tag and wraps all the content. There is also no support for this particular code set in IntelliSense so you have to write all the code. On the upside there are only two variations of the editable region code the begin editable region code -- BeginEditable regionName -- and the end editable region code -- EndEditable -- . If you can t remember these two code segments scroll down further in the document copy the code from a different editable region paste it where you want the editable region and change the region name. Understanding Dynamic Web Templates 343 Editing Content Outside the Editable Regions in Individual Pages Although I do not recommend it you can manually change the content outside of the editable regions in individual pages. While in Design view the only selectable areas are the editable regions. But if you switch to Code view you can modify the code manually. In a page created from a DWT Expression Web 3 highlights all the code defined by the DWT in yellow in Code view. The highlighting tells you exactly which areas the template controls externally .