• JS: Exec, Load or DIE!

    From Mindless Automaton@ELDRITCH to DOVE-Net.Programming_(Jav on Monday, June 06, 2005 13:43:00
    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 Monday, June 06, 2005 14:42:35
    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 Wednesday, June 08, 2005 08:29:06

    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>