WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 open every link in a new tab? on Tue Jun 08, 2010 10:36 am

Joel

avatar
Registered Member
Registered Member
is it possible to make every link in my forum open in a new tab?

http://www.advertisehotspot.info/

2 Re: open every link in a new tab? on Tue Jun 08, 2010 11:22 am

private bob4


Registered Member
Registered Member
EVERY link, no. Some links yes.

3 Re: open every link in a new tab? on Tue Jun 08, 2010 3:36 pm

Joel

avatar
Registered Member
Registered Member
Hmmm...alright. Is there a source of codes for it?

http://www.advertisehotspot.info/

4 Re: open every link in a new tab? on Tue Jun 08, 2010 3:39 pm

ankillien

avatar
Administrator
Administrator
Hi!

You can put 'target' attribute in <a> tags to make them open in different tab.
Like this...

Code:
<a href="LINK URL HERE" target="_blank">Link Text</a>

The target="_blank" will make it open in different tab.

5 Re: open every link in a new tab? on Tue Jun 08, 2010 3:40 pm

Joel

avatar
Registered Member
Registered Member
oh, cool. That i know. But is there any other codes that once i paste it somewhere, EVERY link clicked will be opened in a new tab?

http://www.advertisehotspot.info/

6 Re: open every link in a new tab? on Sun Jun 13, 2010 11:01 pm

ankillien

avatar
Administrator
Administrator
Well, I don't think there is a shortcut for it Neutral I have seen such script but it worked only in IE browser.

7 Re: open every link in a new tab? on Fri Jun 18, 2010 10:41 pm

ankillien

avatar
Administrator
Administrator
Hi Joel!

Sorry buddy. I should have done enough research before answering Razz You can make all links open in new tab using HTML <base> tag.

Please add the following code inside the <head></head> tags of your page...

Code:
<base target="_blank" />

8 Re: open every link in a new tab? on Fri Jun 18, 2010 10:58 pm

Joel

avatar
Registered Member
Registered Member
"Please add the following code inside the <head></head> tags of your page...".

What page?

http://www.advertisehotspot.info/

9 Re: open every link in a new tab? on Fri Jun 18, 2010 11:18 pm

ankillien

avatar
Administrator
Administrator
All the pages links of which you want to open in new tab.

10 Re: open every link in a new tab? on Fri Jun 18, 2010 11:28 pm

Joel

avatar
Registered Member
Registered Member
How about the forum?

http://www.advertisehotspot.info/

11 Re: open every link in a new tab? on Fri Jun 18, 2010 11:30 pm

ankillien

avatar
Administrator
Administrator
Add it in the overall_header_new template inside the head tags Wink

12 Re: open every link in a new tab? on Fri Jun 18, 2010 11:41 pm

Joel

avatar
Registered Member
Registered Member
Alright! Thanks dude.

http://www.advertisehotspot.info/

13 Re: open every link in a new tab? on Sat Jun 19, 2010 8:35 am

Jophy

avatar
Registered Member
Registered Member
Solved => Topic Locked

http://www.socialtechforum.com/

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum