Adding noframes Content


A growing number of wireless users who access the Web with phones, PDAs, or pocket PCs can't view frames . Nor can users with disabilities who have specialized browsers. These folks need noframes contentunless you want them all to go away and leave your site alone, never to return.

The content in a noframes element could be an entire alternate Web page, providing all the information a frames-capable user would find in the framed site. A less ambitious noframes element might contain an invitation to the user to click through to a site navigation page or a site index page so that the content you offer could still be accessed.

Search engines also make use of noframes content. Use it to describe the site's key information and provide links for the search engine robots (or other users) to follow.

To add noframes content:

1.
Select the frameset in the Frames panel.

2.
Choose Modify > Frameset > Edit NoFrames Content ( Figure 11.23 ).

Figure 11.23. To set what will be displayed for non-frames-supporting browsers, choose Edit NoFrames Content from the Frameset submenu of the Modify menu.


3.
A blank page appears in the document window, replacing the framed pages ( Figure 11.24 ).

Figure 11.24. The Edit NoFrames Content command brings up an empty NoFrames Content document.


Type or paste the noframes content in this blank window ( Figure 11.25 ).

Figure 11.25. Site information and links are added to the NoFrames Content document.


4.
To return to the frameset, choose Modify > Frameset > Edit NoFrames Content again.

Tip

  • If you preview your site in a regular browser (which has no trouble displaying frames), you won't see the noframes content.


Working with Iframes

An iframe is an inline frame or an inline subwindow. In much the same way that you can insert an image into a page of text, you can insert an iframe. The iframe element inserts an entire miniature view of an HTML page into another page. This is handy when you want some small bit of content to come from somewhere else, in a page that otherwise isn't framed. For instance, those ubiquitous Google AdSense ads you see on many sites are done with iframes.

Dreamweaver isn't equipped to create iframes fresh out of the box, but you can get an extension to add the capability. For instance, one named iFrame Suite contains five extensions for working with iframes. It, along with other extensions related to iframes, are available at the Macromedia Exchange at www.macromedia.com. Appendix B, "Customizing and Extending Dreamweaver," has more information about how to install and use extensions.





Macromedia Dreamweaver 8 for Windows & Macintosh Visual QuickStart Guide
Macromedia Dreamweaver 8 for Windows & Macintosh
ISBN: 0321350278
EAN: 2147483647
Year: 2005
Pages: 239

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