Message Thread: |
View All MessagesBack to WebFX |
Here is what I came up with. I modified the following code in the dispathAction function. (Sorry, the formatting is messed up). With a randomly changing URL IE will always go to the server and get it. else if ( typeof this.action == "string" ) { // href this.setSelected( false ); this.parentMenu.closeAllMenus(); if ( this.target != null ){ // Changed by Scott Juranek, 9/10/2002 if (this.action.indexOf('?') == -1){ var newWin = window.open( this.action + "?Rand=" + new Date().getTime(), this.target );
From: Scott Juranek Sent: September 10, 2002 Subject: Re:DHTML Menu: Target and Refresh Problem First off, great job on the menu! Very well done. I have a frameset with the menu up top and the content down below. The menu works fine the first time I go to the page but each subsequent time IE just pulls up the page from cache even though the pages are dynamic (.NET). If I place <A> tags up in the top frame with the target attribute set everything works fine. Apparently the window.open with a target specified doesn't cause the same action as the <A> with the target specified. Any way to work around this? I thinking of using <A> tags as the menu items but this seems like a last resort. -Scott |