WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Can't get external javascript to run within FP2003

 
   Home -> Office other -> Programming RSS
Next:  Problems creating user accounts in Frontpage 2003  
Author Message
Nick Hebb

External


Since: Jun 30, 2008
Posts: 4



(Msg. 1) Posted: Mon Jun 30, 2008 3:46 pm
Post subject: Can't get external javascript to run within FP2003
Archived from groups: microsoft>public>frontpage>programming (more info?)

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?
Back to top
Login to vote
Nick Hebb

External


Since: Jun 30, 2008
Posts: 4



(Msg. 2) Posted: Mon Jun 30, 2008 6:08 pm
Post subject: Re: Can't get external javascript to run within FP2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jun 30, 3:46 pm, Nick Hebb <NCH....TakeThisOut@gmail.com> wrote:
> 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.
Back to top
Login to vote
Stefan B Rusynko

External


Since: Oct 11, 2003
Posts: 12579



(Msg. 3) Posted: Tue Jul 01, 2008 4:09 am
Post subject: Re: Can't get external javascript to run within FP2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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!" (-;
_____________________________________________


"Nick Hebb" <NCHebb DeleteThis @gmail.com> wrote in message news:b1ef1dab-5cfc-4b6f-9b66-35c4145cdf98@c19g2000prf.googlegroups.com...
On Jun 30, 3:46 pm, Nick Hebb <NCH... DeleteThis @gmail.com> wrote:
> 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.
Back to top
Login to vote
Nick Hebb

External


Since: Jun 30, 2008
Posts: 4



(Msg. 4) Posted: Tue Jul 01, 2008 12:15 pm
Post subject: Re: Can't get external javascript to run within FP2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jul 1, 1:09 am, "Stefan B Rusynko" <sbr_en....DeleteThis@hotmail.com> wrote:
> 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
Back to top
Login to vote
Kathleen Anderson

External


Since: Apr 01, 2008
Posts: 152



(Msg. 5) Posted: Tue Jul 01, 2008 3:34 pm
Post subject: Re: Can't get external javascript to run within FP2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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



"Nick Hebb" <NCHebb.RemoveThis@gmail.com> wrote in message
news:6e4a7467-fa20-4c61-ad64-e1c7ef024da9@q27g2000prf.googlegroups.com...
On Jul 1, 1:09 am, "Stefan B Rusynko" <sbr_en....RemoveThis@hotmail.com> wrote:
> 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
Back to top
Login to vote
Nick Hebb

External


Since: Jun 30, 2008
Posts: 4



(Msg. 6) Posted: Wed Jul 02, 2008 4:11 am
Post subject: Re: Can't get external javascript to run within FP2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jul 1, 12:34 pm, "Kathleen Anderson" <kander....RemoveThis@remove.mvps.org>
wrote:
> 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.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Programming All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET