★ wanayoo — archive 1999 http://www.raycone.com/Designer/Tips.htmlNouvelle recherche | Portail wanayoo
Raycone.comNewsProductsSupportDownloadDiscuss
InSite Designer
Screenshots
Buy
FAQ
Tips
Feature Request
Report Bug
Download Trial

Fight for your right to standards!
Raycone is a member of Web Standards Organization
Designed with InSite Designer
 
   

Raycone InSite Designer Tips

Flexible web site navigator

(Your server must support Server Side Includes for this to work.)
WHY?  Your web site grows and there are so many pages that it takes a lot of time to put navigator bars on all of them even if you have created a separate navigator and copy-paste it on all pages. The structure of your site may change. You may want to add some new pages. And to have all your navigators always up-to-date takes a lot of time. If you use flexible web site navigator, you'll just have to write the number of files how many different navigators you want. To put the navigator on a page you'll just insert one line into the page. If the structure of your site changes. You just edit the file and all pages using this file as a navigator will be up-to-date.

HOW TO CREATE IT?  It will probably be a table eventhough it is possible to avoid tables but table navigator is probably the best. But how to create tables when InSite Designer doesn't support them? Well, the Visual editor in InSite Designer doesn't support tables but you may still use them and write them in the HTML editor. However, the navigator will be an ordinary text file so you can write it in any text editor.

Create a text file and type into it:

<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR VALIGN="TOP">
<TD VALIGN="TOP" BACKGROUND=/old?u=http%3A%2F%2Fwww.raycone.com%2FDesigner%2F%26quot%3B%3CI&y=1999>type the path to your navigator's background image file here">
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR><TD>type the HTML code for the 1. line of your navigator here</TD></TR>
<TR><TD>type the HTML code for the 2. line of your navigator here</TD></TR>
...
<TR><TD>type the HTML code for the last line of your navigator here</TD></TR>
</TABLE></TD>
<TD>&nbsp;&nbsp;&nbsp;</TD>
<TD>

HOW TO PUT IT ON A PAGE?  Open the page in the HTML editor or in any text editor and insert this line after the <BODY> tag:
<!--#include virtual="type the path to the navigator file here"-->
and just before the ending </BODY> tag:
</TD></TR></TABLE>

And that's it. An example is the navigator on this site.

The entire Raycone site is webmastered in InSite Designer
Thank you for your visit visitor number 528 of his page since 2000/01/01.
With any comments or contributions contact Webmaster.
Copyright 1999-2000 Raycone. All rights reserved.