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
<a href="#" id="to-top" title="Back to top">To top</a> |
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
<a href="#" id="togg-link">Click this link to toggle the content displayed below</a> | |
<div id="togg">Content to be toggled.</div> |
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
<a href="#" id="togg-link">Click this link to toggle the content displayed below</a> | |
<div id="togg">Content to be toggled.</div> |
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
Usage | |
----- | |
Place the 'themename_preprocess_html()' function in your theme's template.php file. | |
Rename 'themename' to your theme's actual name, | |
e.g. for 'bartik' the function name would be changed to 'bartik_preprocess_html'. | |
Change 'ui.slider' to whichever jQuery UI library you want to add. | |
In Drupal 7, jQuery UI library files are stored in '/misc/ui'. | |
See: http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_add_library/7 for reference. |