--- loncom/interface/lonmenu.pm 2009/10/28 09:01:59 1.296 +++ loncom/interface/lonmenu.pm 2009/10/29 16:15:57 1.297 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.296 2009/10/28 09:01:59 droeschl Exp $ +# $Id: lonmenu.pm,v 1.297 2009/10/29 16:15:57 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -150,7 +150,7 @@ sub prep_menuitem { } else { # textual Link $link = &mt($$menuitem[3]); } - return '
  • '.$link.'
  • '; + return '
  • '.$link.'
  • '; } # primary_menu() evaluates @primary_menu and returns XHTML for the menu @@ -1604,6 +1604,12 @@ function go(url) { } } +function gotop(url) { + if (url!='' && url!= null) { + top.location.href = url; + } +} + function gopost(url,postdata) { if (url!='') { this.document.server.action=url;