(Wordpress) - jquery script doesn't work on window resize in combination with window size

Completed Posted 6 years ago Paid on delivery
Completed Paid on delivery

Hello,

Ik have a little script that appends a div to my Wordpress menu when the window size is less then 1024px.

The script works fine but doens't fire on window resize. Only when i refresh the page the appended div shows up.

Line 9 of the attached file!

Can anyone quick fix this?

JavaScript jQuery / Prototype WordPress

Project ID: #16528698

About the project

10 proposals Remote project Active 6 years ago

Awarded to:

webdevanuj

Hello, I have knowledge of Jquery and wordpress . I can fix the script. can we discuss about project. waiting for reply. I have done the correction in js file if you want please hire me. Thanks, Anuj

$10 USD in 1 day
(15 Reviews)
3.5

10 freelancers are bidding on average $22 for this job

devikagupta

hello, i understand your requirements... please contact me or accept my bid so that we can discuss more and start soon... i m expert in this type of projectInfo... u can also see my portfolio... please, give me a c More

$30 USD in 0 days
(385 Reviews)
6.9
diama64

Hello there and good afternoon , i read your project about script not working on screen resize , this happens cause the javascript is being loaded on first load so the <= 1024 is being counted just on refresh and not More

$25 USD in 0 days
(202 Reviews)
6.0
creativeitechpvt

Hi, i can do in 5min I can done work for you as you mentioned in description.. I am very interested in your project an also I am ready to start immediately. Hope for your very soon reply Thanks

$20 USD in 0 days
(16 Reviews)
5.4
adityasharma91

Hello there, I will fix that issue right now. so can you please share the site URL then I will check what is the issue is there. Thanks.

$15 USD in 1 day
(87 Reviews)
5.1
manjeet2017

Hi, I went through your requirement and feel comfortable to do this job. I have good experience in website design & development. Please initiate chat to discuss further.

$25 USD in 1 day
(11 Reviews)
3.8
JohnMary

Greetings, After reviewing your requirements, I will gladly help you to complete your project. I am available to discuss the project and ready to get started. Kindly inbox me for further communications. I have 1 More

$31 USD in 0 days
(6 Reviews)
3.5