Click to See Complete Forum and Search --> : How to convert a regular frames layout into i-frame?


Traveler
06-04-2004, 10:43 PM
Well you see, i have this layout all coded out, and im actually real found of it. I like very much so, but the unfortunate thing is that it's not i-frame. This layout i made is all tables, and on the left side is my navigation and right side is my blog. I was wondering if by any chance possible the navigation on the left side could load on the right side where my blog is?

Please let me know if there are any chances!?:eek:

thank you much

MstrBob
06-04-2004, 11:01 PM
Well, an I-Frame will not do this. That would be a Frame you are looking for. But both Frames and I-Frames are BAD ideas for layout, as they are very inaccessible, and visitors will not be able to save any of your pages as favorites. A much better idea would be to use server-side includes, if they are available on your host. Such as:

<!--#include file="navigation.html" -->

If server-side includes are not available, check to see if any server-side languages are available. I think it is the same code for ASP, and for PHP you can use:

<?PHP include("navigation.html); ?>

There are many other languages you can use. Simply put all of your navigation into a seperate file, and replace the navigation code on the rest of your pages with the include code. You can update all of your navigation by editing one file, your site is more accessible, and people can bookmark individual pages. All in all, it's a bigger headache with Frames and especially I-Frames.

Traveler
06-04-2004, 11:56 PM
alright thank you very much i appreciate it ;)