Completed

novice jquery issue on wordpress

Hey guys,

I have a jQuery script over on my page at [url removed, login to view]

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: [url removed, login to view]

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 [url removed, login to view](); (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 :)

Taidot: CSS, HTML5, jQuery / Prototype

Näytä lisää: wordpress layerslider jquery issue, wordpress jquery issue, layerslider jquery issue wordpress, remove render-blocking javascript jquery wordpress, wordpress accordion content, jquery accordion wordpress, how to use accordion in wordpress, eliminate render-blocking css wordpress, eliminate render-blocking css in above-the-fold content wordpress, wordpress accordion shortcode tutorial, remove render-blocking javascript wordpress, jquery superfish wordpress, jquery slider wordpress, jquery sidebar wordpress, jquery php wordpress, wordpress file end login, wordpress front end upload, jquery scroll wordpress, jquery mouse wordpress, wordpress front end login form

Tietoa työnantajasta:
( 0 arvostelua ) United States

Projektin tunnus: #15219298

Myönnetty käyttäjälle:

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 Lisää

$15 USD 1 päivässä
(32 Arvostelua)
5.2

6 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

$15 USD 0 päivässä
(153 arvostelua)
5.8
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 Lisää

$15 USD 1 päivässä
(0 arvostelua)
0.0
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 Lisää

$25 USD 1 päivässä
(0 arvostelua)
0.0
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 Lisää

$10 USD 1 päivässä
(0 arvostelua)
0.0
usamaahmed19

A proposal has not yet been provided

$25 USD 1 päivässä
(0 arvostelua)
0.0