It seems the transition only occurs on the last sub frame updated, if I change the order in the logic it changes to the other sub frame. Try it on the cube Darren. tks dave // ShowSubPage("home", "Sub-Page Frame 1", Subpageno); ShowSubPage("home", "Sub-Page Frame 2", nextpage); ShowSubPage("home", "Sub-Page Frame 1", Subpageno);