Using Inline Frames (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


jcraig713 -> Using Inline Frames (4/7/2009 15:28:26)

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>

For the more experienced developer out there, is using an inline frame the best way to accomplish what I am trying to do?







TexasWebDevelopers -> RE: Using Inline Frames (4/7/2009 16:37:19)

You are doing well to ask some of these questions in advance--it will save you a ton of wasted time dowbn the road.

First, don't use frames or tables to build your site. Use CSS. This separates the html (content) from the page layout and styles (CSS).

Check out http://www.csszengarden.com to see how the exact same html can be displayed VERY differently just by changing the CSS stylesheet.

Modern web sites are build two different ways--
(1) a page template is created and content is added. The page is uploaded. Navigation links connect the physical pages. Nothing wrong with this method and beginners usually take this approach because it makes more sense to them. Because you may have a zillion pages it's good to learn how to use "includes". These are nothing more than bits of pages sitting off in your root folder and are "included" on every page (or not, depending). So folks make their header, footer, navigation, and things like database connections include files. Change the header page and it automatically changes on every page where it is "included". This is also why you want to use an external CSS style sheet. Change the style sheet and it changes the styles on the whole site.
(2) a page template is built with a hole for the content in the middle. The content is stored in a database and when the user clicks a link it calls the content from the database onto the page. Doing it this way you don't have a zillion page--just a few--and the content is edited in your browser with a simple form. Hence the 'Content Management System" or CMS. Many sites are a combination of the two methods.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
4.785156E-02