Image Tool tips in SharePoint using jQuery

Here is my requirement: when I mouse over an image, I should get a tool tip with screenshot for easy usage.

Here is how I’ve done this using J-Query:

Download the jQuery files and upload them into a document library, from here:

Paste the below code inside the <asp:Content> </asp:Content> (you can find this tag, at the end of the page)

<link rel="stylesheet" href="Support/jquery.tooltip.css" />
<link rel="stylesheet" href="Support/screen.css" />
<script src="Support/jquery.js" type="text/javascript"></script>
<script src="Support/jquery.dimensions.js" type="text/javascript"></script>
<script src="Support/jquery.tooltip.js" type="text/javascript"></script>
<script type="text/javascript">

$(function() {
delay: 0,
showURL: false,
bodyHandler: function() {
return $("<img/>").attr("src", '');
jQuery Image Tool tip in SharePoint

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published. Required fields are marked *