connectseekers.com

Monday, 2 May 2016

jQuery Top Right ToolTip On Hyper Link With Question Mark Sign On Mouse Cursor In Asp.net

5/02/2016 - By Pranav Singh 0

This article will show you how you can display tool tip ant top right corner of the hyper link in asp.net using jquery. This tool tip will display on mouse over. With question mark in mouse cursor.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    <link rel="stylesheet" href="http://tipso.object505.com/tipso.css">
    <script src="http://tipso.object505.com/tipso.js"></script>
    <link rel="stylesheet" href="http://tipso.object505.com/animate.css">


Now add a hyper link into the page.

 
<a href="#" class="top-right" data-tipso="This is a top-right tooltip using jQuery in Asp.Net Link">ToolTip at Top-Right</a>This is an Example


In above code I have added tooltip value in data-tipso. Now we add the below code to show the tooltip at right corner of the link.


 <script>
              jQuery(document).ready(function(){
                  jQuery('.top-right').tipso({
                      position: 'top-right',
                      background: 'rgba(0,0,0,0.8)',
                      titleBackground: 'tomato',
                      titleContent: 'Some title',
                      useTitle: false,
                      tooltipHover: true
                  });
              });
    </script>


Now here is the complete code.


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication4.WebForm2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>jQuery Top Right ToolTip On Hyper Link With Question Mark Sign On Mouse Cursor In Asp.net</title>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    <link rel="stylesheet" href="http://tipso.object505.com/tipso.css">
    <script src="http://tipso.object505.com/tipso.js"></script>
    <link rel="stylesheet" href="http://tipso.object505.com/animate.css">
    <script>
              jQuery(document).ready(function(){
                  jQuery('.top-right').tipso({
                      position: 'top-right',
                      background: 'rgba(0,0,0,0.8)',
                      titleBackground: 'tomato',
                      titleContent: 'Some title',
                      useTitle: false,
                      tooltipHover: true
                  });
              });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <br />
        <br />
         <br />
        <br />
         <br />
        <br />

        <div>
             <a href="#" class="top-right" data-tipso="This is a top-right tooltip using jQuery in Asp.Net Link">ToolTip at Top-Right</a>This is an Example
        </div>
    </form>
</body>
</html>


Now we have done run the application to check the output.

About the Author

We are the group of people who are expertise in different Microsoft technology like Asp.Net,MVC,C#.Net,VB.Net,Windows Application,WPF,jQuery,Javascript,HTML. This blog is designed to share the knowledge.

Get Updates

Subscribe to our e-mail newsletter to receive updates.

Share This Post

0 comments:

Please let me know your view

Free Ebooks


About Us

We are the group of people who are expertise in different Microsoft technology like Asp.Net,MVC,C#.Net,VB.Net,Windows Application,WPF,jQuery,Javascript,HTML. This blog is designed to share the knowledge.

Contact Us

For writing article in this website please send request by your

GMAIL ID: dotnetpools@gmail.com
Email Id : contact@aspdotnet-pools.com

Bugs and Suggestions

As we all know that this website is for sharing knowledge and providing proper solution. So while reading the article is you find any bug or if you have any suggestion please mail us at contact@aspdotnet-pools.com.

Partners


Top jQuery Plugins

Global Classified : Connectseekers.com
© 2014
back to top