Re: Linking Scripts
From: PO (po)
Date: 12/03/04
- Next message: Jim Kangas: "Re: Getting Around AppActivate, trying to SetFocus"
- Previous message: Erin0: "Re: Schema Property"
- In reply to: McKirahan: "Re: Linking Scripts"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 3 Dec 2004 19:20:57 +0100
Hi
Thanks for all the help! I've solved the problem. For some reason the IIS on
the webserver didn't like the .inc suffix. I renamed the file to Utils.txt
and then everthing worked.
Regards
PO
"McKirahan" <News@McKirahan.com> wrote in message
news:yNKrd.180583$HA.37226@attbi_s01...
> "PO" <po> wrote in message news:Oots2SK2EHA.3932@TK2MSFTNGP09.phx.gbl...
> > Both are true.
> >
> > I don't know exactly what you mean by "..URL -- do you see the
include?".
> > When I try to debug I get a message saying "Source code is not available
> for
> > the current statement (I use MS InterDev). I guess that makes sense when
> the
> > include doesn't work and the script is not included in the .htm page.
> >
> > The funny thing is that it works locally but not on the webserver. Could
> > there by anything else wrong with the following statement:
> >
> > <Script Language="VBS" SRC="../../_Script/Utils.inc"></Script>
> >
> > (I've also tried <script type="text/vbscript"
> > src="../../_Script/Utils.inc"></script> as you suggested with the same
> > negative result)
> >
> > The statement is placed between the <HEAD> tags. Could that have
anything
> to
> > do about it?
> >
> > Regards
> > PO
>
> [snip]
>
> http://{domain}/{folder1}/_Script/Utils.inc
>
> If so, what happens when you submit the above URL -- do you see the
include?
>
> Here's an example of what I mean by the above:
>
> The MSN Web site (http://www.msn.com) Home page's source code has the
line:
>
> <script type="text/javascript"
> src="http://hp.msn.com/scr/home/helppane26.js">
>
> If I attempt to open the "include" URL (i.e.
> http://hp.msn.com/scr/home/helppane26.js) in my IE browser it asks me if I
> want to Open or Save it; under Netscape it will just display it (the
source
> code).
>
> What happens when you do it with your URL?
>
>
- Next message: Jim Kangas: "Re: Getting Around AppActivate, trying to SetFocus"
- Previous message: Erin0: "Re: Schema Property"
- In reply to: McKirahan: "Re: Linking Scripts"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|