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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:11:30+00:00 2026-05-27T21:11:30+00:00

If you click on a cell on this page , it loads the larger

  • 0

If you click on a cell on this page, it loads the larger version of the image. I’m trying to achieve this same effect.

What I have gotten so far: http://jsfiddle.net/8mYW9/

First off I know having the "appear" <div> is redundant – is there a good way to utilize $(this) and appendTo(); instead?

Ultimately my idea is to grab the id of the anchor contained within the div that is clicked and to append it to the cell. What should I be doing…?

  • 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-05-27T21:11:30+00:00Added an answer on May 27, 2026 at 9:11 pm

    If you change the ID attribute to class for the appear elements you can do this:

    $(document).ready(function() {
        $('#appear').hide();
        $('.links').click(function() {
            var $this = $(this);//cache the $(this) selector since it will be used more than once
            $this.children('.appear').html('item id: ' + $this.children('a').attr('id')).fadeToggle('slow');
        });
    });
    

    Demo: http://jsfiddle.net/8mYW9/7/

    BTW you can’t have multiple elements with the same ID in a HTML document.

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

Sidebar

Related Questions

How to change cell background image on click on cell in iphone????I have tried
For example, after click the 1st cell of of the table on this page
How can i get section cell text on custom cell button click. is this
I have an iPhone app with a tableviewcontroller. When you click a certain cell
I have set up a demo on this page : http://permanaj.net/jqgrid/index.html code: <html> <head>
I have this big data-entry sort of page, a table kind of layout using
I have multiple buttons on a page and I want to simulate a click
Is there a way to catch a click on a cell in VBA with
Using jQuery, how do you bind a click event to a table cell (below,
I have a table cell, and when the user clicks on it, I replace

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.