Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

Calling JS in frameset page from child frame

 
 
Da Costa Gomez
Guest
Posts: n/a
 
      07-14-2003
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

 
Reply With Quote
 
 
 
Reply

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 jimmyfishbean@yahoo.co.uk Javascript 0 07-11-2006 09:05 AM
Frameset, Selected Index, Target Frameset relchatt@comcast.net 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



Advertisments