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

  • SEARCH
  • Home
  • 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 7980319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:02:07+00:00 2026-06-04T10:02:07+00:00

How can I have text appear when hovering a thumbnail image – I’ve found

  • 0

How can I have text appear when hovering a thumbnail image – I’ve found some tutorials but I need it to work in a list structure like below. Preferably as an additional li or caption.

Site for reference is here: http://owenmyers.co.uk/TESTING/

 #item {
position:absolute;
top:117px;
width:711px;
height:100%;
left:150px;
z-index:1;
}
.item {
    margin:0px;
}
.item.first {
    clear: left;
    margin-left: 0;
}
.item img {
    opacity:0;
    border:1px solid #000;
}

.item ul {
    display:inline;
    list-style-type:none;
    list-style:none;
    float:left;
    width:721px;
    padding:0px 0px;
    margin-left:-5px;
    z-index:5;
}
.item ul li {
    display:inline;
    float:left;
    list-style-type:none;
    list-style:none;
    float:left;
    width:170px;
    height:115px;
    padding:0px 5px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight:600;
    text-transform: none;
    color: #000000;
    text-decoration: none;
}

<div id="item" class="item">
<ul style="margin-top:0px;">
<li class="item"><a href="#"><img src="img/holderthumb.jpg"/></a></li>
<li><a href="#"><img src="img/holderthumb.jpg"/></a></li>
<li><a href="#"><img src="img/holderthumb.jpg"/></a></li>
<li><a href="#"><img src="img/holderthumb.jpg"/></a></li>
</ul>
  • 1 1 Answer
  • 0 Views
  • 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-06-04T10:02:09+00:00Added an answer on June 4, 2026 at 10:02 am

    For each image you should add the attribute alt. For instance
    <img src="img/holderthumb.jpg" alt="Description Here"/>
    You could also do the Title Attribute
    <img src="img/holderthumb.jpg" title="Description Here"/>

    Once you have that done, you can create a simple script that grabs those attributes (either or) and display those. For instance here’s an example

    $("img#id").hover(
    function(){
        var desc = $(this).attr("title"); //Or $(this).attr("alt");
        $("divthatcontainstext").html(desc); //Puts attribute text into div that needs text
    }, //Hover Encompasses Mouse on and Mouse off into one function
    function(){
        $("divthatcontainstext").html(""); //Clears div with text
    });
    

    I think that was the basis of your question. Make sure that the code is wrapper in either $(document).ready(function(){}); or $(function(){});

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

Sidebar

Related Questions

I have a combobox that passes along values in text, but they can have
So I'm trying to have a background image disappear and then have some text
Can I have text in the background of a jQuery UI progress bar? You
can we have content text directly in <div>text content</div> or it should be like
I have a service which takes the user supplied rich text (can have HTML
I have text with font in org.faceless.pdf.PDFFont. How can I get width of it
The project I am working on has a rich text box that can have
I have a text area where user can write his SMS. You all know
I have a text to speech application where the user can select a language
Suppose I have a text that I can easily parse. It consists of text

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.