Changeset 10150 for trunk/wp-admin/custom-header.php
- Timestamp:
- 12/09/2008 06:03:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-header.php
r9924 r10150 147 147 farbtastic.setColor(color); 148 148 } 149 149 150 150 jQuery(document).ready(function() { 151 151 jQuery('#pickcolor').click(function() { 152 152 jQuery('#colorPickerDiv').show(); 153 153 }); 154 154 155 155 jQuery('#hidetext').click(function() { 156 156 toggle_text(); 157 157 }); 158 158 159 159 farbtastic = jQuery.farbtastic('#colorPickerDiv', function(color) { pickColor(color); }); 160 160 pickColor('#<?php echo get_theme_mod('header_textcolor', HEADER_TEXTCOLOR); ?>'); 161 161 162 162 <?php if ( 'blank' == get_theme_mod('header_textcolor', HEADER_TEXTCOLOR) ) { ?> 163 163 toggle_text(); 164 164 <?php } ?> 165 165 }); 166 166 167 167 jQuery(document).mousedown(function(){ 168 168 // Make the picker disappear, since we're using it in an independant div
Note: See TracChangeset
for help on using the changeset viewer.