[HTML] automatsch pagina openen

Pagina: 1
Acties:
  • 60 views sinds 30-01-2008

  • ArjanC
  • Registratie: Juli 2001
  • Laatst online: 26-01 17:16
hoi, hoe kan ik in een pagina een automatische verwijzing naar een andere pagina doen ?

soort response.redirect maar dan in HTML

Verwijderd

code:
1
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.jouwsite.nl">

In de head van je HTML pagina stoppen.

  • Infinitive
  • Registratie: Maart 2001
  • Laatst online: 19:01
location.href in javascript.

putStr $ map (x -> chr $ round $ 21/2 * x^3 - 92 * x^2 + 503/2 * x - 105) [1..4]


Verwijderd

code:
1
<meta http-equiv="refresh" content="4;url=list_cat.html">

de 4 in het voorbeeld is het aantal seconden nadat hij gaat redirecten en url= spreekt voor zich.... :P

  • Janoz
  • Registratie: Oktober 2000
  • Laatst online: 12-09 21:31

Janoz

Moderator Devschuur®

!litemod

html.. Dus /14 -> /13

Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'


  • mjax
  • Registratie: September 2000
  • Laatst online: 11:16
Met een <META> tag kan het, maar de precieze syntax weet ik ff niet uit m'n hoofd. Met JavaScript kan het ook:
code:
1
2
3
4
5
<html>
<body>
<script language="javascript">
location.href = 'nieuwe_url.html';
</script>

  • OzBoz
  • Registratie: Maart 2000
  • Laatst online: 09-09 19:36

OzBoz

.:.H.:.I.:.P.:.

Probeer even wat basiskennis HTML onder de knie te krijgen. Begin alvast bij html.pagina.nl

My Fizion | My 3D prints | LinkedIn

Pagina: 1

Dit topic is gesloten.