Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 967687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:21:33+00:00 2026-05-16T02:21:33+00:00

i have a sharepoint custom list and we have 2 columns in there URL

  • 0

i have a sharepoint custom list and we have 2 columns in there URL and description. i have a list webpart which shows all the URLs from the sharepoint list. But when i mouse hover on the link i would like to show description for that link in a small window. Can anyone please help me implementing this using jquery. Jquery should be able to read the description from list. Please let me know if something is not clear.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T02:21:34+00:00Added an answer on May 16, 2026 at 2:21 am

    You have two options for doing something like that :

    1. In your list webpart, you show your URLs as your already do, but you also create divs for your description, you just hide them. Them, on hover, you show the information using jQuery (jQuery Tools Overlay or Tooltip or something like it will do)

    2. If your description is big, or if you have a lot of elements in your list, you might want to use AJAX / SharePoint list web service to achieve this. It is a bit trickier but might be worth it.

    You can find more details about this method here

    EDIT:

    You could use jQuery to show your div very easily. Put the following markup in your code :

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>          
    <script type="text/javascript">                                         
      $(document).ready(function() {
        $('a').hover(
          function () {
            $('#divDescription').show();
          }, 
          function () {
            $('#divDescription').hide();
          }
       );
      });                                 
    

    Read some tutorials on how to get started with jQuery.

    EDIT 2:
    I’m assuming that you have markup like this :

    <div>
      <a>Your First link</a>
      <div id="divDescription">Your First Description</div>
    </div>
    <div>
      <a>Your Second link</a>
      <div id="divDescription">Your SecondDescription</div>
    </div>
    ...
    

    Instead, you should do something like :

    <div>
      <a>Your First link</a>
      <div class="description">Your First Description</div>
    </div>
    <div>
      <a>Your Second link</a>
      <div class="description">Your SecondDescription</div>
    </div>
    ...
    

    Notice how I use a class instead of an ID for the description div.

    Then, in your javascript :

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>          
    <script type="text/javascript">                                         
      $(document).ready(function() {
        $('a').hover(
          function () {
            $(this).parent('div').find('.description').show();
          }, 
          function () {
            $(this).parent('div').find('.description').hide();
          }
       );
      }); 
    

    You need to understand what you are doing with jQuery in order to make this work. When you do $("#divDescription").show(); you are selecting all the divs with the ID “divDescription” and showing them. Read more about the parent and find functions. I really recommend that you read up on javascript and jQuery to gain a better understanding of how it works. There are tons of tutorials online that will help you with that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a list in SharePoint 2010 with some columns. All are default types.
Background: I have a built-in-house custom SharePoint 2010 web part, inheriting from System.Web.UI.WebControls.WebParts.WebPart ,
I have a custom list in which there is one column as employee which
I have a Silverlight 2.0 listbox which reads in data from a custom list
I have seen a SharePoint list (Custom list) where text shows up, whenever a
I have a custom SharePoint solution which requires several list instances on a particular
I have defined a custom Sharepoint list for special attributes related to a software
I have a custom list in SharePoint (specifically, MOSS 2007.) One field is a
I have created a custom list as a feature in sharepoint. i need to
I have defined a custom list template type for SharePoint . I install it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.