How to traverse multiple sets of frames

Can selectFrames be used to traverse multiple sets of frames? Should I use Javascript instead?

Have you seen the “DemoFrames” macro? If that does not help, do you have an example website to test?