AJAX content update
-
Hello,
First of all not sure if this is the right thread, if not I do apologize for it.
I’m currently building my website for a food delivery service, here’s the home page : myfitcook.fr
As you can see on the section there’s 5 days of the week written in french ( Lundi is monday, mardi is tuesday, mercredi is wednesday… )
Our concept is simple, we propose 2 different menus every day, one normal menu including fish or meat and a vegan menu.
When you click on another day, it sends the customer to another link with the corresponding menus for that day.Now what I need is for the menu to refresh and update when the customer changes the day but without the page reloading and without the customer being sent to another link.
I would need every menu to be displayable on the main page according to the day of the week they click on ( some sort of display:none function, where the menu appears only when they click on a certain day )Here is an example of exactly what i need : https://nestorparis.com/
On their website you can see that whenever you click on a different day like Lundi, Mardi or Mercredi, the content or the menu changes but the page doesn’t reload and the url doesn’t change.
I’m using divi theme builder and the menus are linked to woocommerce.
So I was wondering if there was any way I would be able to refresh different content on my homepage, and if there is how I would have to proceed to achieve it.
Thanks !
The page I need help with: [log in to see the link]
- The topic ‘AJAX content update’ is closed to new replies.