
Chapter 21
504
Previewing in browsers
It’s a good idea to test your pages by previewing them in browsers often
throughout the Web design and creation process. By using this strategy, you can
catch errors early and not copy or repeat them.
You can preview documents in your target browsers at any time; you don’t have to
save the document first. All browser-related functions work, including JavaScript
behaviors, document-relative and absolute links, ActiveX controls, and Netscape
plugins, provided that you have installed the required plugins or ActiveX controls.
Content linked with a root-relative path does not appear when you preview
documents in a local browser. This is because browsers don’t recognize site roots,
servers do. To preview content linked with root-relative paths, put the file on a
remote server and view it from there. (For more information, see “Root-relative
paths” on page 357.)
You can define up to 20 browsers for previewing. All the browsers you define
appear on the Preview in Browser menu. It’s a good idea to preview in the
following browsers: IE 3.0 or 4.0; Netscape 3.0 and 4.0, and at least one text-only
browser like Lynx.
To preview your document in a browser, do one of the following:
•
Choose File > Preview in Browser, then choose one of the listed browsers.
1
If you haven’t selected a browser yet, choose Edit > Preferences > Preview in
Browser to select one.
•
Press F12 to display the current document in the primary browser.
•
Press F12 (Windows) or F12 (Macintosh) to display the
current document in the secondary browser.
To change your primary browser or define a secondary browser:
1
Choose File > Preview in Browser > Edit Browser List or Edit > Preferences and
select the Preview in Browser tab.
2
Set previewing preferences as desired.
Содержание 38028779 - Macromedia Dreamweaver - Mac
Страница 1: ...macromedia Using Dreamweaver...
Страница 148: ...Chapter 4 148...
Страница 296: ...Chapter 12 296...
Страница 472: ...Chapter 18 472...
Страница 512: ...Chapter 21 512...
Страница 562: ...Appendix 562...