Complete the header, menu, nuggets, and footer panels

Now that the AJAX panels were created, start working on their content. In this tutorial topic you will complete the "stable" panels (that display the same content no matter where you find yourself within the site).

Open the index page, if necessary, and follow the instructions below to edit the "stable" panels in the site:

  1. Header

  2. Menu

  3. Nuggets

  4. Footer

Edit the Header panel

In the AJAX Panels tab of the Files panel, click the Header (default state) item in order to make it editable in the index master page. Then in Design view, click inside the Header panel and follow the steps below:

  1. Remove all the sample text (press Ctrl+A, and then Delete).

  2. In the empty panel, proceed similar to here (steps 1-3) to insert the logo_InterAKT.png image from the logos folder in the site root.

  3. Press the right arrow to deselect the inserted image, and then space. Enter the following text: Simplifying web development. Select the text and make it italic (press Ctrl+I).

  4. To make the image and the text nicely aligned, select the image (single-click), and in the Align drop-down menu from the Property Inspector, select the Absolute Middle option.

After following the steps above, the index page in Dreamweaver, in Design view, should look like this (regarding the Header panel):

 

Save the index file and upload it to the server. You can preview it in browser (press F12) if you want to, but only the site header is ready so far.

Edit the Menu panel

In the AJAX Panels tab of the Files panel, click the Menu (default state) item in order to make it editable in the index master page. Then in Design view, click inside the Menu panel and follow the steps below:

  1. Remove all the sample text (press Ctrl+A, and then Delete).

  2. As the first menu item, type Home.

  3. In four new paragraphs below, type respectively: MX AJAX Toolbox, News, Portfolio, Contact.

  4. Transform each of the five menu items into AJAX links, pointing to states of the master panel (Content):

After following the steps above, the index page in Dreamweaver, in Design view, should look like this (regarding the Menu panel):

 

Save the index file and upload it to the server. You can preview it in browser (press F12) if you want to, but only the site header and menu are ready so far.

Note: Although in Dreamweaver, in Design view, the MX AJAX Toolbox menu item spreads on two rows, in browser it is displayed in a single row.

Edit the Nuggets panel

In the AJAX Panels tab of the Files panel, click the Nuggets (default state) item in order to make it editable in the index master page. Then in Design view, click inside the Nuggets panel and follow the steps below:

  1. Remove all the sample text (press Ctrl+A, and then Delete).

  2. Switch to Code view and enter the following code line where the cursor is placed (the only place where you can enter anything):

    <div style="width: 148px; margin-left: 15px;"></div>

                            
    This way, you are creating a container for the two AJAX controls that you are adding here (a collapsible region and an accordion) so that they won't display right next to the orange border, but a little to the right.

  3. Place the cursor right before </div> and then switch back to Design view.

  4. Launch the AJAX Collapsible Region Wizard from the MX AJAX Toolbox tab of the Insert bar. Configure its dialog box as shown below:


                                    

  5. Notice the new translator (representation in Design view of the elements added) in page. Since this is an inline collapsible region, if you click the title bar, the element will expand (allowing you to edit its content) and collapse with consecutive clicks.

  6. Since the content for the collapsible region is inline, you can edit it right here and now. Place the cursor inside the collapsible region body (either in Code view, or in Design view when expanded), and replace the default text ("Dreamweaver 8.0.2" region content here.) with: Dreamweaver 8.0.2 brings significant improvements in the generated code regarding server behaviors and active content such as Flash! Do not hesitate, upgrade now!

  7. Switch to Code view and create a new code line (press Enter) above the very final </div> in that editable code section. Then enter the following code to create two new paragraphs:

    <p>&nbsp;</p>
    <p></p>


    Place the cursor between the second <p> and </p>, and then switch to Design view.

  8. Launch the AJAX Accordion Wizard from the MX AJAX Toolbox tab of the Insert bar. The wizard has two steps.

  9. Configure the first step of the AJAX Accordion Wizard as shown below:


                                   

  10. In the second step of the AJAX Accordion Wizard you get to specify the regions titles:


                                   

  11. Notice the corresponding translator added in page.  Since this is an inline accordion, if you click any of the title bars, the respective accordion region expands (if not already expanded), allowing you to edit its content.

  12. Since the accordion content is inline, you can edit it right here and now:

After following the steps above, the index page in Dreamweaver, in Design view, should look like this (regarding the Nuggets panel):

 

Save the index file and upload it to the server. You can preview it in browser (press F12) if you want to. Only the site header, menu, and nuggets column are ready so far.

Edit the Footer panel

In the AJAX Panels tab of the Files panel, click the Footer (default state) item in order to make it editable in the index master page. Then in Design view, click inside the Footer panel and follow the steps below:

  1. Remove all the sample text (press Ctrl+A, and then Delete).

  2. In the empty panel, enter: © InterAKT Online. All rights reserved. Select the text (Ctrl+A) and make it italic (Ctrl+I).

After following the steps above, the index page in Dreamweaver, in Design view, should look like this (regarding the Footer panel):

 

Save the index file and upload it to the server. You can preview it in browser (press F12) if you want to. The four "stable" panels are now completed.

Move on to the next topic to complete the master panel with its five states.