ONLINEGRAPHICPROOFING.COM

sell images online - www.onlinegraphicproofing.com

Menu


Use transparent GIFs: Checking this box ensures that the last row of the table has a 1 pixel by 1 pixel transparent GIF added to its cell.


This is especially useful for guaranteeing consistent widths across all browser versions. Leave this option unchecked. Center on page: Click this box to center the table on the page. Leave this option unchecked. The rest of the features in this dialog exist for the reverse process (that is, converting tables to layers). In this scenario, these check boxes merely provide viewable options such as the Layers panel, the Grid, snapping, and so on. When you finish making the necessary adjustments, click OK. Immediately, our layers-based page is converted to a table with a few minor discrepancies. For instance, it seems as though we lost our background image for the header. To add it back in, simply place your cursor in the cell and use the point-to-file icon in the Bg field to browse to the header_bg.gif image. Finally, save your work as index_netscape.htm. Now try testing the page in an older version of Netscape. NOTE If you don't have an older version of Netscape, you can download all archived versions at the following URL: http://wp.netscape.com/download/archive.   As you can see from Figure 11.19, the page looks as it did in newer browser versions using layers. Figure 11.19. The page using tables looks as good in Netscape 4.7 as it did in newer browser versions using layers. [View full size image]   The last thing you'll want to do is add the Check Browser behavior to the index.htm page. This behavior allows us to create functionality such that when the user visits the index.htm page using a Netscape 4.x browser, the user is automatically redirected to index_netscape.htm. However, if users visit the index.htm page using a newer browser model, the users stay right where they are, on the layers-based index.htm page. To add this behavior, follow these steps: 1. Open index.htm. 2. Open the Behaviors panel by choosing the Behaviors option from the Window menu. 3. Choose the <body> tag from the Tag Selector and choose the Check Browser option from the Add Behavior list in the Behaviors panel. The Check Browser dialog appears. 4. In the dialog, enter the value 4.7 in the Netscape Navigator Version text box. Also select the Stay on This Page option from the Otherwise menu. Because Internet Explorer 4 can display the layers page just fine, select the Stay on This Page option from both of the Internet Explorer menus. Also select the Stay on This Page option from the Other Browser menu. Finally, type the index_netscape.htm path in the URL text box. When you finish, the Check Browser dialog resembles Figure 11.20. Figure 11.20. Configure the Check Browser behavior so that users visiting your site using Netscape 4.7 browsers are automatically redirected to the correct page. 5. Click OK. With the layers-based page still open, try to preview your page in Netscape 4.7. Notice that you are automatically redirected to the index_netscape.htm page.