Jquery fix

  • Posted:
  • Proposals: 17
  • Remote
  • #1573008
  • Expired
Rudy K.
Gagan S.John D.Joy B.Anthony K. + 12 others have already sent a proposal.
  • 0

Description

Experience Level: Intermediate
General information for the website: jquery fix
Description of requirements/features: Hi,

We are trying to get an image to show content when pressed with the same class name. Class name is being put in with a post id (wordpress).

Can't seem to get this to work:


jQuery(document).ready(function(){

var casesfull = jQuery('.casesfull').attr('class').split(' ')[1];
var casesthumb = jQuery('.casesthumb').attr('class').split(' ')[1];

jQuery(".casesthumb").click(function() {
if (casesfull == casesthumb) {
jQuery(casesfull).show();
alert(casesfull);
}
});

});

Extra notes:

New Proposal

Create an account now and send a proposal now to get this project.

Sign up

Clarification Board Ask a Question

  • Jon H.

    Hi, I this job still open?
    Jon

  • Sufi S.

    Hi Curtis,
    Are you still open to proposal ?

  • Hamxa B.

    Do you have a link to show ?

  • Navdeep G.

    Hi Curtis,

    I understand the requirement and ready to fix this issue.
    Can you please share the website details ?

    Regards
    Navdeep

  • Matthew B.

    Hi Curtis,

    Is it possible to see the website and page in question so I can take a look at the actual content and code?

    Kind regards,

    Matthew