Jump to content

Frames not supported in future versions of HTML, what CSS code?


Baxtex

Recommended Posts

So, i was planning on using Frames on my website, but i found out that that won't be supported in future versions of HTML (like HTML5?). So my question is; how do you make "frames" without HTML code?

Link to comment
Share on other sites

The kinds of things people have used frames for in the past can be handled with a server-side language like PHP. Usually an include directive does the trick. When "frame" content needs to be dynamic, AJAX makes a good alternative. You just ask your server for new content, and when it arrives you embed it in a div or something.The advantage to both these solutions is that the content being sent by the server is typically smaller, so it arrives more quickly. In the case of server-side includes, there is no additional time at all, because the embedding takes place before downloading.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...