TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 269
  • Total: 269

Open all absolute links in new window

Started by ScousePete, October 09, 2006, 07:49:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ScousePete

Is it possible to have all absolute urls open in a new window? I have a rss news feed in one of my blocks, but when one of the links is clicked it opens in the same window (thus taking folks away from my site) Because it is a news feed I cannot get to the html urls to add target="_blank"

I tried to add <base target="_blank"> inside the head, but this sends EVERY url to a new window!

All the relative urls should open in the same window of course, just the absolute ones in a new window. Does this make sense? Is it possible?

ScousePete


G6Cad

If the RSS feed dont have opne self or new window to the text it fetch, there isent much we can do here. Contact the site you get the feed from and ask them to give you help with this.

Muziek4um

I know this is an old topic but in case someone In case some one is looking for the same issue like I did:
the solution can be found here: http://www.tinyportal.net/index.php?topic=2572.msg21653#msg21653

This website is proudly hosted on Crocweb Cloud Website Hosting.