From 456a8d4c40f0eebadd85f064c0f37e9f078b1b2a Mon Sep 17 00:00:00 2001 From: hyzboy Date: Thu, 8 Sep 2016 22:26:34 +0400 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0tooltip=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/tooltip.js | 4 ++++ tools.php | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 js/tooltip.js diff --git a/js/tooltip.js b/js/tooltip.js new file mode 100644 index 0000000..ce0f234 --- /dev/null +++ b/js/tooltip.js @@ -0,0 +1,4 @@ +$(document).ready(function() +{ + $('[data-toggle="tooltip"]').tooltip(); +}); diff --git a/tools.php b/tools.php index dccb2b0..9e07f2c 100644 --- a/tools.php +++ b/tools.php @@ -79,6 +79,11 @@ echo ''; } + function echo_span_hint_link($glyph,$text,$hint,$link) + { + echo ''.''.$text.''; + } + function echo_span_label($style,$text) { echo ''.$text.'';