jHelperTip

码农软件 · 软件分类 · jQuery Tooltips · 2019-12-25 17:13:14

软件介绍

jHelperTip is intended to be useful in many situations such as hovering tip and clickable tips. It can get data from a container, through Ajax or even the attributes of the current object.

The API and Default Values

$.fn.jHelperTip.defaults = {
trigger: "click",
topOff: 3,
leftOff: 10,
source: "container",
attrName: '',
ttC: "#jHelperTipContainer", /* tooltip Container*/
dC: "#jHelperTipDataContainer", /* data Container */
aC: "#jHelperTipAttrContainer", /* attr Container */
opacity: 1.0,
loadingImg: "ajax-loader.gif",
loadingText: "Loading...",
type: "GET", /* data can be inline or CSS selector */
//url: '',
//data: '',
autoClose: true
};

Explanation of the Options:

trigger: "click" or "hover" to trigger the tooltip

topOff: top offset from mouse pointer

leftOff: left offset from mouse pointer

source: can be "container", "ajax" or "attribute", container is an container in current page, ajax loads from another page, attribute will read the attribute of current object.

attrName: the attribute that you want to pass the data from (only works if your source is attribute)

ttC: tooltip container (define a container to position your tooltip and receive data from ajax), will create if container not found use "#container" and not "container"

dC: data container for same page container (only works if your source is container)

aC: attribute data container (only works if your source is attribute)

opacity: opacity of the tooltips

loadingImg: the loading image indicator in Ajax calls (only works if your source is ajax)

loadingText: the loading text indicator in Ajax calls (only works if your source is ajax)

type: "GET" or "POST" (only works if your source is ajax)

url: The address of the page that you are fetching from (only works if your source is ajax)

data: data passed to the ajax request (only works if your source is ajax)

autoClose: true or false, specify if explicit action is needed to close the tooltip
Examples

jQuery.noConflict();

jQuery(function($){
$("#test").jHelperTip({
trigger: "click",
dC:"#tip1",
autoClose: false,
opacity: 0.9
});

Matt is doing something dangerous

click here to close

adj.

1. Involving or filled with danger; perilous.

2. Being able or likely to do harm.

本文地址:https://codercto.com/soft/d/21937.html

Unix/Linux编程实践教程

Unix/Linux编程实践教程

Bruce Molay、杨宗源、黄海涛 / 杨宗源、黄海涛 / 清华大学出版社 / 2004-10-1 / 56.00元

操作系统是计算机最重要的系统软件。Unix操作系统历经了几十年,至今仍是主流的操作系统。本书通过解释Unix的工作原理,循序渐进地讲解实现Unix中系统命令的方法,让读者理解并逐步精通Unix系统编程,进而具有编制Unix应用程序的能力。书中采用启发式、举一反三、图示讲解等多种方法讲授,语言生动、结构合理、易于理解。每一章后均附有大量的习题和编程练习,以供参考。 本书适合作为高等院校计算机及......一起来看看 《Unix/Linux编程实践教程》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

html转js在线工具
html转js在线工具

html转js在线工具