x404.co.uk http://www.x404.co.uk/forum/ |
|
New 404 suggestions http://www.x404.co.uk/forum/viewtopic.php?f=3&t=25051 |
Page 1 of 1 |
Author: | oceanicitl [ Tue Feb 23, 2016 11:38 am ] |
Post subject: | New 404 suggestions |
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 |
Author: | saspro [ Tue Feb 23, 2016 11:58 am ] | |||||||||
Post subject: | Re: New 404 suggestions | |||||||||
If you know what the PHP code is to do that I'll certainly add it. |
Author: | big_D [ Tue Feb 23, 2016 12:02 pm ] |
Post subject: | Re: New 404 suggestions |
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. |
Author: | saspro [ Tue Feb 23, 2016 2:09 pm ] | |||||||||
Post subject: | Re: New 404 suggestions | |||||||||
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 |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |