如何只重载部分HTML? [英] how to reload only part of html ?

查看:138
本文介绍了如何只重载部分HTML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想了解如何仅重新加载部分html文件?

i了解帧并尝试不使用它们。

考虑很简单:所有页面的标题相同,例如

Hi

I want to understand how to reload only part of html file?
i know about frames and trying not to use them.
Consideratin is simple: same title for all pages, for example

推荐答案

凝视我的水晶球,我观察到; GXK" < GX **** @ gmail.com>写在

新闻:11 ********************* @ g47g2000cwa.googlegro ups.com:
Gazing into my crystal ball I observed "gxk" <gx****@gmail.com> writing in
news:11*********************@g47g2000cwa.googlegro ups.com:


我想了解如何仅重新加载部分html文件?
我知道框架并试图不使用它们。
考虑很简单:相同所有页面的标题,例如
Hi

I want to understand how to reload only part of html file?
i know about frames and trying not to use them.
Consideratin is simple: same title for all pages, for example




所有页面的标题都不是一个好主意。怎么知道

是哪一个?对于带有标签式浏览的用户尤其如此,或者在同一网站上打开多个浏览器窗口。


-

Adrienne Boswell
http://www.cavalcade-of-coding.info

请回复小组以便其他人分享



The same title for all pages is not a good idea. How is one to know where
one is? This is especially true for users with tabbed browsing, or
multiple browser windows open to the same site.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share


好的,谢谢你的回答。这个标题只是一个例子。

Actualy我写了index.html并很快发现其他文件


50%相同的代码和我不想重新加载同样的东西。

现在让我说,我写了一些框架,我想打开

其他/外部html文件,调用方式用户。

没有框架,也没有服务器端脚本。

Well, thank you for answer. The title was just example.
Actualy i wrote index.html and quickly found that other files would
have
for 50% same code and i don''t want to reload tha same things.
Now let say, i wrote some framework, where i want to open
other/external html files, called by user.
No frames and no server-side scripting.


凝视我的水晶球我观察到了gxk < GX **** @ gmail.com>写在

新闻:11 ********************** @ z14g2000cwz.googlegr psps.com:
Gazing into my crystal ball I observed "gxk" <gx****@gmail.com> writing in
news:11**********************@z14g2000cwz.googlegr oups.com:
好的,谢谢你的回答。标题只是一个例子。
Actualy我写了index.html并很快发现其他文件将有50%相同的代码,我不想重新加载相同的东西。
现在让我说,我写了一些框架,我想打开用户调用的其他/外部html文件。
没有框架,也没有服务器端脚本。
Well, thank you for answer. The title was just example.
Actualy i wrote index.html and quickly found that other files would
have
for 50% same code and i don''t want to reload tha same things.
Now let say, i wrote some framework, where i want to open
other/external html files, called by user.
No frames and no server-side scripting.




如果是重用代码的问题,那就得到一个编辑器,让你保存

片段。我喜欢HTML-Kit< http://www.chami.com/html-kit>。你可以

使用预处理器。

-

Adrienne Boswell
http://www.cavalcade-of-coding.info

请回复此论坛其他人可以分享



If it''s a matter of reusing code, then get an editor that lets you save
snippets. I like HTML-Kit <http://www.chami.com/html-kit>. Of you could
use a preprocessor.
--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share


这篇关于如何只重载部分HTML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆