Changeset 5494
- Timestamp:
- 05/19/2007 05:24:25 PM (18 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/widgets.css
r5324 r5494 85 85 86 86 .placematt { 87 position: absolute;88 87 cursor: default; 89 88 margin: 10px 0 0; 90 89 padding: 0; 91 90 width: 238px; 91 float:left; 92 92 background-color: #ffe; 93 93 } … … 107 107 } 108 108 109 109 110 #palettediv { 110 111 border: 1px solid #bbb; 111 112 background-color: #f0f8ff; 112 height: 180px;113 height:auto; 113 114 margin-top: 10px; 114 115 } -
trunk/wp-admin/widgets.php
r5471 r5494 16 16 ?> 17 17 <link rel="stylesheet" href="widgets.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 18 <!--[if IE 7]> 19 <style type="text/css"> 20 #palette {float:left;} 21 </style> 22 <![endif]--> 18 23 <style type="text/css"> 19 24 .dropzone ul { height: <?php echo constant( 'WP_WIDGETS_HEIGHT' ); ?>px; } … … 62 67 widgets.map(function(o) {o='widgetprefix-'+o; Position.absolutize(o); Position.relativize(o);} ); 63 68 $A(Draggables.drags).map(function(o) {o.startDrag(null); o.finishDrag(null);}); 64 for ( var n in Draggables.drags ) { 69 //for ( var n in Draggables.drags ) { 70 for ( n=0; n<=Draggables.drags.length; n++ ) { 65 71 if ( Draggables.drags[n].element.id == 'lastmodule' ) { 66 72 Draggables.drags[n].destroy(); … … 146 152 if ( $(o).childNodes.length == 0 ) { 147 153 pm.style.display = 'block'; 148 Position.absolutize(o+'placematt');154 //Position.absolutize(o+'placematt'); 149 155 } else { 150 156 pm.style.display = 'none'; … … 306 312 <h3><?php echo $sidebar['name']; ?></h3> 307 313 308 <div id="<?php echo $index; ?>placematt" class="module placemat t">314 <div id="<?php echo $index; ?>placematt" class="module placemat"> 309 315 <span class="handle"> 310 316 <h4><?php _e( 'Default Sidebar' ); ?></h4>
Note: See TracChangeset
for help on using the changeset viewer.