|
Posted by freemont on 05/05/06 03:41
On Thu, 04 May 2006 17:33:47 +0000, Jeremy Brown wrote:
> Hello all,
> I have a small vanity site that is a member of WebRing. They give you a
> script to put on your site that will bring you to the next/previous/random
> site in the ring. I know absolutely nothing about scripting and I wish to
> force the script open the link in a separate window. Can anyone help me
> edit the script so that it will do this?
You could simply add this to the anchor tag:
onclick="window.open(this.href,'_blank');return false;"
.... and that will even validate to XHTML Strict.
HTH
--
"Because all you of Earth are idiots!"
¯`·.¸¸.·´¯`·-> freemont© <-·´¯`·.¸¸.·´¯
Navigation:
[Reply to this message]
|