--- loncom/interface/lonmenu.pm 2004/11/01 04:31:03 1.121 +++ loncom/interface/lonmenu.pm 2004/11/02 21:02:01 1.122 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.121 2004/11/01 04:31:03 raeburn Exp $ +# $Id: lonmenu.pm,v 1.122 2004/11/02 21:02:01 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -43,7 +43,6 @@ use Apache::lonnet(); use Apache::Constants qw(:common); use Apache::lonhtmlcommon(); use Apache::loncommon(); -use Apache::lonnavmaps(); use Apache::lonlocal; use vars qw(@desklines $readdesk); @@ -952,12 +951,29 @@ sub footer { } +sub nav_control_js { + my $nav=($ENV{'environment.remotenavmap'} eq 'on'); + return (<