Skip to content

ZR Web Design Services

Building Your Online Presence!

Services

We build your website from beginning to end!

Set Up Your Business Website

Set Up Your Business Website

We do it all. We make sure you get the right hosting account. We help you decide on a domain name that goes with your business. We explain to you every aspect of your website.

Images and Content

Images and Content

You provide the images and the content you want to be included.

Totally Responsive

Totally Responsive

People will find you on their cell phones, tables and computer. Your website will look awesome!

FREE Estimate

Let us help you with your website. FREE Consultation. FREE Estimate.

Showcase Your Website!

ZR Web Building Services
(559) 706-7586
mywebbusiness@gmail.com
(function () { const extractTextLines = html => { const temp = document.createElement('div'); temp.innerHTML = html; return temp.innerHTML.split('
').map(line => line.replace(/<[^>]*>?/gm, '').trim() ); }; const translateLine = async (line, lang) => { if (lang === 'en') return line; const url = `https://translate.googleapis.com/translate_a/single?client=gtx&sl=en&tl=${lang}&dt=t&q=${encodeURIComponent(line)}`; const res = await fetch(url); const data = await res.json(); return data[0].map(d => d[0]).join(' '); }; const renderText = async (id, lang) => { const template = document.getElementById('template-' + id); const container = document.getElementById('original-text-' + id); if (!template || !container) return; const html = template.innerHTML; const lines = extractTextLines(html); const translatedLines = []; for (let line of lines) { if (!line.trim()) { translatedLines.push(''); } else { const translated = await translateLine(line, lang); translatedLines.push(translated); } } container.innerHTML = ''; const block = document.createElement('p'); block.innerHTML = translatedLines.join('
'); container.appendChild(block); }; document.addEventListener('DOMContentLoaded', function () { const blocks = document.querySelectorAll('.translator'); blocks.forEach(block => { const id = block.dataset.id; const select = document.getElementById('language-select-' + id); const container = document.getElementById('original-text-' + id); const template = document.getElementById('template-' + id); if (!select || !container || !template) return; // Load default (English) text renderText(id, 'en'); // Update on language change select.addEventListener('change', function () { renderText(id, this.value); }); }); }); })();