Calling JS in frameset page from child frame

Discussion in 'Javascript' started by Da Costa Gomez, Jul 14, 2003.

  1. Hi,

    I was wondering whether the following is possible and if so how.

    Home.html contains a frameset with col(0, *)
    frame-1 contains a source that just carries JS functions (and is
    basically hidden from view)
    frame-2 contains the 'normal' content stuff where all the intercation
    takes place.

    Challenge:
    In frame-2 there is a normal page with an onclick event.
    The method to be executed is defined/ carried in frame-1.
    Is there a way to call the method in frame-1 from the event in frame-2??

    There are tech reasons for *not* storing the JS server-side so and for
    *not* including the required JS *within* the content.html page. The JS
    however has to *always* be available. Reload of content.html would
    negate this, hence the frame solution & Question.

    TIA,
    Fermin DCG
     
    Da Costa Gomez, Jul 14, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    693
  2. xzzy
    Replies:
    4
    Views:
    652
  3. Julius Mong
    Replies:
    1
    Views:
    392
    Randy Webb
    May 10, 2004
  4. Replies:
    0
    Views:
    346
  5. lev
    Replies:
    1
    Views:
    139
    Thomas 'PointedEars' Lahn
    Sep 10, 2008
Loading...

Share This Page