Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 05-09-2007, 06:03 AM content maintenance
Skilled Talker

Posts: 84
Location: Brussels, Belgium
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
Bulevardi is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-09-2007, 09:50 AM Re: content maintenance
Novice Talker

Posts: 7
Trades: 0
Nope you can't.. If you want to use html within a html file frames would be the only way. The problem with frames is that its old and hardly anyone uses it plus frames are not good for website optimization.

< link drop removed >
__________________

Please login or register to view this content. Registration is FREE

Last edited by chrishirst; 05-10-2007 at 07:51 AM.. Reason: link drop
c258 is offline
Reply With Quote
View Public Profile
 
Old 05-09-2007, 10:58 AM Re: content maintenance
Skilled Talker

Posts: 84
Location: Brussels, Belgium
Trades: 0
Quote:
Originally Posted by c258 View Post
Nope you can't.. If you want to use html within a html file frames would be the only way. The problem with frames is that its old and hardly anyone uses it plus frames are not good for website optimization.
So... because frames are old, they are not usefull anymore?

Because bricks for houses are old, they don't use bricks anymore to build houses, or because some rock bands are old, they're not good anymore.
It's not because no one is using it, it's not good for the system I need?

So there is no solution than?
__________________

Please login or register to view this content. Registration is FREE
Bulevardi is offline
Reply With Quote
View Public Profile
 
Old 05-09-2007, 11:50 AM Re: content maintenance
Novice Talker

Posts: 7
Trades: 0
I forgot to tell you probably can try using SSI. If you want to learn more information about SSI click here
__________________

Please login or register to view this content. Registration is FREE
c258 is offline
Reply With Quote
View Public Profile
 
Old 05-09-2007, 12:12 PM Re: content maintenance
Silent77's Avatar
Ultra Talker

Posts: 269
Name: Silent
Location: Ohio
Trades: 0
Or learn PHP or ASP.Net (ASP.Net free download on microsoft site)
__________________
Firefox
rediscover the web

Please login or register to view this content. Registration is FREE
Down with internet explorer!
Silent77 is offline
Reply With Quote
View Public Profile Visit Silent77's homepage!
 
Old 05-09-2007, 12:32 PM Re: content maintenance
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
YES you can do this and it does NOT require frames !!!
http://www.aplus.co.yu/web-dev/inser...her-html-page/
This method DOES work in FF and should work in IE 6 and 7 - if you read the article it tells you that.

And here's a solution for CSS to make it look like frames:
http://www.456bereastreet.com/archiv...v2_fullheight/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-09-2007, 12:38 PM Re: content maintenance
Skilled Talker

Posts: 84
Location: Brussels, Belgium
Trades: 0
Hmm !
Nice, could be main solution:
<a href=”something.html#interesting” target=”anything”>Go to the interesting section</a>
<object id=”anything” data=”something.html” type=”text/html”>
<p>backup content<p>
</object>

I'll test it out later

@all: thnx for advice.
__________________

Please login or register to view this content. Registration is FREE
Bulevardi is offline
Reply With Quote
View Public Profile
 
Old 05-10-2007, 05:15 AM Re: content maintenance
Skilled Talker

Posts: 84
Location: Brussels, Belgium
Trades: 0
Aargh, it's still not working here!
Hmm, i suck in making websites

I think i'm going to do it with 2 frames again. Maybe most easy solution for me.
In every frame the div's i'll use with one css file, so i can still change layout quite easily.
__________________

Please login or register to view this content. Registration is FREE
Bulevardi is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to content maintenance
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30746 seconds with 12 queries