Created
July 19, 2013 06:11
-
-
Save aispin/6037007 to your computer and use it in GitHub Desktop.
jQuery.oxtip.js demo
This file contains hidden or 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
| <!--Step1: add data-oxtipid to the trigger element--> | |
| <a href="javascript:;" data-oxtipid="#tip1">示例1 - hover触发</a> | |
| <!--Step2: prepare your oxtip --> | |
| <div id="tip1" class="mod_hint" style="width: 250px; position: absolute; z-index: 200; left: 712px; top: 148px; display: none;"> | |
| <div class="mod_hint_inner"> | |
| 一个提示浮层的jQuery插件,能够动态计算提示或浮层的位置<br><a href="api/index.html" class="lk_0">查看API文档>></a> | |
| </div> | |
| <i class="mod_hint_arrow1" style="left: 88px;"></i> | |
| </div> | |
| <!--Step3: reference the jquery.oxtip.js --> | |
| <script src="js/jquery.oxtip.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment