Creating NoFrames Content


In Dreamweaver, you can create content that is ignored by frames-capable browsers, and is displayed in older and text-based browsers or in other browsers that do not support frames. This information, called NoFrames content, is also used by search engine spiders, screen readers, and portable Internet devices that do not support frames. The NoFrames content you create is placed in the frameset file. When a browser that doesn't support frames loads the frameset file, the browser displays only the NoFrames content.

1.

In the community.html document, select the frameset.

The community.html document is the page the browser loads initially, so the NoFrames content is specified here.

2.

Choose Modify > Frameset > Edit NoFrames Content.

Tip

If the Frameset option in the Modify menu is dimmed, you might have a frame selected.

The Document window changes to display the NoFrames page, and the words "NoFrames Content" appear at the top. This is still the community.html document; you are just seeing a different view of the page's content.

3.

Open the green_page1.txt document; then select and copy all the text. Create the NoFrames content in the Document window by pasting in the text you copied from the green_page1.txt text file.

Alternative content can contain elements from a standard html page. It will be enclosed between the <noframes> and </noframes> tags. Only browsers that do not support frames see this content. The content should be relatively simplebrowsers that do not support frames are likely to not support JavaScript, image maps, and other types of complex elements. Some Websites use NoFrames content to provide simple alternative pages or to direct users to a text-based version of the Website, whereas other sites use NoFrames content to display a message to users that the site is available only to frames-capable browsers.

4.

Make sure there is a checkmark next to Modify > Frameset > Edit NoFrames Content.

The Document window changes to hide the NoFrames content and returns to the normal view of the frameset document.

Note

When you finish editing the NoFrames content, you might be inclined to close the window because you can't see the original document. If you do, you close the frameset and all the frame pages. You then have to open them up again if you want to continue editing them.

5.

Choose File > Save All and close all your documents.




Macromedia Dreamweaver 8(c) Training from the Source
Macromedia Dreamweaver 8: Training from the Source
ISBN: 0321336267
EAN: 2147483647
Year: 2006
Pages: 326

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net