• JS: Exec, Load or DIE!

    From Mindless Automaton@ELDRITCH to DOVE-Net.Programming_(Jav on Mon Jun 6 13:43:00 2005
    All:

    I've been doing some fiddlin' with js menus and was wondering if someone
    could give me the correct syntax to call another js.

    Ie.

    I have default.js which has most of the menu options in it, but it was
    getting rather large, so I created an additional js for external programs
    and such (xtrn.js).

    I've tried a few things, but I seem to fail.

    Thanks,

    Mindless Automaton
    ---
    ■ Synchronet
  • From Digital Man to Mindless Automaton on Mon Jun 6 14:42:35 2005
    Re: JS: Exec, Load or DIE!
    By: Mindless Automaton to DOVE-Net.Programming_(Jav on Mon Jun 06 2005 01:43 pm

    All:

    I've been doing some fiddlin' with js menus and was wondering if someone could give me the correct syntax to call another js.

    Ie.

    I have default.js which has most of the menu options in it, but it was getting rather large, so I created an additional js for external programs and such (xtrn.js).

    I've tried a few things, but I seem to fail.

    See the load() function in: http://synchro.net/docs/jsobjs.html#global_methods

    digital man

    Snapple "Real Fact" #126:
    A pigeon's feathers are heavier than its bones.
  • From Grymmjack to Mindless Automaton on Wed Jun 8 08:29:06 2005

    I've been doing some fiddlin' with js menus and was wondering if someone could give me the correct syntax to call another js.

    Ie.

    I have default.js which has most of the menu options in it, but it was getting rather large, so I created an additional js for external programs and such (xtrn.js).

    i believe what you are looking for is include? i think there is an include function/feature/whatever.


    - grymmjack<grymmz0r@yahoo.com>