Reply to topic  [ 4 posts ] 
New 404 suggestions 
Author Message
Official forum cat lady
User avatar

Joined: Fri Apr 24, 2009 8:04 am
Posts: 11039
Location: London
Reply with quote
Hey Saspro

When I used to click on a link it used to open in another page / tab. Now it doesn't. Any way of tweaking it so it does?

Thanking you

_________________
Still the official cheeky one ;)

jonbwfc wrote:
Caz is correct though


Tue Feb 23, 2016 11:38 am
Profile
Site Admin
User avatar

Joined: Thu Apr 23, 2009 5:53 pm
Posts: 8603
Location: location, location
Reply with quote
oceanicitl wrote:
Hey Saspro

When I used to click on a link it used to open in another page / tab. Now it doesn't. Any way of tweaking it so it does?

Thanking you



If you know what the PHP code is to do that I'll certainly add it.

_________________
Support X404, use our Amazon link
Get your X404 tat here
jonlumb wrote:
I've only ever done it with a chicken so far, but if required I wouldn't have any problems doing it with other animals at all.


Tue Feb 23, 2016 11:58 am
Profile WWW
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:25 pm
Posts: 10691
Location: Bramsche
Reply with quote
Where the html is generated to create the link, you just need to add :

target="_blank"

to the href tag.


E.g. the code that generates the link makes a tag:
<a href="http://www.testurl.com">

Needs to be extended to:
<a href="http://www.testurl.com" target="_blank">

The URL itself will be a variable, but it must build up the rest of the link somewhere.

_________________
"Do you know what this is? Hmm? No, I can see you do not. You have that vacant look in your eyes, which says hold my head to your ear, you will hear the sea!" - Londo Molari

Executive Producer No Agenda Show 246


Tue Feb 23, 2016 12:02 pm
Profile ICQ
Site Admin
User avatar

Joined: Thu Apr 23, 2009 5:53 pm
Posts: 8603
Location: location, location
Reply with quote
big_D wrote:
Where the html is generated to create the link, you just need to add :

target="_blank"

to the href tag.


E.g. the code that generates the link makes a tag:
<a href="http://www.testurl.com">

Needs to be extended to:
<a href="http://www.testurl.com" target="_blank">

The URL itself will be a variable, but it must build up the rest of the link somewhere.


It's a tad different in phpbb but I seem to have it working on new links, old links though (that weren't created using bbcode) will still need a right click

_________________
Support X404, use our Amazon link
Get your X404 tat here
jonlumb wrote:
I've only ever done it with a chicken so far, but if required I wouldn't have any problems doing it with other animals at all.


Tue Feb 23, 2016 2:09 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.