cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jer...@apache.org
Subject svn commit: r488003 - /cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/carselector_template.xml
Date Sun, 17 Dec 2006 16:40:52 GMT
Author: jeremy
Date: Sun Dec 17 08:40:52 2006
New Revision: 488003

URL: http://svn.apache.org/viewvc?view=rev&rev=488003
Log:
removed broken highlight stuff

Modified:
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/carselector_template.xml

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/carselector_template.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/carselector_template.xml?view=diff&rev=488003&r1=488002&r2=488003
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/carselector_template.xml
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/carselector_template.xml
Sun Dec 17 08:40:52 2006
@@ -36,30 +36,6 @@
     See "carselector_form.xml" and "carselector_template.xml" to see how this is done.
   </para>
   <content>
-    <script type="text/javascript">
-       var currentEffect = "fade";
-       cocoon.ajax.BrowserUpdater.highlight = cocoon.ajax.Fader.fade;
-       function setEffect(effect) {
-           if (effect == "none") {
-               cocoon.ajax.BrowserUpdater.highlight = null;
-           } else if (effect == "fade") {
-               cocoon.ajax.BrowserUpdater.highlight = cocoon.ajax.Fader.fade;
-           } else if (effect == "blink") {
-               cocoon.ajax.BrowserUpdater.highlight = cocoon.ajax.Blinker.blink;
-           }
-           
-           document.getElementById(currentEffect).style.fontWeight = "";
-           document.getElementById(effect).style.fontWeight = "bold";
-           currentEffect = effect;
-           return false;
-       }
-    </script>
-    <para>
-      Page update effect:
-      <a id="none" href="#" onclick="return setEffect('none')">None</a> - 
-      <a style="font-weight: bold" id="fade" href="#" onclick="return setEffect('fade')">Fade</a>
- 
-      <a id="blink" href="#" onclick="return setEffect('blink')">Blink</a>
-    </para>
       
     <ft:form-template action="continue" method="POST" ajax="true">
       <ft:continuation-id/>



Mime
View raw message