Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q634 How do I get the *.js files to not display their code in Netscape?

irt.org | Knowledge Base | JavaScript | Source | Q634 [ previous next ]

Q634 How do I get the *.js files to not display their code in Netscape?

Use JavaScript to output the HTML tags to request an external JavaScript *.js source file wen the browser is not Netscape:

<SCRIPT LANGUAGE="JavaScript"><!--
if (navigator.appName != "Netscape")
    document.write('<script src="whatever.js"><\/script>');
//--></SCRIPT>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.