Strict Standards: Resource ID#33 used as offset, casting to integer (33) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401

Strict Standards: Resource ID#35 used as offset, casting to integer (35) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401

Strict Standards: Resource ID#36 used as offset, casting to integer (36) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401
ТвойWeb :: Версия для печати :: Как вставить html файл в страницу?
ТвойWeb » WebMaster класс » HTML » Как вставить html файл в страницу?

Страниц (1): [1]
 

1. Борик - 31 Августа, 2004 - 08:41:29 - перейти к сообщению
Как вставить html файл в страницу?
Что-то не соображу... нужно ставить в одну страницу другую... без использования фреймов.

Напримар, чтобы какая-то страничка была одной из ячеек втаблице на другой странице...
2. TvoyWeb - 31 Августа, 2004 - 09:13:44 - перейти к сообщению
ИМХО можно при помощи SSI, если сервер поддерживает. А по другому вроде никак. А вообще, зачем это надо? Для какой цели?
Если знать для чего это нужно, может можно будет предложить альтернативу.
3. Леголегс - 31 Августа, 2004 - 11:05:32 - перейти к сообщению
Вот выдержка из спецификации HTML 4.0
Цитата:
Including HTML in another HTML document
Sometimes, rather than linking to another document, it is helpful to include the contents of an HTML document in another HTML document. We recommend using the OBJECT element with the data attribute for this purpose.
For instance, the following line will include the contents of piece_to_include.html at the location where the OBJECT definition occurs.

CODE:
...text before...
<OBJECT data="file_to_include.html">
Warning: file_to_include.html could not be included.
</OBJECT>
...text after...


The contents of OBJECT must only be rendered if the file specified by the data attribute cannot be loaded.

The behavior of a user agent in cases where a file includes itself is not defined.

Careful file inclusions. Be careful if you attempt to include a section of an HTML document defined by an anchor. The entire document after the anchor definition will be included, and you might unwittingly include unwanted end tags (for elements such as BODY, HTML, etc.) in your document.

The IFRAME element may also be used to insert an inline frame containing text in an HTML document.

Одно "но": ни черта не будет работать у до_фига% юзверей Огорчение А вот года через 3...
4. eugrus - 11 Ноября, 2004 - 14:50:08 - перейти к сообщению
HTML4 ?

его вроде даже ie6 не поддеживает (впрочем он ни чего не поддерживает Улыбка)

думаю проще всего PHP или какими ни будь серв.-скриптами воспользоваться если поддерживает...
5. ShER - 13 Ноября, 2005 - 18:49:24 - перейти к сообщению
Opera 7.54, IE6 поддерживает, а Firefox - нет. В других не проверял.

Так ждать-то немного осталось - всего-то два года... Улыбка
6. AztEK - 14 Ноября, 2005 - 09:59:50 - перейти к сообщению
А IFRAME?

Форум на AlfaSpace.NET


Powered by ExBB
ExBB FM 1.0 RC1 by TvoyWeb.ru
InvisionExBB Style converted by Markus®

[Script Execution time: 0.0313]     [ Gzipped ]



Notice: ob_end_flush(): failed to send buffer of ob_gzhandler (1) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/page_tail.php on line 33