Can't get external javascript to run within FP2003

N

Nick Hebb

I can't get javascript to run from external files in Preview mode. If
the entire script is placed within the page, it previews fine in FP.
If I upload the page and external javascript to my server, it runs
fine.

But whenever I try to preview a page in FP2003 with external script I
get the following error message:

Line: 2
Character: 1
Error: Invalid character:
Code: 0

Note: It doesn't matter what the script is - I get the same error
message.

Can anyone shed some light on why this might be happening?
 
N

Nick Hebb

I can't get javascript to run from external files in Preview mode. If
the entire script is placed within the page, it previews fine in FP.
If I upload the page and external javascript to my server, it runs
fine.

But whenever I try to preview a page in FP2003 with external script I
get the following error message:

Line: 2
Character: 1
Error: Invalid character:
Code: 0

Note: It doesn't matter what the script is - I get the same error
message.

Can anyone shed some light on why this might be happening?

Oh, and I should add...

I can preview in the browser (FF3 and IE7) locally without any
errors.The problem only happens when I preview within FrontPage.
 
S

Stefan B Rusynko

The FP Preview mode is not a full browser and does not support most java

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


I can't get javascript to run from external files in Preview mode. If
the entire script is placed within the page, it previews fine in FP.
If I upload the page and external javascript to my server, it runs
fine.

But whenever I try to preview a page in FP2003 with external script I
get the following error message:

Line: 2
Character: 1
Error: Invalid character:
Code: 0

Note: It doesn't matter what the script is - I get the same error
message.

Can anyone shed some light on why this might be happening?

Oh, and I should add...

I can preview in the browser (FF3 and IE7) locally without any
errors.The problem only happens when I preview within FrontPage.
 
N

Nick Hebb

The FP Preview mode is not a full browser and does not support most java


The same javascript (not java) works when it's embedded in the html
file, so I don't think its a browser capability issue. I've been able
to run external javascript in the past.

-Nick
 
K

Kathleen Anderson

The FP Preview mode is unreliable - so unreliable that it's been removed
from Expression Web. What's important is how the page works in the browser -
that's what your visitors will be using using.

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
Expression Web Resources: http://www.spiderwebwoman.com/xweb/
FrontPage Resources: http://www.spiderwebwoman.com/resources/
Please reply to the newsgroup for the benefit of others



The FP Preview mode is not a full browser and does not support most java


The same javascript (not java) works when it's embedded in the html
file, so I don't think its a browser capability issue. I've been able
to run external javascript in the past.

-Nick
 
N

Nick Hebb

The FP Preview mode is unreliable - so unreliable that it's been removed
from Expression Web.

Thanks Kathleen. That's unfortunate, but at least I now know that it's
not my setup causing the problem.
 

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