picture links to open new tab
-
I have linked alot of the pictures on my blog to lead to other websites. How do I make it so that the pictures, upon being clicked, open the links in a new tab, rather than moving away from my blogpage.
Thanks!
The blog I need help with is: (visible only to logged in users)
-
Hello, you may already know this, but you can add the following to your links to make them open in new windows:
target="_blank"With the advent of CSS3, you can also make links open in new tabs in browsers that support CSS3 using the following code:
target="new"
style="target-name: new; target-new:
tab;" -
@mirbunny
In the Visual editor –> You upload the image, click File URL, insert it, then click on the image ), click on the edit button (mountain icon), click “Advanced Settings”, scroll down to “Target”, tick “Open link in a new window”, click Update, click Update Post.Or, you upload the image, click File URL, insert it, then in the HTML editor add this to the image code (after href… etc… jpg, with a space before it):
target=”_blank” -
Thanks for putting that in an easier to understand way, @timethief. I should have covered exactly how to implement the code.
-
-
- The topic ‘picture links to open new tab’ is closed to new replies.