Mods to Nannette's dhtml menu to use frames

Results 1 to 2 of 2

Thread: Mods to Nannette's dhtml menu to use frames

  1. #1
    Andrew L Guest

    Default Mods to Nannette's dhtml menu to use frames

    Hi there - I&#039;m using Nannette&#039;s DHTML menu system, but modifying it so that it remains in a left hand frame, while calling stuff in either the right-hand frame "MainFrame" or in a new window, depending on the setting of bNewWin.<BR><BR>Nannette&#039;s code was this:<BR><BR>function navTo(oItem,szURL,bNewWin) {<BR> mActive(oItem);<BR> if (bNewWin)<BR>;<BR> else<BR> window.self.location.href = szURL;<BR>}<BR><BR>From searching around (I&#039;m a complete JSript Novice) i&#039;ve modified this to:<BR><BR>function navTo(oItem,szURL,bNewWin) {<BR> mActive(oItem);<BR> if (bNewWin)<BR>;<BR> else<BR> window.frames[&#039;MainFrame&#039;].open(szURL);<BR>}<BR><BR>but this still isn&#039;t working. Any Ideas?<BR><BR>Thanks, Andrew

  2. #2
    Andrew L Guest

    Default Found It - RE: Mods to Nannette's dhtml menu

    The answer is :<BR><BR>function navTo(oItem,szURL,bNewWin) {<BR> mActive(oItem);<BR> if (bNewWin)<BR>;<BR> else<BR>,"MainFrame");

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts