Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: Functions in different frames... - July 16, 1998 at 18:18:51

You are here: irt.org | BBS | Re: Functions in different frames... [This BBS is closed]

Posted by Dan A on July 16, 1998 at 18:18:51:

In Reply to: Functions in different frames... posted by Ed Waddingham on July 16, 1998 at 06:42:36:

: How do I start a function in one frame from a different frame? eg I have a frame called "menu", in its html there is a javascript function called img_select (). How would I execute this function from a different frame (in this case called "main")?

Here's how i call functions in other frames:

parent.frames[window number].functionname ()

0 for top, etc

I plan to write an article here @ irt.org about this sometime in
the near future.
Good Luck!
Dan
Follow-ups:

You are here: irt.org | BBS | Re: Functions in different frames... [This BBS is closed]

©2018 Martin Webb