Toon posts:

hoe ververs ik me pagina?!

Pagina: 1
Acties:

Verwijderd

Topicstarter
beste mensen ik heb een vraagje.
hoe kan ik in me HTML code iets neerzetten waardoor als mensen op mijn pagina komen. de pagina gelijk weet dat ie moet vernieuwen?
dus maw hoe kunnen de mensen mijn site vernieuwen zonder op F5 te drukken?
ik hoop dat iemand mij kan en wil helpen

Groeten Kitt

Verwijderd

Ga eens kijken bij www.htmlgoodies.com.
Reload All By Itself
This one's nice and easy. I'll give you the code. Copy and paste it into the document you wish to reload. Once in there, change the number of seconds you wish the page to wait before starting the reloading process. This code goes in between the HEAD flags.

<META HTTP-EQUIV="refresh" CONTENT="15">
Right now, the command is set to reload every 15 seconds. I checked a couple of online sites and they were all set about the same. I found the sites displaying stock information were set to around five minutes or 300 seconds.

I don't have a refresh on this page because the darn thing would just keep refreshing and there's nothing on this page that will update.

Verwijderd

javascript
code:
1
location.reload()

html
code:
1
2
<meta http-equiv="Refresh"
content="5;url=urlhier.com">

php
PHP:
1
2
3
<?
header("Location: urlhier.com");
?>

En niet onder elke post je naam zetten.

Verwijderd

<html>
<head>
<title></title>

<script language="JavaScript">
<!-- start script

function refresh()
{
window.location=window.location;
}

//-- einde script -->
</script>

</head>
<body bgcolor="#FFFFFF">

<a href="javascript:refresh();">refresh</a>


</body>
</html>