简体   繁体   中英

How to open all frame in new tab or window

I set 4 frame in my webpage. there are banner frame, left frame, contain frame & footer frame. Left frame have some link this link show on contain frame. If i click left frame link then this link information show on contain frame. But when I am going to open this link in a new tab or window then link information show whole page in new window. banner frame, left frame, contain frame, footer frame don't show in new tab or window. How can I show all frame in new tab or window if any one open my webpage as a new tab or window.

Use the target property of the anchor tag

<a href="" target="yourframe">Link</a>

http://www.w3.org/TR/html4/present/frames.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM