--- loncom/interface/lonmenu.pm 2003/04/03 00:52:21 1.49 +++ loncom/interface/lonmenu.pm 2003/04/03 03:08:12 1.50 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.49 2003/04/03 00:52:21 www Exp $ +# $Id: lonmenu.pm,v 1.50 2003/04/03 03:08:12 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -484,9 +484,19 @@ sub switch { $act=~s/\$udom/$udom/g; unless (($ENV{'browser.interface'} eq 'textual') || ($ENV{'environment.remote'} eq 'off')) { +# Remote return "\n". qq(window.status+='.';swmenu.switchbutton($row,$col,"$img","$top","$bot","$act","$desc");); + } elsif ($ENV{'browser.interface'} eq 'textual') { +# Accessibility + if ($nobreak==2) { return ''; } + my $text=$top.' '.$bot; + $text=~s/\- //; + return "\n".($nobreak?' ':'
'). + ''.$text.' '. + ($nobreak?'':$desc); } else { +# Inline Remote if ($nobreak==2) { return ''; } my $text=$top.' '.$bot; $text=~s/\- //;