Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Calling JS in frameset page from child frame

Thread Tools

Calling JS in frameset page from child frame

Da Costa Gomez
Posts: n/a

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.

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.

Fermin DCG

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
value transfer from page to frame in second page frameset lev Javascript 1 09-10-2008 04:39 PM
Passing values from Child window with frameset to Parent window with frameset Javascript 0 07-11-2006 09:05 AM
Frameset, Selected Index, Target Frameset ASP .Net 0 09-29-2004 09:37 PM
Changing src of a frame of a frameset within another frameset? Julius Mong Javascript 1 05-10-2004 07:35 PM
How do you make sure a frameset is loaded? I'm trying to open a frameset in a new window which shows a specific html page in a specific frame ck388 Javascript 1 09-24-2003 08:32 PM