Jump to content
Sign in to follow this  
giovannicalderoni

Open every link in new window

Recommended Posts

giovannicalderoni

Hello! How can I make sure that when someone click on some links that I added (such as the Google Maps icon in the header of the site or any other image with a link), it opens in a new browser window?

Share this post


Link to post
Share on other sites
giovannicalderoni
Thanks kastelic but if the taget link is in the setting of iblog? i have to insert http:// .. i cant insert html! I think that i need a css code to change the way that the link in the header of map work! You can help me?

Share this post


Link to post
Share on other sites
kastelic
You have to target it with javascript. Here's a jQuery example: [code] jQuery('#header a').attr('href','http://google.com'); [/code] This targets every anchor tag in a header div and points it to google. You will have to adjust the selector to fit your needs.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×