Add a function to a JQuery script

Completed Posted 7 years ago Paid on delivery
Completed Paid on delivery

I need a change in a JQuery script for a food order theme (Wordpress). I installed the theme and its working fine. However, I'm missing a function. You can see the website under pizzalimmat.ch. if you navigate to the menu you will see a list with dishes. So for two dishes we need options. For these option I added a new section under "Zutaten". So if the user click on the specific dish, then the page scroll down to Zutaten, in order that the user can add the options.

I thought to use the id as anchor. So I tried something in this way in the script:

if(thisID == 103 ) {

$([url removed, login to view]).animate({

'scrollTop': $('#201').offset().top

}, 2000);

} else {

}

However, its not working. Can you help me to adjust this? If you have questions please ask.

HTML jQuery / Prototype PHP Website Design

Project ID: #12572662

About the project

11 proposals Remote project Active 7 years ago

Awarded to:

devikagupta

hello sir, i can do your project.... please accept my bid so that i can start it... i m expert in this type of project... u can also see my portfolio... please sir accept my bid.. please hope u will do i m waiting f More

$15 USD in 0 days
(523 Reviews)
7.1

11 freelancers are bidding on average $27 for this job

alexgospodarets

Hi! I have 10+ years of web developing experience, I can promise quality and responsibility. We can start immediately.

$25 USD in 1 day
(72 Reviews)
6.7
glennwilkins

sir pm me im good in jquery thanks ... sir pm me im good in jquery thanks ... sir pm me im good in jquery thanks ... sir pm me im good in jquery thanks ...

$20 USD in 0 days
(137 Reviews)
6.1
articontech

I have being working as php developer since 8 years in which 4 Years I have being working as joomla developer. I have also worked in Magento, cake php, wordpress, prestashop, boonex, osccomerce, opencart ect websites w More

$50 USD in 1 day
(91 Reviews)
5.9
mozamarius

Hello, i work as a front-end developer, looking for some extra work. I can start right now, let me know. Thank you.

$30 USD in 1 day
(22 Reviews)
4.5
hardikbhadukiya

Hello Dear sir/madam, I will Provide Services Until You get 100% satisfied. I am not just looking for money OR one project, as i firmly believe in long term business relationships. I highly value my relationship More

$25 USD in 1 day
(52 Reviews)
4.2
AdamSuccess

Hello, I am an expert in Jquery and can fix your problem at a ridiculously low rate of $12!!! How cool is that? Well, I will only request a tiny little favour of a 5 star rating after completing your project to your s More

$12 USD in 1 day
(0 Reviews)
0.0