1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【HTML】別のページへ自動的に飛ばす方法

Last updated at Posted at 2013-12-19

こんにちは。
JavaScriptで色々できるかと思いましたが
実際開発の際には、こちらが楽かと思ったのでメモ。

よく見る、「~秒後に自動的にジャンプします。」
というやつです。

結構入り組んだことをするのかと思いきや
metaタグにrefreshを入れ、contentの中に
ミリ秒ではなく 秒数を入れ、
URL=のあとに飛ばしたいリンクを貼ればいいんですね。

今回は新しいrenew.phpを作って、に phpの include をいれてやってみたけど
ほかの方法でやっているところもあるのか。

(HTMLタグをいじったりするのかどうかなぁ)

それでは、これからも宜しくお願いいたします。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?