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 8780185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:58:43+00:00 2026-06-13T19:58:43+00:00

The function I am writing is meant to slide down a panel when the

  • 0

The function I am writing is meant to slide down a panel when the enduser clicks on a thumbnail. The idea is that the panel will display a larger version of the image, the title, and description also.

Here is my jQuery:

$(document).ready(function() {
var $feature = $('#feature')
.wrap('<div id="feature-outer"></div>');
$('.thumb').click(function() {
$feature.blindToggle('slow');
$feature.style.zIndex="-1"; 
$('#featuretitle').source=this.title;
$('#featureinfo').source=this.info;
$('#featureimage').source=this.image;  


});    
});

And here is my thumb HTML:

<div class=thumb title="title here" info="description here" image="sunset.jpg"></div>

Here is where the information is going to be loaded:

<div class=feature id="feature">
     <div class=featureimage id="featureimage"></div>
     <div class=featureinfo>
          <div class=featureinfotitle id="featuretitle">Title</div>
          <p id="featureinfo">info</p>
     </div>

When I click on the thumb, the panel slides down but the information in the boxes stay their default.

  • 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-13T19:58:45+00:00Added an answer on June 13, 2026 at 7:58 pm

    I think you want to do something more like this. Note: there is no property of source on a Jquery object.

    $(function() {
      var $feature = $('#feature').wrap('<div id="feature-outer"></div>');
      $('.thumb').click(function() {
        $feature.blindToggle('slow');
        $feature.style.zIndex="-1"; 
        $('#featuretitle').html($(this).attr('title'));
        $('#featureinfo').html($(this).attr('info'));
        $('#featureimage').attr('src', $(this).attr('image'));  
      });    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a program that is meant to be extended by some function
I am writing function that involve other function from base R with a lot
I'm writing a function which will drop a table if it already exists. It
I am writing a function in Haskell that deals with numbers beyond the length
I'm writing a function that replaces long hex coded color ( #334455 ) with
Short of writing a function manually that translates a few known REFIID to names,
I am writing a function which is meant to take a character as an
I'm writing a script that's meant to be embedded on 3rd party sites to
Let's say I'm writing a PHP (>= 5.0) class that's meant to be a
Briefly dismiss the fact that normal function overloading will serve this example better. 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.