Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

jQuery UI Tooltips show option

  • Last Updated : 25 Feb, 2021

jQuery UI consists of GUI widgets, visual effects, and themes implemented using jQuery, CSS, and HTML. jQuery UI is great for building UI interfaces for the webpages. jQuery UI tooltip widget helps us to add new themes and allows for customization. In this article, we will see how to use the show option in jQuery UI tooltips. The show option is used to add the animation effect while showing in the jQuery UI tooltips. By default, the value is true.


   { show : true }


  • Boolean: If set to false there is no showing effect.
  • Number: The time(ms) after which the tooltip is shown.
  • String: The string is used for the selected effect for showing the tooltip. The effect will be used for showing using the default duration and easing.
  • Object: The tooltip is shown using an object as a value where effect, easing, duration, and delay properties are provided.


  • First, add jQuery UI scripts needed for your project.

<link href=”” rel=”stylesheet”>

<script src=””></script>

<script src=””></script>

Example 1: The following code demonstrates the setting of the show option with time in ms.




Example 2: The following code demonstrates the setting of the show option with boolean value.





Example 3: The following example demonstrates the tooltip show option with the slideDown and folds feature. Refer to the output image for better understanding.





My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!