josee
committed
on 09 Jul 07
improving the algorithm used to display the activities tree, taking into account more possible cases (the completion restriction of the acti… Show more
improving the algorithm used to display the activities tree, taking into account more possible cases (the completion restriction of the activities, etc)

adding an "eye" icon to the activities that have been viewed

using bold letters to indicate that the activity hasn't been started

fixing bugs

Show less

openacs-4/.../imsld/lib/imsld-master.adp (+2 -25)
73 73               </list>
74 74             ];
75 75             xinha_config = xinha_config ? xinha_config() : new HTMLArea.Config();
76 76             @xinha_params;noquote@
77 77             @xinha_options;noquote@
78 78             xinha_editors =
79 79               HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
80 80             HTMLArea.startEditors(xinha_editors);
81 81           }
82 82           window.onload = xinha_init;
83 83         // -->
84 84       </script>
85 85     </if>
86 86
87 87     <if @acs_blank_master__htmlareas@ not nil>
88 88       <textarea id="holdtext" style="display: none;" rows="1" cols="1"></textarea>
89 89     </if>
90 90
91 91     <if @imsld_content_frame@ not nil>
92 92       <!-- Include the arrow icon and JS for collapsing the left frames -->
93         <span id="addc1" class="show-hide" style="display:none">
  93       <span id="addc1" class="show">
94 94         <a href="#" onClick="return _tp(false)" title="#imsld.Hide_1#"
95 95            class="show-hide-icon_link">
96 96           <img src="/resources/acs-subsite/stock_left.png"
97 97                alt="#imsld.Hide#" title="#imsld.Hide#" border="0"
98 98                align="top"/>
99 99         </a>
100 100       </span>
101         <span id="addc" style="display:none;" class="show-hide">
  101       <span id="addc" class="hide">
102 102         <a href="#" onClick="return _tp(true)" title="#imsld.Show_1#"
103 103            class="show-hide-icon_link">
104 104           <img src="/resources/acs-subsite/stock_right.png"
105 105                alt="#imsld.Show#" title="#imsld.Show#" border="0"
106 106                align="top"/>
107 107         </a>
108 108       </span>
109         <script type="text/javascript">
110           document.getElementById("addc1").style.display="";
111  
112           function _tp(a){
113             var ab=document.getElementById("addc");
114             var ac=document.getElementById("addc1");
115  
116             if (a) {
117               ai='';
118               aj='none';
119               parent.document.getElementsByTagName("frameset")[1].cols='30%,*';
120             } else {
121               ai='none';
122               aj='';
123               parent.document.getElementsByTagName("frameset")[1].cols='0%,*';
124             }
125    
126             ac.style.display=ai;
127             ab.style.display=aj;
128     
129             return false;
130           }
131         </script>
132 109     </if>
133 110
134 111     <slave>
135 112
136 113   </body>
137 114 </html>