PDA

View Full Version : Frames Question



Jim Weinberg
02-02-2006, 02:19 PM
Is there a way to call a function from one frame that is defined in a different frame in the frameset?

Twey
02-02-2006, 03:49 PM
Yes.

// In frame1
window.blather = function() {
turnIntoAFish();
doStuff();
}

// In frame2
parent.frame1.blather();