Dreamweaver Building Blog (5): implementation of columns and replies

Source: Internet
Author: User
Tags dreamweaver
Dreamweaver

dreamweaver Construction Blog full record (1)· Dreamweaver Building Blog (2): Building a development environment

Dreamweaver Building Blog (3): Database design and Connectivity · Dreamweaver Building Blog (4): The Realization of home page 

In the fourth chapter of the completion of the home page is actually very imperfect, one is the note menu columns do not have links, can not click; the second is to click the note title, can not link to the reply page; Third, click on the author, can not link the author's information. These features will be perfected in this chapter.

5.1 Note Menu Columns implementation

Design idea: Modify the hyperlink in the menu column in the template bkblog.dwt.aspx, and then update all the pages; When you open the first page, browse to display the contents of the notes in descending order, click on the menu columns, and then sort the contents of the notes in descending chronological order according to the columns.

  5.1.1 Create Template Menu

(1) Open the template bkblog.dwt.aspx, select dynamic text (MENUDA.LM), create hyperlinks, link to the home page (index.aspx), select Code display view, and move the mouse to the red vertical line shown in Figure 5-1-1. (There is no special indication that all symbols are in English characters)

Figure 5-1-1 Mouse move to link properties

(2) Enter "? menanw=" (MENANW is the parameter variable), switch to the bindings panel, drag the field under the DataSet (Menuda) Lmid to the equals number you just entered, the result is shown in Figure 5-1-2:

Figure 5-1-2 Insert dynamic Property (A.HREF)

(3) switch to the server behavior panel to see that a server behavior has been added: Dynamic Properties (A.HREF), as shown in Figure 5-1-3:

Figure 5-1-3 Server Behavior panel

(4) Select "Home" menu, create link to index.aspx, select "Contact Us", create link to mailto:wen110@21cn.com.

(5) Save the bkblog.dwt.aspx template, which will pop up the dialog shown in Figure 5-1-4.

Figure 5-1-4 Update template file dialog box.

(6) Click the "Update" button, complete the note menu compartment, and update the home index.aspx.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.