|
To access the contents, click the chapter and section titles.
Platinum Edition Using HTML 4, XML, and Java 1.2
When you click OK in the Include Page dialog box, youll initially see the URL you entered displayed in italic on the Normal tab. FrontPage will try to access the file and build it in right then for you, but if it cant, youll continue to see the italicized URL. On the HTML tab, youll see a chunk of code such as the following: <!--webbot bot=Include u-include=copyright.htm tag=BODY --> Using the Scheduled Image ComponentAnother Web site task thats often hard to keep track of is posting and removing time-sensitive content. You may remember to post the content at a certain time, but it is easy to forget about removing it after it has expired unless you marked it on your calendar. FrontPage can help you with these situations with its Scheduled Event Components. The first of these is the Scheduled Image Component that you can use to place an image on a page at a specific time and to remove or replace it at a later time. To place a Scheduled Image Component, follow these instructions:
After you configure the Scheduled Image and click OK, the image or its alternate will show up on the Normal tab if FrontPage can access it. On the HTML tab, youll see code similar to the following: <P><!--webbot bot=ScheduledImage U-Src=holiday_banner.jpg U-Else-Src=normal_banner.jpg D-Start-Date=30 Nov 1998 08:25:47 D-End-Date=04 Jan 1999 08:25:47 --></P> Using the Scheduled Include Page ComponentThe Scheduled Include Page Component works in a way that is similar to the Schedule Image Component. The primary difference is that the Scheduled Include Page Component builds in the contents of an entire page for a specified period of time, rather than only an image. When you choose Insert, FrontPage Component, or click the Insert FrontPage Component toolbar button and then select the Scheduled Include Page Component, youll see a dialog box thats virtually identical to the one you saw in Figure 10.10. The only difference is that you are prompted to provide the URL of an HTML file and not the URL of an image. Note that you can display one file during the scheduled time and specify an alternate file to use before and after the scheduled display times. Assuming FrontPage can access it, your Scheduled Include Page (or its alternate, depending on the timing) will appear on the Normal tab of the FrontPage Editor. The code for the Scheduled Include Page Component on the HTML tab will look something like the following: <!--webbot bot=ScheduledInclude u-include=pageone-halloween.htm u-else-include=pageone.htm d-start-date=31 Oct 1998 00:01:00 d-end-date=01 Nov 1998 00:01:00 --> Using the Table of Contents ComponentA table of contents can be another one of those site elements that is a pain to maintain. Because tables of contents are also a valuable service to your visitors, its important to make an effort to try to keep yours current. FrontPage can help you with this task by providing you with the Table of Contents Component. To place a Table of Contents Component on your site, choose Insert, Table of Contents to reveal the Table of Contents Properties dialog box you see in Figure 10.11. Here you specify the file that is the starting point for your table of contents. FrontPage will follow all the links on the page and catalog the files it find along the way. Then FrontPage traverses the links it finds on these files, and so on, until it has generated a table of contents for the entire site.
Note also in the dialog box that you have control over the heading style used to render the table of contents. You can also specify that each file appear only once (a good idea if you have a lot of multiple linked files on your site) and that pages with no incoming hyperlinks appear (a good idea if you have many standalone pages). The Recompute feature is perhaps the nicest part of the Table of Contents Component because it will automatically redo the table if you make changes to any of the files.
When the Tables of Contents Component is placed on your page, it will appear as a bulleted list of links on the Normal tab. You can follow the links by holding down the Control key while you click them. On the HTML tab, youll see a call to the Outline bot as follows: <!--webbot bot=Outline U-URL=index.htm B-Aggressive-Trimming=TRUE B-Show-Orphans=TRUE B-Manual-Recalc=FALSE I-Heading=1 TAG=BODY -->
|
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement. |