Jump to content

Refresh num determinado tempo


ferrarypt
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 😁

Link to comment
Share on other sites

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>

Link to comment
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
 Share

×
×
  • 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.