Update of /var/cvs/contributions/didactor2/src/education/templates/education/learnblocks In directory james.mmbase.org:/tmp/cvs-serv11272/learnblocks
Modified Files: node.jspx subnavigation.jspx Log Message: some rationalization of div ids' anchor names See also: http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/learnblocks Index: node.jspx =================================================================== RCS file: /var/cvs/contributions/didactor2/src/education/templates/education/learnblocks/node.jspx,v retrieving revision 1.7 retrieving revision 1.8 diff -u -b -r1.7 -r1.8 --- node.jspx 5 Feb 2009 08:38:39 -0000 1.7 +++ node.jspx 6 Mar 2009 10:58:04 -0000 1.8 @@ -8,8 +8,9 @@ > <jsp:output omit-xml-declaration="yes" /> <mm:import externid="parent" /> - <div class="learnblock" id="${parent}${empty parent ? '' : '_'}learnblock_${_node}"> - + <div class="learnblock" + id="${parent}${empty parent ? '' : '_'}_${_node}_block"> + <a class="learnblock_anchor" name="${parent}${empty parent ? '' : '_'}_${_node}"><jsp:text> </jsp:text></a> <mm:nodeinfo type="type"> <!-- type ${_} --> @@ -41,7 +42,7 @@ type="learnobjects" searchdirs="destination"> <mm:sortorder field="posrel.pos" /> <mm:relatednodes varStatus="status"> - <div class="item${status.index}"> + <div class="item${status.index} ${status.first ? 'first' : ''} ${status.last ? 'last' : ''}"> <mm:treeinclude page="/education/learnblocks/node.jspx" objectlist="${includePath}" Index: subnavigation.jspx =================================================================== RCS file: /var/cvs/contributions/didactor2/src/education/templates/education/learnblocks/subnavigation.jspx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -r1.3 -r1.4 --- subnavigation.jspx 19 Dec 2008 14:34:04 -0000 1.3 +++ subnavigation.jspx 6 Mar 2009 10:58:04 -0000 1.4 @@ -21,7 +21,7 @@ <mm:onshrink><![CDATA[</ul>]]></mm:onshrink> </mm:grow> <![CDATA[<li>]]> - <a href="${'#'}${parent}_learnblock_${_node}"><mm:field name="name" /></a> + <a href="${'#'}${parent}_${_node}"><mm:field name="name" /></a> <mm:onshrink><![CDATA[</li>]]></mm:onshrink> <mm:shrink /> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs