When to use target=“_self”

后端 未结 3 1856
无人及你
无人及你 2021-01-01 10:45

When does the _self frame target becomes useful or worth using it?

Isn\'t it (always?) the default behavior?

3条回答
  •  旧时难觅i
    2021-01-01 11:29

    
    

    Was very handy for me when I had a page I wanted to load into Firefox's sidebar. I wanted any links clicked to stay in the sidebar instead of opening the links in the main window. Adding the above to the fixed me right up and all the page's links stay within the sidebar.

提交回复
热议问题