[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm lonmenu.pm

raeburn raeburn at source.lon-capa.org
Wed Apr 11 11:21:43 EDT 2012


raeburn		Wed Apr 11 15:21:43 2012 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm loncommon.pm 
  Log:
  - Change in loncommon.pm rev 1.1051 now requires class for <a> tag
    to eliminate underline in More/Less link for DC to show/hide courseID. 
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.368 loncom/interface/lonmenu.pm:1.369
--- loncom/interface/lonmenu.pm:1.368	Fri Feb  3 00:15:14 2012
+++ loncom/interface/lonmenu.pm	Wed Apr 11 15:21:43 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.368 2012/02/03 00:15:14 www Exp $
+# $Id: lonmenu.pm,v 1.369 2012/04/11 15:21:43 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1087,13 +1087,13 @@
     document.getElementById('dccid').style.display='block';
     document.getElementById('dccid').style.textAlign='left';
     document.getElementById('dccid').style.textFace='normal';
-    document.getElementById('dccidtext').innerHTML ='<a href="javascript:hideCourseID();">$lt{'less'}</a>';
+    document.getElementById('dccidtext').innerHTML ='<a href="javascript:hideCourseID();" class="LC_menubuttons_link">$lt{'less'}</a>';
     return;
 }
 
 function hideCourseID() {
     document.getElementById('dccid').style.display='none';
-    document.getElementById('dccidtext').innerHTML ='<a href="javascript:showCourseID()">$lt{'more'}</a>';
+    document.getElementById('dccidtext').innerHTML ='<a href="javascript:showCourseID()" class="LC_menubuttons_link">$lt{'more'}</a>';
     return;
 }
 
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1068 loncom/interface/loncommon.pm:1.1069
--- loncom/interface/loncommon.pm:1.1068	Tue Apr 10 00:28:04 2012
+++ loncom/interface/loncommon.pm	Wed Apr 11 15:21:43 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1068 2012/04/10 00:28:04 raeburn Exp $
+# $Id: loncommon.pm,v 1.1069 2012/04/11 15:21:43 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5014,7 +5014,7 @@
 sub dc_courseid_toggle {
     my ($dc_info) = @_;
     return ' <span id="dccidtext" class="LC_cusr_subheading LC_nobreak">'.
-           '<a href="javascript:showCourseID();">'.
+           '<a href="javascript:showCourseID();" class="LC_menubuttons_link">'.
            &mt('(More ...)').'</a></span>'.
            '<div id="dccid" class="LC_dccid">'.$dc_info.'</div>';
 }




More information about the LON-CAPA-cvs mailing list