Categories: 未分類

指定の時間後別ページにジャンプさせるホームページ

ホームページを表示させ、指定の時間が経過したらホームページをジャンプさせたい。

基本的にはメタタグで設定を行う

<meta http-equiv="refresh" content="30;URL=https://www.techlive.tokyo/">

clocklinkを利用して世界時計を表示して起き30秒経過したら、自サイトのトップページを表示させるHTML

<HTML>
 <HEAD>
  <TITLE>サンプルページ</TITLE>
  <meta http-equiv="refresh" content="30;URL=https://www.techlive.tokyo/">
 </HEAD>
 <BODY>
  <DIV align="center">
   <iframe scrolling="no" frameborder="no" clocktype=\"html5\" style="overflow:hidden;border:0;margin:0;padding:0;width:1200px;height:625px;" src="http://www.clocklink.com/clocks/HTML5/html5-random.html?1200&5000"></iframe>
  </DIV>
 </BODY>
</HTML>

 

hanakotoko