Jquery.cvtooltip.js bubble hint plugin based on jquery _jquery

Source: Internet
Author: User
Order
1. The CV in the plugin name Cvtooltip is the initials of the Chinavalue, and ToolTip is the hint.
2. Applicable to the new features of the prompts, guide the user's prompts, instant class message prompts, operation failure prompts (the operation succeeded also no one stopped), etc., using CSS implementation, without any picture files.
3. The problem currently found in Chorme is due to the fact that Chrome's parsing of the page is different from IE and FF, resulting in jquery position or offset return values.
4. The plugin is still a practice, a person's power, mistakes unavoidably.

Example Demo
1. While loading the page, the bubble tip is also displayed. Please move your eyes to the first paragraph.
2. Click on the button to show bubble tips, note that the tip can not be closed, two seconds after the disappearance of automatically disappear. I am a link
3. Call off function after closing bubble action. Dot me again

parameters
Panel: "Body",//This parameter is the container that loads the bubble tip, and different values may result in different positions of calculation
Selector: "",//control used to calculate positioning
direction:0,//arrow direction
width:300,//bubble tip width, full manual setup
left:0,//distance to the left margin of panel parameter
top:0,//distance to the top margin of panel parameter
Delay:-1,//delayed close, unit milliseconds, value 0 indicates immediate shutdown
speed:300,//off effect, fade speed
Close:true,//whether to show the Close button
Callback:function () {
$.noop (); Click on the event after the shutdown
}

usage and source
This is not pasted, view the next page source file on the line, in JS also write Ash often clear birds, or a fierce point here to download.

Pinais
The premise of the bubble hint is that there must be an object to be prompted, and the default position is calculated according to the body, and the disadvantage is that if the content of the page changes, the position of the bubble does not change, leading to the failure of the cue.
In this case, a selector parameter is provided to ensure that the bubble changes as the position of the selector control changes.
JS file package Download
Original Address http://www.cnblogs.com/0417/archive/2010/11/17/1880293.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.