--- loncom/interface/lonmenu.pm 2012/05/18 16:54:56 1.369.2.3
+++ loncom/interface/lonmenu.pm 2012/05/21 16:25:37 1.369.2.4
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.369.2.3 2012/05/18 16:54:56 raeburn Exp $
+# $Id: lonmenu.pm,v 1.369.2.4 2012/05/21 16:25:37 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -237,7 +237,8 @@ sub primary_menu {
'▼';
}
}
- $menu .= '
'.$title.'';
+ $menu .= ''.
+ ''.$title.'';
if ($numsub) {
$menu .= '';
foreach my $item (@{$primary_submenu{$menuitem->[3]}}) {
@@ -1495,6 +1496,20 @@ function annotate() {
annotator.document.close();
}
+(function (\$) {
+ \$(document).ready(function () {
+ \$.single=function(a){return function(b){a[0]=b;return a}}(\$([1]));
+ /*\@cc_on
+ if (!window.XMLHttpRequest) {
+ \$('.LC_hoverable').each(function () {
+ this.attachEvent('onmouseenter', function (evt) { \$.single(evt.srcElement).addClass('hover'); });
+ this.attachEvent('onmouseleave', function (evt) { \$.single(evt.srcElement).removeClass('hover'); });
+ });
+ }
+ \@*/
+ });
+}(jQuery));
+
function set_bookmark() {
go('');
clienttitle=document.title;