aboutsummaryrefslogtreecommitdiffstats
path: root/js/global.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/global.js')
-rw-r--r--js/global.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/global.js b/js/global.js
new file mode 100644
index 000000000..5a5515420
--- /dev/null
+++ b/js/global.js
@@ -0,0 +1,15 @@
+(function($) {
+ $(function() {
+ $('pre.overflow').bind('mouseover', function() {
+ $(this).css({
+ 'overflow' : 'auto',
+ 'padding-bottom' : '8px'
+ });
+ }).bind('mouseout', function() {
+ $(this).css({
+ 'overflow' : 'hidden',
+ 'padding-bottom' : '23px'
+ });
+ }).trigger('mouseout');
+ });
+})(jQuery);