[Phpmyadmin-devel] leftlight stuff

Joachim Fornallaz joachim.fornallaz at access.unizh.ch
Fri Jan 11 12:53:02 CET 2002


On Friday, January 11, 2002, at 09:01 PM, Olivier M. wrote:

>> About "update both frames", which operations leave the user 
>> with non-synchronised frames?
>
> I'll also have to open my O'Reilly JS-reference book... But 
> that is most probably
> a small issue.

What about that js-function:

/**
   * Changes the content of 2 frames simultaneously
   *
   * @param   string   the target URI for the 1st frame
   * @param   string   the name of the 1st frame
   * @param   string   the target URI for the 2nd frame
   * @param   string   the name of the 2nd frame
   *
   * @return  boolean  always true
   */
function twoFrames(URI1,frame1,URI2,frame2) {
	frame1 = eval("parent." + frame1);
	frame2 = eval("parent." + frame2);
	frame1.location.href = URI1;
	frame2.location.href = URI2;

	return true;
}


Greetings,

	Joachim

--
http://jf.omnis.ch/





More information about the Developers mailing list