--- loncom/interface/lonmenu.pm 2013/12/13 14:30:49 1.369.2.48 +++ loncom/interface/lonmenu.pm 2014/01/06 17:32:58 1.369.2.50 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.369.2.48 2013/12/13 14:30:49 raeburn Exp $ +# $Id: lonmenu.pm,v 1.369.2.50 2014/01/06 17:32:58 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -562,8 +562,11 @@ sub create_submenu { if ($count == $numsub) { $borderbot = 'border-bottom:1px solid black;'; } + unless (($href eq '') || ($href =~ /^\#/)) { + $target = ' target="_top"'; + } $menu .= '