Reply to Re: Forcing a script to open a link in a new window or tab

Your name:

Reply:


Posted by Jeremy Brown on 05/05/06 11:47

Thank you for the help. Where would I put this tag, as I am unfamiliar with
its use. I am a bit slow.

Jeremy

--
Visit my Saab & me at:
http://jerem43.home.att.net


"freemont" <yabba@dabba.doo> wrote in message
news:pan.2006.05.05.00.41.07.841629@dabba.doo...
> 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© <-·΄―`·.ΈΈ.·΄―

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация