Results 1 to 5 of 5

Thread: Scripts - How to include in NOF

  1. #1
    David Unwin
    Guest

    Default Scripts - How to include in NOF

    I have some third party javascripts that I want to use in my sites. The
    scripts are a reasonable size and may cahnge fom time to time.
    Is there a function in NOF to include the script source so that I don't have
    to cut and past the script in in bewtween the HEAD tags each time it
    changes?
    ie. <script src=c:/myscripts/script.js>
    I have seen where you can inculde external HTML, but not how to include
    external scripts.

    Thanks



  2. #2
    =?iso-8859-1?Q?Chuck_=ABBeyondFusion=BB?=
    Guest

    Default Re: Scripts - How to include in NOF

    Page Design View > Layout Properties > HTML> Between Head Tags.

    You can place a script reference to a location on the web server.

    When the script changes, ftp it to the web server. Your page will utilize
    the new version of the script.

    --
    Chuck Joslin
    BeyondFusion.com - Your Fusion Community
    www.beyondfusion.com

    Register domain names at www.awavedomains.com

    "David Unwin" <ubs@onetel.net> wrote in message
    news:g0jh7m$rg31@flsun90netnews01.netobjects.com.. .
    >I have some third party javascripts that I want to use in my sites. The
    >scripts are a reasonable size and may cahnge fom time to time.
    > Is there a function in NOF to include the script source so that I don't
    > have to cut and past the script in in bewtween the HEAD tags each time it
    > changes?
    > ie. <script src=c:/myscripts/script.js>
    > I have seen where you can inculde external HTML, but not how to include
    > external scripts.
    >
    > Thanks
    >



  3. #3
    David Unwin
    Guest

    Default Re: Scripts - How to include in NOF

    Chuck,
    Thanks for the response,much appreciated. Just to clarify.
    1. I put my script (Testscript) in say the Scripts sub folder on my web
    sever I then
    2. Insert the following html
    <SCRIPT TYPE="text/javascript" SRC="./Scripts/Testscript.js"></SCRIPT>Is
    that correct?

    David
    "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in message
    news:g0k0sm$fr4@flsun90netnews01.netobjects.com...
    > Page Design View > Layout Properties > HTML> Between Head Tags.
    >
    > You can place a script reference to a location on the web server.
    >
    > When the script changes, ftp it to the web server. Your page will utilize
    > the new version of the script.
    >
    > --
    > Chuck Joslin
    > BeyondFusion.com - Your Fusion Community
    > www.beyondfusion.com
    >
    > Register domain names at www.awavedomains.com
    >
    > "David Unwin" <ubs@onetel.net> wrote in message
    > news:g0jh7m$rg31@flsun90netnews01.netobjects.com.. .
    >>I have some third party javascripts that I want to use in my sites. The
    >>scripts are a reasonable size and may cahnge fom time to time.
    >> Is there a function in NOF to include the script source so that I don't
    >> have to cut and past the script in in bewtween the HEAD tags each time it
    >> changes?
    >> ie. <script src=c:/myscripts/script.js>
    >> I have seen where you can inculde external HTML, but not how to include
    >> external scripts.
    >>
    >> Thanks
    >>

    >




  4. #4
    =?iso-8859-1?Q?Chuck_=ABBeyondFusion=BB?=
    Guest

    Default Re: Scripts - How to include in NOF

    David,

    I use this format, but yours should work. You may need to work on the path a
    bit, depending on where the page and the script reside relative to each
    other.

    <script src="./Scripts/Testscript.js" language="JavaScript"
    type="text/javascript"></script>

    Personally, I'd use all lowercase. Case doesn't matter on a windows web
    server, but Unix type operating systems are case sensitive. Using caps can
    lead to typos.


    --
    Chuck Joslin
    BeyondFusion.com - Your Fusion Community
    www.beyondfusion.com

    Register domain names at www.awavedomains.com

    "David Unwin" <ubs@onetel.net> wrote in message
    news:g0ka7g$1qs2@flsun90netnews01.netobjects.com.. .
    > Chuck,
    > Thanks for the response,much appreciated. Just to clarify.
    > 1. I put my script (Testscript) in say the Scripts sub folder on my web
    > sever I then
    > 2. Insert the following html
    > <SCRIPT TYPE="text/javascript" SRC="./Scripts/Testscript.js"></SCRIPT>Is
    > that correct?
    >
    > David
    > "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in message
    > news:g0k0sm$fr4@flsun90netnews01.netobjects.com...
    >> Page Design View > Layout Properties > HTML> Between Head Tags.
    >>
    >> You can place a script reference to a location on the web server.
    >>
    >> When the script changes, ftp it to the web server. Your page will utilize
    >> the new version of the script.
    >>
    >> --
    >> Chuck Joslin
    >> BeyondFusion.com - Your Fusion Community
    >> www.beyondfusion.com
    >>
    >> Register domain names at www.awavedomains.com
    >>
    >> "David Unwin" <ubs@onetel.net> wrote in message
    >> news:g0jh7m$rg31@flsun90netnews01.netobjects.com.. .
    >>>I have some third party javascripts that I want to use in my sites. The
    >>>scripts are a reasonable size and may cahnge fom time to time.
    >>> Is there a function in NOF to include the script source so that I don't
    >>> have to cut and past the script in in bewtween the HEAD tags each time
    >>> it changes?
    >>> ie. <script src=c:/myscripts/script.js>
    >>> I have seen where you can inculde external HTML, but not how to include
    >>> external scripts.
    >>>
    >>> Thanks
    >>>

    >>

    >
    >



  5. #5
    David Unwin
    Guest

    Default Re: Scripts - How to include in NOF

    Chuck,
    Thanks for the clarification and the verys speedy response, very much
    appreciated.

    David
    "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in message
    news:g0kbf9$1qs3@flsun90netnews01.netobjects.com.. .
    > David,
    >
    > I use this format, but yours should work. You may need to work on the path
    > a bit, depending on where the page and the script reside relative to each
    > other.
    >
    > <script src="./Scripts/Testscript.js" language="JavaScript"
    > type="text/javascript"></script>
    >
    > Personally, I'd use all lowercase. Case doesn't matter on a windows web
    > server, but Unix type operating systems are case sensitive. Using caps can
    > lead to typos.
    >
    >
    > --
    > Chuck Joslin
    > BeyondFusion.com - Your Fusion Community
    > www.beyondfusion.com
    >
    > Register domain names at www.awavedomains.com
    >
    > "David Unwin" <ubs@onetel.net> wrote in message
    > news:g0ka7g$1qs2@flsun90netnews01.netobjects.com.. .
    >> Chuck,
    >> Thanks for the response,much appreciated. Just to clarify.
    >> 1. I put my script (Testscript) in say the Scripts sub folder on my web
    >> sever I then
    >> 2. Insert the following html
    >> <SCRIPT TYPE="text/javascript" SRC="./Scripts/Testscript.js"></SCRIPT>Is
    >> that correct?
    >>
    >> David
    >> "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in message
    >> news:g0k0sm$fr4@flsun90netnews01.netobjects.com...
    >>> Page Design View > Layout Properties > HTML> Between Head Tags.
    >>>
    >>> You can place a script reference to a location on the web server.
    >>>
    >>> When the script changes, ftp it to the web server. Your page will
    >>> utilize the new version of the script.
    >>>
    >>> --
    >>> Chuck Joslin
    >>> BeyondFusion.com - Your Fusion Community
    >>> www.beyondfusion.com
    >>>
    >>> Register domain names at www.awavedomains.com
    >>>
    >>> "David Unwin" <ubs@onetel.net> wrote in message
    >>> news:g0jh7m$rg31@flsun90netnews01.netobjects.com.. .
    >>>>I have some third party javascripts that I want to use in my sites. The
    >>>>scripts are a reasonable size and may cahnge fom time to time.
    >>>> Is there a function in NOF to include the script source so that I don't
    >>>> have to cut and past the script in in bewtween the HEAD tags each time
    >>>> it changes?
    >>>> ie. <script src=c:/myscripts/script.js>
    >>>> I have seen where you can inculde external HTML, but not how to include
    >>>> external scripts.
    >>>>
    >>>> Thanks
    >>>>
    >>>

    >>
    >>

    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •