Forum Moderators: mack

Message Too Old, No Replies

Alternatives to iframes?

         

dupfold

11:39 am on Jun 26, 2006 (gmt 0)

10+ Year Member



Hello

I have recently build a website to sell pc's, software and e-books. I started building with each and every page including banners at the top and the product menus down the left hand side. I knew at some point in the future I would be adding things to the menu and therefore thought of using iframes so I wouldn't have to update the menu on each and every page.

Ok, so now I've got to the stage where all the basic are in place but after futher research on iframes I really don't think I should be using them. So my question is, is there an alternative to iframes or will I simply need to update every single page when the time comes to adding products to my menu?

alce

3:33 pm on Jun 26, 2006 (gmt 0)

10+ Year Member



I believe the best thing to do would be to make your pages dynamic.

You would need to to use some scripting language like PHP or SSI.

Basically what you'll do is create one file containing your menu and include that file in all your files. If you do it this way, when you need to add products or modify your menu in any way, you just need to change one file.

dupfold

4:57 pm on Jun 26, 2006 (gmt 0)

10+ Year Member



sounds good but never worked with php or ssi? Which of the two would be easier to learn?

alce

5:20 pm on Jun 26, 2006 (gmt 0)

10+ Year Member



Unlike PHP, SSI is not a scripting language but it will serve your purpose.

you can find more information here: [httpd.apache.org ]