Created
May 2, 2012 17:49
-
-
Save Itachicz11/2578650 to your computer and use it in GitHub Desktop.
Here I enque ibutton jquery (last enque in column)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Create Options page | |
* | |
* @uses add_action() | |
* @uses wp_enqueue_script() | |
* | |
* @since 1.0.0 | |
*/ | |
function of_load_only() | |
{ | |
add_action('admin_head', 'of_admin_head'); | |
wp_enqueue_script('jquery-ui-core'); | |
wp_enqueue_script('jquery-ui-sortable'); | |
wp_enqueue_script('jquery-input-mask', ADMIN_DIR .'assets/js/jquery.maskedinput-1.2.2.js', array( 'jquery' )); | |
wp_enqueue_script('tipsy', ADMIN_DIR .'assets/js/jquery.tipsy.js', array( 'jquery' )); | |
wp_enqueue_script('color-picker', ADMIN_DIR .'assets/js/colorpicker.js', array('jquery')); | |
wp_enqueue_script('ajaxupload', ADMIN_DIR .'assets/js/ajaxupload.js', array('jquery')); | |
wp_enqueue_script('cookie', ADMIN_DIR . 'assets/js/cookie.js', 'jquery'); | |
wp_enqueue_script('smof', ADMIN_DIR .'assets/js/smof.js', 'jquery'); | |
wp_enqueue_script('ibuttonjs', ADMIN_DIR .'assets/js/jquery.ibutton.js', 'jquery'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment