Exporting JSON data to HTML through JS/CSS
27 USDHTTPS://gastro.vseopecheni.ru/json-new.json
We want to extract them into html, keeping the structure.Main page is a page with ID=1
It has parent = 0
The main should include links to the pages that have this main parent.If the subsidiary element has a tv.image - then it is not a link to the text but a picture.Furthermore, when "pass" by pages, through history.pushState to change the url in the address line by logic (bp variable url)
This page is the URL.
Pages - where they meet tv.content1....tv.content10 - all of this must be removed into the content, and from above make a drop-down list for a sharp navigation on these blocks.In the same tich tv.content can find cross links between the content, and when you move through it, the data must also be uploaded from JSON.If necessary, we can process them from the server, for example, put an ID there instead of url.The possibility of implementation we see two:
1) Disperse immediately, and remove the necessary sections through CSS
2) Continuously contact the file for the appropriate section
Design doesn’t matter, we’ll stretch its already ready structure.
У нас есть JSON данные
https://gastro.vseopecheni.ru/json-new.json
Мы хотим вывести их в html, сохранив структуру.
Главная страница это страница с ID=1
У нее parent=0
На главной должны выводиться ссылки на страницы, у которых эта главная parent. если у дочернего элемента есть tv.image - то выводиться не ссылкой с текстом а картинкой.
Далее, при "переходе" по страницам, через history.pushState менять урл в адресной строке по логике (bp переменной url)
/{parent url}/this page url
Страницы - где встречаются tv.content1....tv.content10 - все это надо выводить в контентне, а сверху сделать выпадающий список для якорной навигации по этим блокам.
В самих тих tv.content могут встречаться перекрестные ссылки между контентом, при переходе по ним данные также должны подгружаться из JSON.
При необходимости мы можем их обработать со стороны сервера, например подставлять туда ID вместо урл.
Варианта реализации видим два:
1) Распарсить сразу, и выводить нужные разделы через CSS
2) Постоянно обращаться к файлу за нужным разделом
Дизайн не важен, мы натянем его уже готовую структуру
Client's feedback on cooperation with Vladlen D.
Exporting JSON data to HTML through JS/CSSAll is OK.
Profile deleted | Safe
Freelancer's feedback on cooperation with client
Exporting JSON data to HTML through JS/CSSThe work was a bit delayed, at first there was no detailed TZ, but the customer is honest and respectful to the freelancer.
-
413 5 0 Hello to you! Ready to perform on pure Js or on Python Django/Flask + JS.
Здравствуйте! Готов выполнить на чистом Js, либо на Python Django/Flask + JS.
-
2509 83 0 Good day .
Ready to make SPA on Vue.js from your data.
Let’s write, we will discuss.
Добрый день.
Готово сделать SPA на Vue.js из ваших данных.
Пишите, обсудим.
Current freelance projects in the category PHP
PHP developer with skills in writing modules for WordPress
102 USD
Hello We are looking for a PHP programmer with experience in writing modules for WordPress. Need to implement two similar step-by-step forms with calculation and file upload. Two more similar forms with progress bar and file upload. These forms should be editable through the… PHP ∙ 4 proposals |
Set up a Wordpress/WooCommerce storeInstall and configure Wordpress (Phlox Pro theme) + WooCommerce Set up Ukrainian translation, main page appearance, product page, and product catalog. Configure the order placement process. Add delivery modules Nova Poshta, Ukrposhta, payment (Monobank acquiring), Keu crm We… PHP, Web programming ∙ 7 proposals |
"Magento 2.4.6 adding a product through attributes"Problem: The website has many products that can be sold together with other products. Products need to be added through an attribute in the configuration product. For example: A computer mouse is available in different colors, and a mouse pad can be purchased with it (although… PHP, Web programming ∙ 3 proposals |
Разработать скрипт под WordPress CMS + Google maps API + MySQLWe need a code for a WordPress website. The current (demo) website https://e-ztrans.com/ is based on some self-made CMS. We are trying to override and make it more reliable. I will provide access to current website’s admin panel as well as source code of the current data base… PHP, Web programming ∙ 4 proposals |
Add a section to the website
76 USD
1. Add section https://www.vitajuwel.us/sana to the website https://vitajuwel.com.ua/ 2. Fix the central slider. Website on Laravel. Page speed score should not decrease. PHP ∙ 5 proposals |