Collecting and organizing snippets


    You collect snippets in the Snippets tab of the Library palette. When you save a site-specific snippet, GoLive adds a corresponding source file to the site's web-data folder and displays it in the site-specific section of the Snippets tab in the Library palette and in the Snippets folder in the Extras tab in the site window. Snippets are not limited to HTML--for example, you can drag image files from the site into the Snippets tab of the Library palette.

    GoLive includes many preset snippets for common Web design tasks. These presets are organized in the application-wide group in the Snippets tab of the Library palette.

    TipCollect snippets in the site-specific section of the Snippets tab in the Library palette if you plan to work with the site on more than one computer. That way, the snippets will be included in the site project file, which moves between computers.

To create a snippet:

  1. Open a site.
  2. Select the text, object(s), or source code in GoLive or another application. You can also select a snippet from another site.
  3. Note: To select paragraph formatting for text in the Layout Editor, you need to select the paragraph or heading element in the markup tree bar at the bottom of the document window.

  4. Drag the selection from the document window or another site window into the application-wide or site-specific section of the Snippets tab of the Library palette.
  5. Note: Site-specific snippets are stored in the site's web-data/Snippets folder and appear in the Snippets tab of the Library palette and the Snippets folder in the Extras tab of the site window.

To name a snippet:

    Select the snippet in the Snippets tab of the Library palette and type a new name.