Add a function to a JQuery script

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 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.

Skills: HTML, jQuery / Prototype, PHP, Website Design

See more: php script print function, php echo javascript_tag jquery function, font resize java script jquery, php script upload function, jquery function finish, actions script drag function, php function add delete modify records tables, decrypt script languagejavascript function, script jquery expand collapse text, collapsing script jquery, jquery select box manipulation use, function add product, echo jquery function, script delete line add line, mips function add numbers, jquery function, action script gettimer function, count script jquery, java script search function, html function add shipping

About the Employer:
( 19 reviews ) Rickenbach, Switzerland

Project ID: #12572662

Awarded to:


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)

11 freelancers are bidding on average $27 for this job


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)

Hey I will fix this.I would have to see why it is not. Have done a lot of js [login to view URL] start asap. Thanks Vish

$30 USD in 1 day
(56 Reviews)

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)

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)

Sir/Mam, Hope you are doing good. I can help you with your Jquery Script. Do you want to scroll down to "Zutaten" section when the user clicks on a specific dish? I am not clear with your requirements. Here is my More

$35 USD in 1 day
(10 Reviews)

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)

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)
$25 USD in 1 day
(4 Reviews)

Hello Sir My name is Gurjot Singh, I'm working with .net, android, Ios, html and php from 8 years. I'm new here so thats why i don't have any reviews.I would like to help you in less and good price. we work in HTML, More

$25 USD in 2 days
(5 Reviews)

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)