Hi Tim,
As far as I know, the menu's functionality does not rely on a page refresh.
I tried your (final destnation) test site using IE6 and NS7 in Win2k. I don't get the behavior you describe in IE6, but do in NS7. It's not clear to me that the loadPage() function is firing on the first click of the pertinent items in NS7 (don't see the N icon in the upper right moving and don't see any activity in the status bar). Maybe try putting an alert() at the top of loadPage() just to see if the function is actually firing when you click one of the three menu items.
I also notice this: If I go to the media page, then manually out your test url back into NS7's url field and press enter, nothing happens. If I press enter on the url field again, it goes. The same odd behavior holds true if I start from, say, the contact page and manually put in a url to the media page:
Code: Select all
http://www.jammusic.com.au/goodvibrationsfestival/inside2.html?page=media
I have to enter twice to get to the media page. Not sure what this means exactly, but it may provide a clue.
I see where you've defined the hidden iframe, and how you change it's src in the loadPage() function.
loads the specified html file into the iframe. But I don't see where you move the contents of the 'content' iframe into the div that you mentioned (clever workaround btw). Perhaps I haven't dug into your code sufficiently. From what I see, after loadPage() loads the iframe, it calls drawMenus(), then returns. So where is the div that you mentioned updated? You haven't modified drawMenus() to load the contents into the div have you? If not, I have to wonder why you are redrawing the menus each time you call loadPage()... shouldn' be necessary.
Anyway, I'll have to dig around some more I guess. In the meantime, I suggest:
(1) Verify that loadPage() is firing when you click one of the suspect items but the page doesn't change.
(2) If you are using an unmodified drawMenus() from the Milonic code, then remove the call to drawMenus() from your loadPage() function.
(3) Your iframe has a background color of #fff. Did you want that to be #ffffff?
(4) Instead of using the
clickfunction property to call loadPage(), try it from the url property, like this:
Code: Select all
aI("text=;url=javascript:loadPage('media');image=images/nav_media.gif;overimage=images/nav_media-over.gif;");
Do you get the same problem, or does it work correctly now? That would at least help test whether the problem is related to the
clickfunction property or if it exists downstream from that.
Hope that helps some,
Kevin