Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function THEMENAME_preprocess_html(&$variables){
- // This function looks for node 1 and only adds the javascript for this.
- // However it can be extended in different ways if required
- drupal_add_library('system', 'ui.tabs');
- drupal_add_js('jQuery(document).ready(function(){
- jQuery("#tabs").tabs({event: "mouseover"});
- jQuery("#tabs").tabs().addClass("ui-tabs-vertical ui-helper-clearfix");
- jQuery("#tabs li").removeClass("ui-corner-top").addClass("ui-corner-left");
- });',
- 'inline');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement