I have an intranet site that uses iframes. At the top of the container page is a history of how the user got to whatever page he/she is on. To make matters complicated, I have to allow for pages to be listed under multiple categories. I developed a nice menuing system that accounts for all this. It is contingent on knowing when a page has loaded into the iframe to change the history when the forward or back buttons on the toolbar are used. No, I'm not allowed to open the intranet in a toolbarless window.
My problem is that IE on the Mac won't give me any indication of when the iframe content changes. Normally this isn't a problem since I have control over 99% of the site's pages and can add an onload event to them. But for that 1%, I can't add the onload so IE on the Mac won't update the history at the top of the container page for those pages when navigation is done through the toolbar. I've tried everything:
1. Sticking the onload into the iframe tag
2. On the container page load, I've tried attaching an event listener for the iframe.
3. I tried putting script after the iframe in the container page to let me know when the iframe is loaded. That only fires once and I need to know every time.
4. I tried putting an onunload on the pages I can control.
5. I tried the <script for>
Argh! Thanks in advance for any help