Results 1 to 6 of 6

Thread: access function from another frames!!!

  1. #1

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    access function from another frames!!!

    I know how,
    BUT it does not work in NN6!!

    here's what i use for MSIE and NN4.x

    parent.frames.frameName.functionName();

    what can i do for NN6

    sebs!!

  2. #2
    Lively Member
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    115
    Try using:

    parent.frames["frameName"].functionName();

  3. #3

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    it gives me an error!!

    tx a lot anyway!!


    any more suggestion!!

  4. #4
    Lively Member
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    115
    Hmm.. what error did you get?

  5. #5

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    something like it needed a frames names!

    i guess

    parent.frames.frameName

    this work, but not for calling a function !!

    hummm!

  6. #6
    Lively Member
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    115
    Suggestion 1:
    parent.otherFrameName.functionName();

    Suggestions 2:
    parent.frames[index].functionName()
    make sure that index is the correct (0 if the function is in the first frame defined, 1 if it's the 2nd and so on).
    Last edited by CreoN; Jun 21st, 2001 at 03:57 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width