Using Inline Frame Question

  • Thread starter Thread starter Jcraig713
  • Start date Start date
J

Jcraig713

In the web page I am trying to develop, I have a picture of an etch-a-sketch
set as the background picture. The tab links across the top are standard
(home, email, staff). I have set an inline frame to the center of the
etch-a-sketch where I want the content to display depending on what tab/link
across the top are clicked. I have set the initial page to be my welcome.htm
page. Now that I have set the initial page, I cannot see where to add a new
page in the inline frame. The help in FP indicates where to set the initial
page but not how to set additional pages to the frame. Can someone direct me
how to do this. A copy of my code for the inline frame is included below. I
can see where the code is accessing the SRC or welcome page. How do I add
additional line of code to indicate additional pages.

<iframe name="Inline1" width="662" height="424" marginwidth="15"
marginheight="17" border="0" frameborder="0" src="Welcome.htm">
Your browser does not support inline frames or is currently configured not
to display inline frames.</iframe>

In the end, what I want to do is for the initial (welcome) page to display
when the page is loaded. The when I click on home on the tab across the top,
the home page is displayed in the frame then the staff tab is clicked the the
staff page displays in the frame etc. I just do not know how to set the
additional page links to the iframe. For the more experienced developer out
there, is using an inline frame the best way to accomplish what I am trying
to do?
 
Inline frames are not the way to go. You are creating a frames based
website, which creates problems for your users - example, how do you
bookmark a particular page?
If a content page (usually displayed within the frame) is found from a
search engine, where is the navigation?

To answer the question, all links in the main page should specify
target="Inline1" in the link
eg <a href="page.htm target="Inline1">text</a>

All links in pages that open in the frame should not have a target, or
target="_self"
 
If inline frames are not the way to go, what in your opinion is the next best
way to proceed?
 
I would use a DWT to position the navigation and other bits that go on
every page, then create content pages based on the DWT. Each page then has
a full set of navigation and other boilerplate. Provided the website uses
hidden meta data, and you always open the website (on your own computer)
any changes to the DWT will be propagated to each attached page.
If you use asp.NET then use master pages instead of the DWT.
 
Back
Top