Opening Hyperlinks in new Windows

  • Thread starter Clynton Ohlinger
  • Start date
C

Clynton Ohlinger

Hi there, I keep getting error messages (Internet Explorer cannot download.
Unspecified error) when I try to open a hyperlink in a new window, everything
works fine if I don't use this option. www.oricle.net

The HTML code fragment I use is -
<script language="JavaScript" type="text/javascript"> <!-- function
Show(Url, Name, Features) { window.open(Url, Name, Features); } // -->
</script>

One of the picture links I use is -
javascript:Show('http://www.fsb.co.za/ ', 'fsb',
'toolbar=no,scrollbars=yes,resizable=yes,height=250,width=250')

Any assistance on how to get my links to open in new windows will be greatly
appreciated.

Thanks
 
D

DavidF

The first javascript code snippet is incorrect on the website describing the
ECMAScript code approach. Use this instead:

<script language="JavaScript" type="text/javascript">function Show(Url,
Name, Features) { window.open(Url, Name, Features); }</script>

DavidF
 
C

Clynton Ohlinger

Thank you very much David, all sorted out, I'll re-publish tonight and verify
tomorrow, but on web-testing it works fine, thank you again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top