tailieunhanh - The Essential Guide to Dreamweaver CS4 with CSS, Ajax, and PHP phần 7
và nhấn Xóa loại bỏ các phụ tùng, nội dung, kịch bản khởi tạo, và tất cả các liên kết đến các tập tin phụ thuộc. Thêm nội dung accordion jQuery chỉ đơn giản là một vấn đề thay thế các văn bản giữ chỗ, vì vậy nó là một trong những vật dụng của bên thứ ba dễ dàng nhất để sử dụng. | PRESERVING DESIGN INTEGRITY WITH TEMPLATES AND INCONTEXT EDITING Figure 13-11. Before updating child pages you need to decide what to do with content from regions that no longer exist. 11. You want the new content in the h3 heading to replace the original text. So highlight sidebarHead in the Inconsistent Region Names dialog box and open the Move content to new region drop-down menu. This contains a list of all editable regions in the page plus three other entries Nowhere This discards the content. doctitle This is the page s title tag. Although it s an editable region you should not move the content here. head This is an editable area just before the closing head tag which is intended to let you add links to style sheets and external JavaScript files in child pages. Dreamweaver also uses it to insert JavaScript functions for behaviors. Again you should not move content here. Select Nowhere to discard the old h3 heading that was in sidebarHead. 12. The child pages that you have created contain only dummy text in what used to be the sidebarTop editable region so you could tell Dreamweaver to discard it too. However let s imagine that it contains vital content. To avoid losing it you must move it elsewhere. Since it s already in the sidebar I suggest moving it to the sidebarFollow editable region. Highlight sidebarTop in the Inconsistent Region Names dialog box and select sidebarFollow in the Move content to new region drop-down menu. 13 The Use for all button moves all unresolved content to the same location as selected for the currently highlighted region. 555 THE ESSENTIAL GUIDE TO DREAMWEAVER CS4 WITH CSS AJAX AND PHP 13. The settings in the Inconsistent Region Names dialog box should now look like this Click OK to save the changes and update the child pages. Click Close to dismiss the update report. 14. The top of both child pages now contains a fixed h3 heading and a repeating region containing a dummy item for an unordered list as shown in Figure 13-12. Figure
đang nạp các trang xem trước