app/soc/content/js/survey-take-090627.js
changeset 2526 8f29bfb9eb52
parent 2423 d6b4be046c26
child 2550 85ee43d4a6f5
--- a/app/soc/content/js/survey-take-090627.js	Sat Jul 04 12:07:27 2009 +0200
+++ b/app/soc/content/js/survey-take-090627.js	Sat Jul 04 13:53:17 2009 +0200
@@ -19,9 +19,9 @@
 * @author <a href="mailto:jamesalexanderlevy@gmail.com">James Levy</a>
 */
 
-(function ($) {
+(function ($) { 
   $(function () {
-
+  
     /*
     * == Setup Survey on Page Load ==
     *
@@ -148,5 +148,18 @@
         );
       }
     );
+  
+   /*
+   * == Customize Comment Appearance ==
+   */
+   
+   var comments = widget.find('td > .comment');
+   comments.each(function(){
+     $(this).parents('tr:first')
+           .css({'margin-top': '-10px', 'margin-bottom': '10px'})
+           .prev().css({'margin-top': '-10px'})
+           .find('label').css({'font-size': '11px'});
+   });
+    
   });
 }(jQuery));