<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JQuery mouse over &#8211; Sibeesh Passion</title>
	<atom:link href="https://sibeeshpassion.com/tag/jquery-mouse-over/feed/" rel="self" type="application/rss+xml" />
	<link>https://sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Tue, 29 Sep 2015 09:01:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>JQuery mouse over &#8211; Sibeesh Passion</title>
	<link>https://sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Create Tooltip Without Any Plugins</title>
		<link>https://sibeeshpassion.com/create-tooltip-without-any-plugins/</link>
					<comments>https://sibeeshpassion.com/create-tooltip-without-any-plugins/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Tue, 29 Sep 2015 00:33:50 +0000</pubDate>
				<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Create Tooltip Without Any Plugins]]></category>
		<category><![CDATA[JQuery mouse over]]></category>
		<category><![CDATA[JQuery Tooltip]]></category>
		<category><![CDATA[Title attribute]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=10708</guid>

					<description><![CDATA[In this post we will discuss how we can create a tool tip by using JQuery.Here we are not going to use any plugins to create the tool tip. We will use only jquery and html table for this demo. I hope you will like this. Background Recently I was going through a situation to create a tool tip for my grid. As we all know there are plenty of plugins are available for the tool tip generation. But I was not ready to go with any plugins for this. So I thought of creating it manually. You might be [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In this post we will discuss how we can create a tool tip by using <a href="http://sibeeshpassion.com/tag/JQuery/" target="_blank">JQuery</a>.Here we are not going to use any plugins to create the tool tip. We will use only jquery and html table for this demo. I hope you will like this. </p>
<p><strong>Background</strong></p>
<p>Recently I was going through a situation to create a tool tip for my grid. As we all know there are plenty of plugins are available for the tool tip generation. But I was not ready to go with any plugins for this. So I thought of creating it manually. You might be think this could be done by adding the title attribute to the elements directly, but I had a different situation. I was using a third tool, in which I was forced to include an additional js file, I was not ready to do that. Adding any unwanted js file to your project is a bad habit. So I thought of creating tool tip in the custom way. </p>
<p><strong>Using the code</strong></p>
<p>First of all we will create a page and a html table.</p>
<p>[html]<br />
&lt;!DOCTYPE html&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
    &lt;title&gt;Create Tooltip Without Any Plugins&lt;/title&gt;<br />
    &lt;script src=&quot;jquery-2.0.2.min.js&quot;&gt;&lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
    &lt;table class=&quot;table&quot; border=&quot;1&quot; style=&quot;width: 100%&quot;&gt;<br />
        &lt;tr&gt;<br />
            &lt;td&gt;Sibi&lt;/td&gt;<br />
            &lt;td&gt;Ajay&lt;/td&gt;<br />
            &lt;td&gt;50&lt;/td&gt;<br />
        &lt;/tr&gt;<br />
        &lt;tr&gt;<br />
            &lt;td&gt;Ansu&lt;/td&gt;<br />
            &lt;td&gt;Akhil&lt;/td&gt;<br />
            &lt;td&gt;94&lt;/td&gt;<br />
        &lt;/tr&gt;<br />
        &lt;tr&gt;<br />
            &lt;td&gt;Shanto&lt;/td&gt;<br />
            &lt;td&gt;Libin&lt;/td&gt;<br />
            &lt;td&gt;80&lt;/td&gt;<br />
        &lt;/tr&gt;<br />
    &lt;/table&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>[/html]</p>
<p>Now if you run your page and, you can see the table.</p>
<div id="attachment_10709" style="width: 644px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_1.png"><img decoding="async" aria-describedby="caption-attachment-10709" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_1-1024x48.png" alt="Create Tooltip Without Any Plugins" width="634" height="30" class="size-large wp-image-10709" srcset="/wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_1-1024x48.png 1024w, /wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_1-300x14.png 300w, /wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_1-768x36.png 768w, /wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_1-400x19.png 400w, /wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_1.png 634w" sizes="(max-width: 634px) 100vw, 634px" /></a><p id="caption-attachment-10709" class="wp-caption-text">Create Tooltip Without Any Plugins</p></div>
<p>No we will add our script to the page.</p>
<p>[js]<br />
 &lt;script&gt;<br />
        $(document).on(&#8216;mouseover&#8217;, &#8216;.table td&#8217;, function () {<br />
            $(this).attr(&#8216;title&#8217;, $(this).text());<br />
        });<br />
    &lt;/script&gt;<br />
[/js]</p>
<p>Here what we are doing is, we are just appending the title attribute for the td element in the mouseover event. Now run your page, and see our tool tip works perfectly. </p>
<div id="attachment_10710" style="width: 644px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_2.png"><img decoding="async" aria-describedby="caption-attachment-10710" src="http://sibeeshpassion.com/wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_2-1024x71.png" alt="Create Tooltip Without Any Plugins" width="634" height="44" class="size-large wp-image-10710" srcset="/wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_2-1024x71.png 1024w, /wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_2-300x21.png 300w, /wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_2-768x54.png 768w, /wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_2-400x28.png 400w, /wp-content/uploads/2015/09/Create_Tooltip_Without_Any_Plugins_2.png 1332w" sizes="(max-width: 634px) 100vw, 634px" /></a><p id="caption-attachment-10710" class="wp-caption-text">Create Tooltip Without Any Plugins</p></div>
<p>We have done it finally.</p>
<p><strong>Complete Code</strong></p>
<p>[html]<br />
&lt;!DOCTYPE html&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
    &lt;title&gt;Create Tooltip Without Any Plugins&lt;/title&gt;<br />
    &lt;script src=&quot;jquery-2.0.2.min.js&quot;&gt;&lt;/script&gt;<br />
    &lt;script&gt;<br />
        $(document).on(&#8216;mouseover&#8217;, &#8216;.table td&#8217;, function () {<br />
            $(this).attr(&#8216;title&#8217;, $(this).text());<br />
        });<br />
    &lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
    &lt;table class=&quot;table&quot; border=&quot;1&quot; style=&quot;width: 100%&quot;&gt;<br />
        &lt;tr&gt;<br />
            &lt;td&gt;Sibi&lt;/td&gt;<br />
            &lt;td&gt;Ajay&lt;/td&gt;<br />
            &lt;td&gt;50&lt;/td&gt;<br />
        &lt;/tr&gt;<br />
        &lt;tr&gt;<br />
            &lt;td&gt;Ansu&lt;/td&gt;<br />
            &lt;td&gt;Akhil&lt;/td&gt;<br />
            &lt;td&gt;94&lt;/td&gt;<br />
        &lt;/tr&gt;<br />
        &lt;tr&gt;<br />
            &lt;td&gt;Shanto&lt;/td&gt;<br />
            &lt;td&gt;Libin&lt;/td&gt;<br />
            &lt;td&gt;80&lt;/td&gt;<br />
        &lt;/tr&gt;<br />
    &lt;/table&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>[/html]</p>
<p><strong>Conclusion</strong></p>
<p>Did I miss anything that you may think which is needed?Have you ever faced this issue in your programming life? I hope you liked this article. Please share me your valuable suggestions and feedback.</p>
<p><strong>Your turn. What do you think?</strong></p>
<p>A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I am able to.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/create-tooltip-without-any-plugins/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
