Short answer: Multi-page Trigger.io apps are going to give you weird and undefined results!
Long answer: If you want to use multiple html pages or external content within your app the best approach is to embed then in an iframe and communicate with the parent frame using HTML5 messaging:
http://dev.opera.com/articles/view/window-postmessage-messagechannel/