Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;title&gt;&lt;/title&gt; &lt;script src="../../../Scripts/jquery-1.7.1.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(document).ready(function () { var offsetY = -20; var offsetX = 40; var html = '&lt;div id="info" class="InfoMessage"&gt;&lt;h4&gt;Info here &lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;'; $(html).hide().appendTo('body'); $('img.imagepopupcontext').hover(function (e) { $('div.InfoMessage').hide().find('p').text($(this).data('message')); $('div.InfoMessage').fadeIn(400); $('div.InfoMessage').css('top', e.pageY + offsetY).css('left', e.pageX + offsetX); }, function () { $('#info').hide(); }); $('img.imagepopupcontext').mousemove(function (e) { $('div.InfoMessage').css('top', e.pageY + offsetY).css('left', e.pageX + offsetX); }); }); &lt;/script&gt; &lt;style type="text/css"&gt; #info { background: #7F7777; width: 300px; padding-bottom: .5em; padding-right: 15px; overflow: hidden; position: absolute; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;table border="1" bgcolor="skyblue"&gt; &lt;tr&gt; &lt;td&gt; in progress &lt;/td&gt; &lt;td&gt; Sale &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; in progress &lt;/td&gt; &lt;td&gt; &lt;table border="1" bgcolor="orange"&gt; &lt;tr&gt; &lt;td&gt; inner table a &lt;/td&gt; &lt;td&gt; inner table2 A &lt;/td&gt; &lt;td&gt; &lt;img class="imagepopupcontext" src="http://cdn1.iconfinder.com/data/icons/SOPHISTIQUENIGHT/mail_icons/png/16/pop_documents.png" data-message="Show dynamic information A a" /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; inner table b &lt;/td&gt; &lt;td&gt; inner table2 B &lt;/td&gt; &lt;td&gt; &lt;img class="imagepopupcontext" src="http://cdn1.iconfinder.com/data/icons/SOPHISTIQUENIGHT/mail_icons/png/16/pop_documents.png" data-message="Show dynamic information B b" /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;div id="divshowpopup"&gt; &lt;p id="dbInfo"&gt; &lt;/p&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload