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

Your name:

Reply:


Posted by Jeremy Brown on 05/04/06 20:33

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?

Also, please forgive the HTML on the page, I am still learning. It will
eventually be all Strict once I get CSS down pat.

Thanks,
Jeremy

Here is my site:
http://jerem43.home.att.net/

Here is the script:

<!--Begin Webring Navigation-->

<script language="javascript" type="text/javascript"
src="http://ss.webring.com/navbar?f=j;y=jerem43;u=defurl">
<!--//

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>

<noscript>
<center>
<table width="33.3%" bgcolor="gray" cellspacing="0" border="2">
<tr>
<td>
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td align="center">
<p class="v-small">This site is a member of WebRing.<br />
To browse visit <a
href="http://ss.webring.com/navbar?f=l;y=jerem43;u=defurl"
target="_blank">Here</a>.
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</noscript>

<!--End Webring Navigation-->

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

[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

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация