View Full Version : Refreshing iframes


Meko
04-14-2003, 10:27 PM
Well, it's like this: I have a tagboard that works fine but it doesn't refresh itself.... I want it to do this automatically and it's in its own Iframe so I don't see why I can't. The thing of it is, ehehh... Just what is the code/script/command thing for the Iframe refresh?

starlet
04-15-2003, 12:41 AM
In the head, change the number to what you want.

<meta http-equiv="refresh" content="90">

Meko
04-15-2003, 09:50 PM
Ummmm...... No, that's not it... :( I was thinking along the lines of the IFRAME not the entire HTML page. As far as I know the HTML page is the only thing w/ the head tags in it.... Is it even possible to make an IFRAME refresh every, say 10 seconds?

lefty
04-15-2003, 09:59 PM
If you put that code into your iframe, it should work.

Meko
04-16-2003, 08:32 PM
....But it isn't working... Maybe I'm doing something wrong? Uhhh... Here, this is the EXACT coed for it. Where/what should it be instead? (I added spaces in it)

< iframe src="http://www.tag-board.com/my.tag?name=majinmeko" name="tag" width="90" height="200"
marginwidth="0" marginheight="0" > </ iframe>

starlet
04-16-2003, 11:31 PM
oh, i was thinking it was a proper tagboard...ive never worked with tagboard.com so i dont know exactly how much you can edit..but try logging in and seeing if you can edit the code..if so add the code i gave you inbetween the <head> tags....if you cant edit it then i dont know, you could put the tagboard in another iframe and use the refresh code on that.

Meko
04-17-2003, 08:15 PM
Proper tagboard? What do you mean?..... If I put the tagboard I have now (really I'm only using it because it seems simple to manage) will it affect the size the tagboard takes up?.... It really has to be the certain size I have it already.... :(

starlet
04-17-2003, 11:17 PM
By proper tagboard i just mean one that is hosted on your own site rather than somewhere else, so you can edit it fully.

and no, if you put another iframe around the tagbaord you can just set it to the width and height you want...you wont be able to tell its there.

Meko
04-18-2003, 02:24 PM
...Well...I don't think some of the code works for the tagboard in the first place, but it doesn't even have < head > tags in the code tagboard.com gave me! I think I'll try the extra IFRAME way, thankyou! :)