Posts: 84
Location: Brussels, Belgium
|
Is it possible to insert a html file into another html file?
Like when you have 2 DIV's (nav and content) and you want only that the content changes with links in the nav.
Because DIV's are only good for changing the layout easily, not for content. If you have 30 pages in div (nav and content in one page), and you need to change one simple link, (not the layout of it, but the content) than you still have to change every 30 pages!
Before, when I worked with frames instead of div's, I could change that link in one page and it was immediately on the whole site changed because it was in an apart frame. But on this board they said: "don't work with frames, that's so 90's, work with div's... blabla", and now those div's gave me problems with content maintenance.
I don't want to use iframes because it gave me already much problems in IE7 (the user has to choose it in his own internet properties to allow content/layout from iframes).
You can work with php or asp, but I don't know how these things work, and than you need a server with php etc...
I saw something like this:
http://www.aplus.co.yu/web-dev/inser...her-html-page/
(but i guess this only works in IE and not in FF)
Or is there some other possibility to get content changed in html easily?
I want content totally separated from the site and the layout too.
|