external javascript file

K

Kelly

For some reason, I can't seem to get an external reference to a
javascript file to work within my HTML when using the FrontPage IDE
for my coding. In other words, using

<script language = "javascript" src = "myfile.js"> </script>

works fine in my browser if using a text editor to code my HTML/
Javascript but I get a Javascript "can't find object" error if I try
to preview the page from within FrontPage97. Is there a certain
syntax for including an external Javascript file from within
FrontPage? The external file is located in the same directory as my
HTML file.

thanks
 
T

Thomas A. Rowe

FP97/98 require you to view pages locally from a web server (http://), not via disk based location,
which could be why you are having a issue.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 

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