请教网页制作的一个问题

MyHenry

新手上路
注册
2002-11-08
消息
166
荣誉分数
2
声望点数
0
在做一个个人网页, 在点击的连接时,里的内容不更新.如何处理?

I have a page called Main.html. In the Main.html, there is a #I_FRAME#. I like the content inside #I_FRAME# to be updated (reloaded) when I click on its link in the Main.html. The IE only shows whatever it loaded initially. It does not reload the page inside even the actual content of that page has changed.

Any help, please?
(Sorry, I have to add the underscore to show the tag.)
 
在做一个个人网页, 在点击的连接时,里的内容不更新.如何处理?

I have a page called Main.html. In the Main.html, there is a #I_FRAME#. I like the content inside #I_FRAME# to be updated (reloaded) when I click on its link in the Main.html. The IE only shows whatever it loaded initially. It does not reload the page inside even the actual content of that page has changed.

Any help, please?
(Sorry, I have to add the underscore to show the tag.)

It sounds that the content of the child page was not updated.
 
It sounds that the content of the child page was not updated.

: It's good to see you again. The content of the child page (a different html file) has changed. But the browser does not reload the current child page. The browser only shows whatever it loaded when this parent page was loaded. If I "reload" or "refresh" the parent page, the new child page will be updated. What I want is to reload the child page by clicking its link in the parent page, NOT to reload/refresh the whole parent page.
Hope this is clear.
 
You might try add this in the HEAD of your child page,hopefully it works.Good luck!

<meta http-equiv="refresh" content="3"

'Cuz FF and IE are different, it might work one but not the other.
 
You might try add this in the HEAD of your child page,hopefully it works.Good luck!

<meta http-equiv=&quot;refresh&quot; content=&quot;3&quot;

'Cuz FF and IE are different, it might work one but not the other.

Thanks for reply. The META will do the job. However, it will do the job automatically at a pre-set time. I like the child page to be updated on clicking the link by the users. It is not friendly to automatically refresh the page while the user is reading.
 
You need a few lines coding.
For me , i'd rather go for CMS. It's a better solution for dynamic content sites.
 
后退
顶部