Tooltip With Animation Explode Effect using Jquery

The tootlrip displayed when the mouse is over the control( Textbox,Button etc) .  Many times, we want to show tooltrip with some animation so this article will help you.
Source Code:-
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="tooltrip.aspx.cs" Inherits="tooltrip" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Tooltip With Animation Explode Effect using Jquery</title>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
    <script src="http://code.jquery.com/jquery-1.10.2.js"></script>
    <script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
    <style type="text/css">
        body
        {
            font-size: 11px;
        }
    </style>
    <script>
        $(function () {
            $("#<%=txtName.ClientID %>").tooltip({
                hide: {
                    effect: "explode",
                    delay: 250
                }
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      Name : <asp:TextBox ID="txtName" runat="server" title="Enter Your Name"></asp:TextBox>
    </div>
    </form>
</body>
</html>


Out-Put:-
Tooltip With Animation Explode Effect using Jquery Tooltip With Animation Explode Effect using Jquery Reviewed by NEERAJ SRIVASTAVA on 7:21:00 PM Rating: 5

No comments:

Powered by Blogger.