Update of /var/cvs/contributions/didactor2/src/education/templates/education
In directory james.mmbase.org:/tmp/cvs-serv8860
Modified Files:
index.jsp navigation.jspx
Log Message:
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education
Index: index.jsp
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/index.jsp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- index.jsp 20 Mar 2008 14:36:03 -0000 1.84
+++ index.jsp 28 Mar 2008 17:13:45 -0000 1.85
@@ -3,6 +3,7 @@
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0"
xmlns:di="http://www.didactor.nl/ditaglib_1.0"
+ xmlns:di-t="urn:jsptagdir:/WEB-INF/tags/di/core"
>
<di:html
styleClass="education"
Index: navigation.jspx
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/navigation.jspx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- navigation.jspx 14 Mar 2008 17:37:00 -0000 1.5
+++ navigation.jspx 28 Mar 2008 17:13:45 -0000 1.6
@@ -19,7 +19,7 @@
<mm:constraint field="dnumber" value="${education}" />
</mm:composite>
<script type="text/javascript">
- addEventHandler(window, "onload", function() {
+ $(window).ready(function() {
<mm:listnodes >
<c:if test="${ ! empty _node.lastpage}">
<!-- is lastpage field ever filled ? -->
@@ -59,7 +59,7 @@
<mm:import externid="frame" />
<mm:present referid="frame">
<script type="text/javascript">
- addEventHandler(window, "onload", function() {
+ $(document).ready(function() {
closeAll();
openContent('${learnobjectype}','${education}');
openOnly('div${learnobject}', 'img${education}');
@@ -69,7 +69,7 @@
<mm:notpresent referid="frame">
<script type="text/javascript">
- addEventHandler(window, "load", function() {
+ $(window).ready(function() {
closeAll();
<!-- we open need menu item in case it is a reference from another
education -->
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs