Bring users back with a
button
Creating an intuitive navigational interface for a
Web site isn't an easy task, especially when your page numbers start growing
into the hundreds or even thousands. One thing most developers agree on, however,
is that the navigation should be so simple users never have to click their
browser's Back button to get around. Sure, there are times when you need to
direct visitors back to a previous page, but for those moments it's best to have
a button within the page.
In FrontPage you can easily create a custom Back
button by using one of the many FrontPage Components available in the FrontPage
Editor. Just position the cursor on the page where you want the button to appear
and select Insert/FrontPage Component. Choose Insert HTML from the Component
list and click OK. In the Insert HTML dialog box, enter the following:
<FORM><INPUT type="button"
value="Back" onClick="history.go(-1)"></FORM>
Click OK again, and you have your very own Back
button. Your visitors will thank you for it.
Make a quick global change
When's the last time your company moved and you had
to change its address everywhere it appeared on your Web site? To make this or
any other global tweak, you'd most likely open each file, correct the text, save
the file, and then publish it. For larger Web sites, you may have to repeat this
routine dozens or even hundreds of times. That is, unless you know this
FrontPage 98 trick.
If you have any kind of common information that
you want to display on more than one page on your site, create a variable for it.
Variables act as placeholders--when it comes time to change the information, all
you need to do is modify the associated variable and FrontPage automatically
updates every instance of that variable, saving you the headache of performing
the same task over and over again.
Suppose you want to include your company's phone
number on multiple pages in your site (or even multiple locations on a single
page) and make it easy to edit in the future. Simply select Tools/Web Settings
in FrontPage Explorer, click the Parameters tab, and then the Add button. In the
Name field, type Company Phone. In the Value field, enter your phone
number. Click OK twice, and your variable is set.
Now open the FrontPage Editor by double-clicking
the pages in your Web that you want to include your company's phone number. Move
the cursor to the location in which you'd like the number to appear, and then
select Insert/FrontPage Component. Now choose the Substitution component and
click OK. From the drop-down list that appears, select your Company Phone
variable and click OK.
Your company's phone number will appear on the
page and take on any formatting characteristics you have set for that area. Now,
if your area code or entire phone number changes, you can simply go back to the
Web Settings dialog box and type in a new value for the Company Phone variable.
FrontPage automatically updates all occurrences of that variable in your site.
Author: From
Web
Building
|