Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
root.com Webサイトのヘッダーに、A、B、Cという3つのリンクがあるとします。これらのリンクをクリックすると、A.com、B.com、C.comにリダイレクトされます。root内に表示する必要があります。それらのリンクを持つcomは上に表示されます。それらが同じドメインにある場合、どうすればこれを達成できますか?
iframeを使用してA.com、B.com、C.comを読み込みます
ハイパーリンクをクリックしたら、iframeのsrcを設定するjavaスクリプト関数を使用します。
<iframe src="http://www.google.com"></iframe>