Jump to content
Sign in to follow this  
ferrarypt

Refresh num determinado tempo

Recommended Posts

ferrarypt

Olá.

Vamos la ver se eu consigo explicar o que pretendia  😳

Queria fazer um site, talvez com 2 frames. Num punha um texto e noutro punha um site que queria que se actualiza-se de 560 em 560 segundos automaticamente. Será possivel?

Share this post


Link to post
Share on other sites
Anonym

sim, já te dou a resposta

edit:

pega,

<meta http-equiv="refresh" content="560;url=http://www.apaginaparaatualizar.com">

insere isto no frame onde a página que tu queres é apresentada.

axo que é isto. cumps

Share this post


Link to post
Share on other sites
ferrarypt

Pois, mas depois de ir para essa pagina (outro site) ele não faz refresh

Share this post


Link to post
Share on other sites
Anonym

então axo que é isto, insere no outro frame:

<meta http-equiv="refresh" content="560;url=http://www.apaginaparaatualizar.com" target="frame1">

Share this post


Link to post
Share on other sites
ferrarypt

Fiz este "esboço" so para entender o esquema:

criei um pt.html com:

<html>

<head>

<title>My example</title>

</head>

<frameset cols="30%,50%">

<frame src="page1.html">

<frame src="page2.html">

</frameset>

</html>

depois no page1.html tenho:

<html>

<head>

<title>My example</title>

</head>

<meta http-equiv="refresh" content="560;url=http://www.yahoo.com" target="page2.html">

hello

</html>

e no page2.html tenho:

<html>

<head>

<title>My example</title>

</head>

hello2

</html>

Desculpa se cometi alguma ignorancia, mas nao estou muito abituado a frames :cheesygrin:

Share this post


Link to post
Share on other sites
Anonym

vou ver isso, tens de dar nomes aos frames...

pera um coto

edit:

axo que é isto

pt.html

<html>

<head>

<title>My example</title>

</head>

<frameset cols="30%,50%">

<frame src="page1.html" name="actualiza">

<frame src="page2.html">

</frameset>

<body>

<meta http-equiv="refresh" content="560;url=http://www.apaginaparaatualizar.com" target="actualiza">

</body>

</html>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.