• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 3. Designing Web Pages > Adding a component using a placeholder

Adding a component using a placeholder

Now you'll add the navigation bar to the home page using the component that you created earlier in this lesson. First you'll add a component placeholder to the page, and then you'll link the placeholder to a file in the site's Components folder.

1.
Drag the Component icon from the Smart set () in the Objects palette to the upper left corner of the page.

Adding component placeholder to page

A component placeholder is added to the page.

2.
Select the component placeholder, and the Inspector changes to the Component Inspector. Drag from the pick whip button () in the Component Inspector to navbar.html in the Components folder in the site window. (Remember that the Components folder is displayed in the Extras tab in the right pane of the site window.)

The navigation bar is added to the top of the page.

3.
Choose File > Save to save the home page.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint