Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #31983

Re: Firefox external script files question

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Mel Smith" <syntel@cox.net>
Newsgroups comp.lang.javascript
Subject Re: Firefox external script files question
Date Mon, 26 Dec 2016 12:48:52 -0700
Lines 35
Message-ID <ecdah8F77k1U1@mid.individual.net> (permalink)
References <ecd1g0F53pqU1@mid.individual.net> <58616804$0$21445$e4fe514c@news.xs4all.nl>
X-Trace individual.net +kG4aNaQsftUigbc5pgGwQ1ei213D3bBg2nJGUI/KjsPvDm17O
Cancel-Lock sha1:oYCQ+nyX4hqlH/L5F6t0seSAS90=
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
X-RFC2646 Format=Flowed; Response
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6157
Xref csiph.com comp.lang.javascript:31983

Show key headers only | View raw


Luuk said:

>
> Try to change this:
> <script src="/scripts/utilsmin.js" type="text/javascript"></script>
> to this:
> <script src="scripts/utilsmin.js" type="text/javascript"></script>
>
> the script should execute from C:\eml\forms\scripts\
>
> at least a similar thing works on my Windows10 computer ....
>

Hi Luuk:

    Your suggested  change *WORKED* !    !

    But, my C:\eml\forms\scripts was *empty*.  (Apologies to Stefan)

    So, I copied all of c:\scripts\ to c:\eml\forms\scripts\ and then made 
the change to remove the leading '/', and it *worked*.

Question: WHY does FF work in this fashion when the other browsers don't 
need the 'slash' removed ??  and what is the path it searche when run 
locally. I would really like to know this ?

    and what will happen when I move it to/from the actual network server. I 
suppose it will fail unless I re-insert the 'slash' again . I'll have to 
check it out.

Thank you and Stefan for your help !

-Mel Smith

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Firefox external script files question "Mel Smith" <syntel@cox.net> - 2016-12-26 10:14 -0700
  Re: Firefox external script files question "Mel Smith" <syntel@cox.net> - 2016-12-26 10:49 -0700
    Re: Firefox external script files question "Mel Smith" <syntel@cox.net> - 2016-12-26 11:01 -0700
  Re: Firefox external script files question Luuk <luuk@invalid.lan> - 2016-12-26 19:57 +0100
    Re: Firefox external script files question "Mel Smith" <syntel@cox.net> - 2016-12-26 12:48 -0700
      Re: Firefox external script files question Luuk <luuk@invalid.lan> - 2016-12-26 20:56 +0100
  Re: Firefox external script files question "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-12-26 12:50 -0800
    Re: Firefox external script files question "Mel Smith" <syntel@cox.net> - 2016-12-26 16:01 -0700
  Re: Firefox external script files question JJ <jj4public@vfemail.net> - 2016-12-27 15:14 +0700

csiph-web