Navigation Bar Help

  • Thread starter Thread starter TaraB
  • Start date Start date
T

TaraB

I am new to front page but not development. I've never had to use FP
before but I'm working with a small comany and i'm working with Front
Page 2002. I have my navigation structure built as follows:

Home
--About Us (child of home)
--Management (child of About Us)
--Office Staff (child of About Us)
--Contacts (Child of Home)


I am using frames with a page in the left frame with a navigation bar
that is based on the FP navigational view. I can see in my nav bar
Home, About US, and Contacts. But I cannot see the child pages of
About US. I currenlty have my nav bar set on "Children of Home". If
I set it to "Child Level" all I see is home.


I want to make it so either when someone clicks on About us they see
the other two links OR the other two links are simply visiable. I
cannot figure out how to do either. Also the pages open up in new
pages and I want them to open in the main frame (lower right) how do i
do this?


Thanks
Tara
 
TaraB said:
I am new to front page but not development. I've never had to use FP
before but I'm working with a small comany and i'm working with Front
Page 2002. I have my navigation structure built as follows:

Home
--About Us (child of home)
--Management (child of About Us)
--Office Staff (child of About Us)
--Contacts (Child of Home)


I am using frames with a page in the left frame with a navigation bar
that is based on the FP navigational view. I can see in my nav bar
Home, About US, and Contacts. But I cannot see the child pages of
About US. I currenlty have my nav bar set on "Children of Home". If
I set it to "Child Level" all I see is home.


I want to make it so either when someone clicks on About us they see
the other two links OR the other two links are simply visiable. I
cannot figure out how to do either. Also the pages open up in new
pages and I want them to open in the main frame (lower right) how do i
do this?

Weeel!
I wouldn't use frames or nav bar to do this.

I used to use frames but found that I could get by quite well without them.

All pages can be standard (non-frame) pages. But in each page use an
Insert
WebComponent..
Included Content
Page
Click Finish and you will be asked for the page to include

The page you include is a standard page containing all the links, including
those at the lower level. I also put the heading in this page
So it contains
<div id="heading">
<1-- heading in here-->
</div>
<!-- End div id="heading" -->

<div id="leftnav">
<!-- all links in here as follows -->
<table>
<tr>
<td>
<a href="index.html" target="_self" title="Home Page">
Home Page
</a>
</td>
</tr>

<tr>
<td>
<a href="about.html" target="_self" title="About Us">
About Us
</a>
</td>
</tr>

<tr>
<td>
<a href="management.html" target="_self" title="Management">
Management
</a>
</td>
</tr>

<tr>
<td>
<a href="staff.html" target="_self" title="Office Staff">
Office Staff
</a>
</td>
</tr>

<tr>
<td>
<a href="contact.html" target="_self" title="Contact Us">
Contact Us
</a>
</td>
</tr>
</table>
</div>
<!-- End div id="leftnav" -->

But you need to make <div id="leftnav"> position to the left of the main
<div>

To do this place the content of each page in a named <div>, e.g. <div
id="content">
Then, add this CSS
#leftnav , #content { float: left;}

This can be placed anywhere between <head> and </head> by enclosing it in
<style type="text/css">
</style>

Or you can place it in an external file, say "style.css" and add this in the
<head>
<link rel="stylesheet" type="text/css" href="style.css" />

A simple example of this is a club site I am setting up:
http://tandcl.homemail.com.au/action/
 
FP Navigation components are not designed to be use with Frames.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
Back
Top