To do this, you need to firstly
(1) Use a link for the first frame you want to change. Speicify the URL you want to appear, in the target fram(eg. main.
(2) To change the second frame contents, choose the same button, then behaviours, then + then go to URL, select the URL you want, and then select the other frame you want to change.
Works a treat.