jquery教程

推荐列表 站点导航

当前位置:首页 > jquery > jquery教程 >

jHelperTip

来源:网络整理  作者:wy  发布时间:2020-12-23 20:18
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...
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", /IT之家 tooltip ContainerIT之家/ dC: "#jHelperTipDataContainer", /IT之家 data Container IT之家/ aC: "#jHelperTipAttrContainer", /IT之家 attr Container IT之家/ opacity: 1.0, loadingImg: "ajax-loader.gif", loadingText: "Loading...", type: "GET", /IT之家 data can be inline or CSS selector IT之家/ //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 tooltipExamples 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://v30.fanwenzhu.com/jq/jc/8326.shtml

相关文章
最新文章
PHP识别相片是否是颠倒的 PHP识别相片是否是颠倒的

时间:2020-12-28

python编程有哪些ide python编程有哪些ide

时间:2020-12-28

python开发工程师是做什么 python开发工程师是做什么

时间:2020-12-28

php构造函数的作用 php构造函数的作用

时间:2020-12-28

php怎么跟数据库连接 php怎么跟数据库连接

时间:2020-12-28

php实现顺序线性表 php实现顺序线性表

时间:2020-12-28

Python多重继承中的菱形继 Python多重继承中的菱形继

时间:2020-12-28

php中break的作用 php中break的作用

时间:2020-12-28

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

jHelperTip

2020-12-23 编辑:wy

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", /IT之家 tooltip ContainerIT之家/ dC: "#jHelperTipDataContainer", /IT之家 data Container IT之家/ aC: "#jHelperTipAttrContainer", /IT之家 attr Container IT之家/ opacity: 1.0, loadingImg: "ajax-loader.gif", loadingText: "Loading...", type: "GET", /IT之家 data can be inline or CSS selector IT之家/ //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 tooltipExamples 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://v30.fanwenzhu.com/jq/jc/8326.shtml

相关文章

风云图片

推荐阅读

返回jquery教程频道首页