, W3Schools, gabriel1836, .
, mozilla CONTRADITCS .
MDC/DOM/Window.open
var WindowObjectReference = window.open(strUrl,
strWindowName [, strWindowFeatures]);
strWindowName , , strUrl . - strWindowFeatures . strUrl . window.open(), _blank strWindowName.
, , , .
, mozilla , , , - :)
, A-Href .
<a href="http://google.com"
onclick="window.open( this.href, 'windowName' ); return false" >
Text
</a>
.
"" , , , href "#" .
"#" - , - , - , onclick
FALSE on-click, ( )
, , unintrusive javascript :
<a href="google.com" rel="external" >Text</a>
<script type="text/javascript">
jQuery(function($){
$("a[rel*=external]").click(function(){
window.open(this.href, 'newWindowName' );
return false;
});
});
</script>