Đang chuẩn bị liên kết để tải về tài liệu:
Beginning DotNetNuke 4.0 Website Creation in C# 2005 with Visual Web Developer 2005 Express phần 9

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Hình 11-9. Một trang trống dựa trên da DNN-Blue Bạn có thể thấy các thẻ trong hình 11-8 và làm thế nào họ nhận được dịch sang điều khiển trong hình 11-9. Bạn cũng có thể thấy các tế bào bảng ở trung tâm của hình 11-8 giữa các mẩu bánh mì và thẻ KHOẢN. | 304 CHAPTER 11 CREATING A DNN SKIN Page Functions f Add New Moduir f - Add Tideting Module Common Tasks X -ã z Module-1 Select A Mcdue 1 Pane 1 Contentpane _xJ E B G V Ad Settirqs Delete Copy Preview Title 1 Insert 1 Bottom Add Wizard ate Users Flies Heb zl Align Reft zj Hutlie Events Piloto Gallery Discussions Cunlact Us Guestbook Admit Host 1 Search Thursday March 30 2006 ĨĨ Guestbook Suprri leer Account logout TopPane LeftPane Contentpane Rightpane BottomPanc Copyright c 2006 skin Test Terms of Use Privacy statement CcilktrlJ ACil opyri 2C02-2X6 by PsrparuJ Mouse Irr ti Oj SyHsrrs Inc. Figure 11-9. A blank page based on the DNN-Blue skin You can see the tokens in Figure 11-8 and how they get translated to controls in Figure 11-9. You can also see the table cells in the center of Figure 11-8 between the BREADCRUMB and TERMS tokens. These table cells correspond to the placement of the panes in Figure 11-9. Pretty cool huh But where is all the blue stuff and images shown in Figure 11-8 This picture only shows the layout. Remember I said that the look and feel is contained in the .css file. VWD has a neat feature with which you can instantly overlay a .css file onto a layout template. In the Solution Explorer click the skin.css file. Now drag it over and drop it on the design panel showing the layout. Make sure you drop it outside the table. You can tell because a blue box appears wherever your mouse is as you drag the .css file around the design page. You want the blue box to be the whole page. Figure 11-10 shows the result. Figure 11-10. CSS applied to the layout CHAPTER 11 CREATING A DNN SKIN 305 If you look at the source for this page you will see a new line at the top of the page link href . . Skin DNN-Blue skin.css rel stylesheet type text css This line of code was added by the IDE to associate this style sheet to the layout. Creating the Images This new skin will contain three images one is the logo one is the horizontal gradient used in the copyright and .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.