The head of the page , add to :<base target="_blank">
<base target="_blank"> 
</head>
Add it to this label

dede How to make all the links open in the new window

  1. select I want to add a link And a new window opens

    // New window open <select id="" onchange="window.open(this.value)"> <option value ...

  2. a The link opens in a new window

    Usually used to collect several methods 1. stay head Add... To the label ,base The biggest use is to change the default properties of a web page <base target="_blank"/> 2.Jquery ...

  3. Let your wordpress Open a link in a new window

    In the use of wordpress In the process, the author found that there are still some imperfections , Not fully considering the user experience . therefore , In the use of wordpress The beginning of the Expo , It is necessary for us to wordpress Make a little transformation , Give Way wordpress More personality . ...

  4. router-link Go back to the previous page and New window opens link

    1. If used Vue-router Words , You can use it this.$router.go(-1) Implementation returns : 2. If not used vue-router, You can use it window.history.go(-1) Implementation returns ...

  5. ( turn )DEDECMS How to make the external links of columns open in a new window

    I have a problem recently , Namely dedecms Navigation , It's using external links , But the original window doesn't look good , New windows open better .OK, Let the dog go ... 1. Find... In the template head.htm take <li><a href='[fi ...

  6. I prefer to be consistent ?bing The test opened the link in a new window and was bitterly criticized by American netizens

                  Original link address :http://www.cnbeta.com/articles/186529.htm We all know that after clicking on a link on a Chinese website , It opens in a new window or tab by default , Everyone is familiar with it ...

  7. DEDECMS How to make the external links of columns open in a new window

    dede The default way to open the column is “ The current window opens ”, There are two ways to make the dede The column opens in a new window . Method 1. Find... In the template head.htm take <li><a href='[field:t ...

  8. html Realization a Elements href Of URL The link automatically refreshes or a new window opens

    Sometimes we want to implement such a function , Click on a link , If the link browser has been opened , Then refresh the opened link window : If this link has not been opened , Use a new window to open the link page . It's a great experience enhancement , Can effectively avoid browsing ...

  9. How to use CSS To open a link in a new window ?

    * How to use CSS To open a link in a new window ? <style type="text/css"> <!-- .target2 a:active {test:expressio ...

Random recommendation

  1. [ turn ] adopt Visual Studio by Linux To write C++ Code

    Build 2016 At the conference Microsoft For the first time Visual Studio 2015 The extension provides the ability to VS2015 Written in C++ Code , Subsequently passed Linux/UNIX The ability of a computer to compile and execute . This idea is very ...

  2. variadic function Use

    Recently in to see <the c programming language> K&R 7.3 Chapter Variable-length Argument Lists  Variable length parameter list , Note the usage 1 ...

  3. PhpStorm Shortcut key

    It's not easy to remember : Ctrl + Shift + F  Find the text , In the project directory or specified directory Ctrl + Shift + R  Find the text and replace , In the project directory or specified directory Ctrl + E    Open the recently closed ...

  4. jquery Image carousel plug-in slideBox

    Results the preview : Source code download : jQuery Picture carousel ( Focus figure ) plug-in unit jquery.slideBox characteristic : compatible IE6+,Chrome,Firefox,Opera,safari, Can be about , But up and down , Fast or slow , Can be specified ...

  5. XGPush Integrate ( Carrier pigeon Integration )demo

    #import "AppDelegate.h" #import "XGPush.h" #import "XGSetting.h" #defi ...

  6. ubuntu How to access the real network windows Shared folders

    Method 1 : First, create a mount Directory . sudo mkdir /mnt/share  And then you load the shared directory into it .  The server :192.168.6.84  Share name :gg  user name :administrator  The secret code : ...

  7. Maven Set up Maven Source / Mirror image

    stay Eclipse/ InteliJ Idea Use Maven when , Local warehouses provided by enterprises often have some Jar The package can't be downloaded , therefore . To configure Maven Setting up a domestic image is essential for developers . Today, I'll write a self-made Maven mirror ...

  8. Visual Studio Efficient and practical extension tool 、 plug-in unit

    explain : For a thinking programmer , It's important to be good at using an efficient development tool , What I want to introduce to you today is the first in the universe IDE vs It's a good development tool to use , If you think it's good, you can try it , After all, for us, most of the day ...

  9. yii2 Register a new event (trigger Event)

    Sometimes we need to register a new event in the middle of a method , Ensure the scalability of certain businesses . Now I'll show you how to register a new event : First step : Where it's needed ( Like a controller or a model ) Define an event constant in ( Such as :const EVENT_C ...

  10. Java The family bookkeeping program (C)

    date :2019.2.4 Blog period :029 Monday The procedure has been preliminarily revised today , Realized several basic functions : Personal information management . All functions except query !