Changing iPage web hosting.. To Personal DNS Server?

Click Here To View All Answers...

First off, Changing iPage web hosting.. To Personal DNS Server? Thanks in advance for any answer. Another quick question... Can anyone tell me how to reload/refresh an iFrame within a page? say every 5 seconds?.

I don't want the whole page to reload just the iFrame. Also is it possible to reload layers such as DIV or SPAN?.

<IFRAME name="frame" src="data.htm" width="400" height="400"></IFRAME>..

Comments (11)

Hmm... I need to find out myself. I don't know what is the right answer. I'll do some research in Google and get back to you if I bump into an good answer. You should email the people at iPage as they probably could give you an answer..

Comment #1

Are you sure you put the code in the right place? I just tried it and it worked fine. The code must go between the <head> tags in the iframe file, not the file for the main page..

I'm sure you probably can do it with javascript too but I don't know how...

Comment #2

I see what you mean but what i'm trying to achieve is a little different, I don't want to refresh either page (main or data source) just the actual iFrame within the main page. Meta refresh reloads a whole page, whereas I just want to reload a frame inside a page...

Comment #3

Put the.

Meta refresh.

Tag inside the.


That goes inside the iframe...

Comment #4

Give the iframe element a name and then execute following from the main page:.

<script language="javascript">.

Function refreshTimer(){.



SetInterval("refreshTimer()",2000);//refresh every 2 seconds.



<script language="javascript">.

Function refreshTimer(){.

Var url = document.getElementById('frameid').src;.

Document.getElementById('frameid').src = url;.


SetInterval("refreshTimer()",2000);//refresh every 2 seconds.


Comment #5

Perfect! thanks kdjoergensen just what I was looking for.

Is it possible to do the same javascript code with layers such as DIV or SPAN?.

Thanks again everyone..

Comment #6

No, reloading.




Is not possible without loading the whole page...

Comment #7

I tried refreshing the iframe and expected the data source page to load smoother (flicker and click free) than meta refresh. However when I tried it the iframe reloads slowly. As I am attempting to make a chat room in ASP I want a window to display messages without the usual flicker or clicking. This was achieved on.


So how do they do it?.

Can anyone suggest a better solution to making a HTML based chatroom? or even point me in the direction of some source code?..

Comment #8

To get a flicker free refresh you need to be reloading very little. it all depends on your connection and how much is in the page you are reloading. using javascript or the meta tag refresh does the samething. and sometimes it just loads from cache. so if you have a lot of code to refresh then it will flicker no matter what..

Comment #9

It's not so much the flicker i'm concerned about with meta refresh it's the clicking, it's enough to drive anyone insane!.


Has got around it somehow, they've got a HTML based chat room that is flicker and click free. I'm not sure how they did it but I want the same results...

Comment #10

The clicking sound is your computer. it is the default sound for it. It is not the iPage site that is doing it. I don't remember anything else that will refresh a page so that must be what they are doing..

Also I am not signing up for something to jsut look at the source...

Comment #11

I know the sound is a default on the computer, why would I think it comes from the site?.

Well i've just found this code which refreshes a page without the clicking:.



<title>Chat Input</title>.

<script language="JavaScript"><!.

Function Reload() {.



Function DoPageLoad() {.

Var Timer = setTimeout('Reload()', 5000);.


// ></script>.

<base target="_self">.


<body bgcolor="#FFFFFF" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" onLoad="DoPageLoad();">.

<p><span id="BGOutput">Here is the page content</span></p>.



Comment #12

This question was taken from a support group/message board and re-posted here so others can learn from it.