novice jquery issue on wordpress
$10-30 USD
Paid on delivery
Hey guys,
I have a jQuery script over on my page at [login to view URL]
the script is
`$(document).ready(function(){
$(".tabbed ul li:nth-child(1)").click(function(){
$(".slider-1").css("display", "block");
$(".slider-2").css("display", "none");
$(".slider-3").css("display", "none");
$(".slider-4").css("display", "none");
});
$(".tabbed ul li:nth-child(2)").click(function(){
$(".slider-1").css("display", "none");
$(".slider-2").css("display", "block");
$(".slider-3").css("display", "none");
$(".slider-4").css("display", "none");
});
$(".tabbed ul li:nth-child(3)").click(function(){
$(".slider-1").css("display", "none");
$(".slider-2").css("display", "none");
$(".slider-3").css("display", "block");
$(".slider-4").css("display", "none");
});
$(".tabbed ul li:nth-child(4)").click(function(){
$(".slider-1").css("display", "none");
$(".slider-2").css("display", "none");
$(".slider-3").css("display", "none");
$(".slider-4").css("display", "block");
});
});`
and can be found in this codepen i made: [login to view URL]
the codepen works fine - the site does not. any body that can tell me what's wrong will get a quick $10. thanks!
UPDATE:
my client didn't give me FTP details & they're using visual composer on WP so i'm stuck in that front end ecosystem. Visual composer has a "script" block on pages that I was putting the script directly into - i've since uploaded & then linked it with a script tag through that interface.
it didn't really seem to change anything. i was getting the normal $ not declared errors, switched to [login to view URL](); (function($){ and stopped getting them but the script doesn't seem to be changing anything on my page..
it's getting late & i gotta go to bed soon.. i would pay $15 if someone can login & fix this in the next 6 hours
so that i know you've actually read this, please tell me what your favorite food is :)
Project ID: #15219298
About the project
5 freelancers are bidding on average $16 for this job
Dear sir, I read your message , i have over 2 years of experience and i give you better service. I am waiting for your response. Regards, Mofasher Relevant Skills and Experience Dear sir, I have confident about my sk More