Hi,
I'm looking for php or script that opens a link by provided id in a new window.
Something like this: http://www.blah-blah-blahh.com/linkto.php?id=17
So on the main page I will have a few links like above and when user clicks on any of them the main page stays the same, but links will be opened in a new window.
I assume the list of urls and id can be defined inside of the script or in the DB.
Does anybody have something like that to borrow?
Thanks!
script to open link by id in a new window
Moderator: General Moderators
-
mnemonik23
- Forum Newbie
- Posts: 3
- Joined: Sat Feb 18, 2006 1:39 am
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
That'd be a basic HTML link most often.
Code: Select all
<a href="blahblah" target="_blank">foo</a>-
mnemonik23
- Forum Newbie
- Posts: 3
- Joined: Sat Feb 18, 2006 1:39 am
The script is needed on purpose, to not display the actual link on the main page.feyd wrote:That'd be a basic HTML link most often.Code: Select all
<a href="blahblah" target="_blank">foo</a>