novice jquery issue on wordpress

Completed Posted 6 years ago Paid on delivery
Completed 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 :)

CSS HTML5 jQuery / Prototype

Project ID: #15219298

About the project

5 proposals Remote project Active 6 years ago

Awarded to:

shizivo

Hi, Can you please message me, I will llook into this issue right now. Regards, mariya Relevant Skills and Experience responsive, fluid, mobile friendly layout using HTML, CSS etc. I develop websites using PHP, MyS More

$15 USD in 1 day
(62 Reviews)
5.6

5 freelancers are bidding on average $16 for this job

nikunjv9

i will complete your project within time-limit. Relevant Skills and Experience i will complete your project within time-limit. Proposed Milestones $25 USD - i will complete your project within time-limit. i will com More

$25 USD in 1 day
(4 Reviews)
2.5
pavka007

Hello. I'm interested in your job. Our team has 10+ years of experience of Web Development, so your job's so easy for us. We're looking forward to cooperation with you. Thanks. Relevant Skills and Experience PHP More

$15 USD in 1 day
(1 Review)
2.1
Mofasher17

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

$10 USD in 1 day
(0 Reviews)
0.0