web/data/cubicweb.htmlhelpers.js
changeset 9379 b0b1148b6963
parent 9259 68cde7431c2c
child 9700 da7d341cca76
child 9814 faf0511ac181
equal deleted inserted replaced
9378:4a668dcfa0a0 9379:b0b1148b6963
   193         if (area.rows < 20) {
   193         if (area.rows < 20) {
   194             area.rows += 2;
   194             area.rows += 2;
   195         }
   195         }
   196     }
   196     }
   197 }
   197 }
   198 //============= page loading events ==========================================//
       
   199 cw.rounded = [['div.sideBoxBody', 'bottom 6px'],
       
   200               ['div.boxTitle, div.sideBoxTitle, th.month', 'top 6px']];
       
   201 
   198 
   202 function roundedCorners(node) {
       
   203     if (jQuery.fn.corner !== undefined) {
       
   204         node = jQuery(node);
       
   205         for (var r = 0; r < cw.rounded.length; r++) {
       
   206             node.find(cw.rounded[r][0]).corner(cw.rounded[r][1]);
       
   207         }
       
   208     }
       
   209 }
       
   210 
       
   211 jQuery(document).ready(function() {
       
   212     roundedCorners(this.body);
       
   213 });