Posted on: 01/07/03 09:29pm
By: Anonymous (Anonymous)
Can someone make something or give me a code to get links in news posts opened in a new window so people dont have to leave my site just to visit a link?
Link help
Posted on: 01/08/03 03:23am
By: Dirk
<a href="http://example.com/" target="_blank">click here</a>
But you shouldn't really use this. Let the visitors decide whether they want to open a new window for a link or not (depending on OS and browser, that's usually done with a click on the right or middle mouse button on the link). I don't think this will really keep anyone on your site. Instead, it will surely drive away others (me, for example) who like to have full control over how their browser behaves.
The best way to make visitors come back is to have some interesting content.
bye, Dirk
Link help
Posted on: 01/08/03 06:02am
By: Anonymous (lakhanianish)
Hey Buddy,
I have read the reply given to you by Dirk, here there is other option to do that work.
<a href="#" inclick="window.open('http://www.Site_Name.com')">click here</a>
Easy, is'nt it.....
Bye...
Link help
Posted on: 01/08/03 10:36am
By: Dirk
IMO, that solution is even worse (sorry) since it relies on Javascript being enabled. Many people will have Javascript disabled because of security issues (or simply because it's an easy way to stop those annoying popups). Why rely on Javascript when there's a perfectly valid solution in HTML?
bye, Dirk