Domain Email & Office Website WordPress Hosting VPS
Go back
.com
$ 9.99 $ 26.99 /1st year
.one
$ 4.99 $ 16.99 /1st year
Go back
Log in
Control Panel Webmail Website Builder Online Shop File Manager WordPress

One Glossary

Looking for a quick reference guide to understand the language of domains, hosting, and websites? We have defined key terms in a simple way.

#

2FA

Two-factor authentication (2FA) is a security measure that requires two forms of identification to access an account or device. This could for example be a code that is sent to your phone by text or an app. It adds an extra layer of protection to prevent unauthorized access.

301 Redirect

A 301 redirect is a permanent redirect from one URL to another URL. You redirect visitors and search engines without sacrificing your website's usability and SEO value.

500 error

A 500 error is a generic error message. This error message indicates that your website's server cannot execute a specific request.

.

.htaccess

.htaccess is a file that allows you to give instructions to Apache servers, for example, setting up redirects. You will find the .htaccess file in the root folder of your website.

A

Address Book

An address book is a way to manage your email contacts. With an address book, you can store contact information, such as names, phone numbers, and email addresses, of people you know.

AMP

Accelerated Mobile Pages (AMP) is a technology that makes web pages load faster on mobile devices. It does this by serving a cached version of the page without unnecessary elements so that the page can be loaded quickly.

Anycast DNS

Anycast DNS is a networking technique that enables one IP address to apply to several servers. This means that the IP prefix is advertised from multiple locations. When you click on a link to visit a website, the network decides where to route your request based on routing protocols and the availability of servers.

B

Backup & Restore

Backup & Restore is a feature that backs up your website, email and database files. You can restore these backups to recover previous versions and data.

Blog

A blog is a type of website that consists of articles about specific or various topics. It can be used to attract more traffic to your website, or simply to express your thoughts and share it with the rest of the world.

Browser Fingerprinting

Browser fingerprinting is a way for websites to track you by collecting information about your web browser and computer. By collecting this data, websites can create a unique "fingerprint" for your browser and use it to track your online activity.

C

Cache

Website caching means that your browser stores the files of a website you're visiting, so that it can be accessed quicker on the next visit. The browser can simply display what it stored last time, instead of having to fetch the website files again.

Child Theme

A child theme is a basically a copy of the parent theme used on a WordPress website. It allows you to customize your parent theme without having to worry about losing your customizations to updates.

CMS

CMS stands for a content management system. With a CMS, you create and manage a website without technical knowledge. WordPress and Website Builder are examples of CMS.

Cookie

Cookies are small files that are sent to your browser by a website you visit. This allows the website to remember information and improve your experience the next time you visit this website, for examples by saving products in cart or remembering language preferences.

Cyber Attack

A cyber attack is when someone tries to harm or damage a computer system or network using the internet. This can include stealing information, spreading viruses, or disrupting normal operations.

D

DDoS

A distributed denial-of-service (DDoS) attack is an attack where multiple computers or devices flood a website or server with traffic, overwhelming it and causing it to crash or become unavailable.

Dedicated Server

A dedicated server is a server that is dedicated to one customer and not shared with other customers. This means that it can handle a lot of traffic and provide a fast and reliable performance. Dedicated servers are more expensive than other hosting options and generally only recommended for large websites with a lot of traffic.

DNS

DNS stands for Domain Name System. It's like a phone book for the internet, and translates domain names into IP addresses so computers can understand them.

DNSSEC

DNSSEC is a security measure that strengthens authentication in DNS. It helps protect the internet from hackers by making sure that the websites you visit are actually the ones you intended to visit.

Domain Hack

A domain hack is a clever way of creating a domain name by using the domain extension creatively to form a word or phrase. For example, using the domain extension .ly to create the domain name "love.ly".

Domain Lock

Domain Lock is a security add-on that prevents unauthorized changes to the domain name, which helps protect the website from hacking or other malicious activities.

Domain Name

A domain name, or domain, is the name of a website that you can type into your web browser to access it. It's like the street address of a house, but for a website. It consists of a website name and a domain extension. Our domain name is one.com.

Domain Registrar

A domain registrar is a company where you can buy domain names. The domain registrar handles registration on your behalf.

E

Email Calendar

An email calendar is a calendar that is accessed and managed through email. You can use it to manage meetings or appointments. The benefit of an email calendar is that it integrates with your email and contacts.

Email Client

An email client is a computer program that you can use to send, receive, and manage your emails. It helps you organize and access your emails from different email accounts in one place. Outlook and Thunderbird are examples of email clients.

Email Domain

An email domain is the part of an email address that comes after the "@" symbol. It usually refers to the name of the organization or company that owns the email address, and is often the same as the domain name.

Email Hosting

Email hosting is the service of renting out and managing email servers. The server is a space where you can send, receive and store emails. With email hosting, you can set up professional email addresses on your domain name.

Email server

An email server is a system that is responsible for sending emails from one email client to another. Without an email server, you are not able to send or receive emails. Mail servers utilise different Internet communication protocols to get information across to one another.

F

Firewall

A firewall is a security device for your network. It helps to block unwanted or harmful traffic from entering or leaving your system, keeping it safe from potential threats.

FTP

FTP stands for File Transfer Protocol. It is a way to transfer files from one computer to another over the internet. It is commonly used to upload files to a website.

H

HTTPS

Hypertext Transfer Protocol Secure (HTTPS) is a way of securely sending information between a website and a browser. It encrypts the data so that it can't be intercepted by anyone who shouldn't have access to it. You'll often see it in the address bar of modern websites.

I

IP Address

An IP address is a unique set of numbers that identifies a device on a network, such as a computer or a smartphone. It allows devices to communicate with each other and access the internet.

IPv6

IPv6 is a type of internet protocol that allows devices to communicate with each other over the internet. It is an updated version of the older IPv4 protocol.

M

Malware

Malware is a type of software that is designed to harm your computer or steal your personal information without your permission. You can unintentionally install it by clicking on a wrong link or installing programs that contain malware.

Managed WordPress

With Managed Wordpress, your WordPress website is managed by a team of experts who take care of updates, security, and other technical aspects so that you can focus on creating content and running your business.

MariaDB

MariaDB is an open source database to help store and organize data. It's similar to other popular database software like MySQL, but has some unique features and improvements.

marketgoo

marketgoo is an add-on that helps you with SEO by analyzing your website and providing recommendations for optimization.

Microsoft 365

Microsoft 365 (formerly Office 365) is a cloud-based platform designed to help you increase productivity. It's a subscription service that includes apps like Word, Excel, and PowerPoint, which you can use on your computer, mobile device or online.

P

Phishing Email

A phishing email is a fake email that tries to trick you into clicking a link and giving away your personal information, like your password or credit card number. The sender often tries to pretend to be a well-known or trusted organisation.

PHP

PHP (PHP: Hypertext Preprocessor) is a programming language that is widely used in website development. It can be used to create interactive and dynamic web pages. PHP works well with HTML as it can be embedded directly into HTML code.

Premium Email

Premium mail is a mail service that offers extra features or benefits, such as more storage, data recovery, and additional security measures.

Privacy policy

A privacy policy is a document that explains how a website or business collects, uses, shares, and protects the personal information of its users.

Proxy Server

A proxy server is a computer that acts as a middleman between your device and the internet. It can improve speed, security and privacy. Proxy servers are often used to manage internet usage and deny access to certain sites, or to access location blocked resources.

S

SaneBox

SaneBox is an add-on that helps you organize your email. It automatically moves unimportant emails to a different folder, so only the important emails remain in your inbox.

Shared Hosting

Shared hosting is a type of web hosting where multiple websites are hosted on the same server. This causes shared hosting to be much more affordable than other types of hosting.

Shortcode

A shortcode is a small piece of text enclosed in brackets that you can use in pages or posts. It gives you a quick way to add elements, like video or audio, to your content that would otherwise require more time to code.

Single Sign-On

Single Sign-On (SSO) is a way to log in to multiple websites or applications using just one set of login credentials. This means you don't have to remember multiple usernames and passwords for different sites. Once you log in to one site, you can access other sites without having to log in again.

SiteLock

SiteLock is a security add-on that helps protect your website from online threats such as malware, viruses, and hackers. It scans your website regularly for vulnerabilities and provides alerts and fixes to keep them secure.

Sitemap

A sitemap is a list of all the pages on a website that helps visitors and search engines navigate and find content easily.

SMTP

Simple Mail Transfer Protocol (SMTP) is a set of rules used for sending emails. SMTP is a delivery protocol and email clients rely on it for outgoing emails. When you send an email, SMTP makes sure it will be delivered.

Spam Filter

A spam filter is a tool that helps to keep unwanted emails out of your inbox. It checks emails for potential spam with various methods, and iflags them as spam if f they don't pass the threshold.

SQL Injection

SQL injection is a type of cyber attack where a hacker uses malicious code to manipulate a website's database and gain access to sensitive information.

SSH

Secure Shell (SSH) is a way to securely connect to a remote computer or server over the internet. It encrypts all data that is sent between the two devices, making it difficult for anyone to intercept or steal sensitive information. SSH is commonly used by system administrators and developers to manage servers and perform remote tasks.

SSL Certificate

SSL stands for Secure Sockets Layer. An SSL certificate encrypts information that is passed between a website and visitors. It decreases the risk of sensitive information, such as passwords or bank details, being intercepted by unauthorized parties.

Subdomain

A subdomain is a separate part of a website that has its own unique web address and content. It is a prefix that is added to the domain name. For example, mail.one.com is the subdomain for our webmail, and one.com is our domain name.

T

TFTP

TFTP stands for Trivial File Transfer Protocol. It is a simple way to transfer files between servers and computers. TFTP is faster than some other protocols, but also less secure. It's generally used for transferring small files.

Top-Level Domain

A top-level domain (TLD), often called domain extension, is the last part of a domain name. Examples of top-level domains are generic top-level domains like .com, .org and .net, and country-code top-level domains such as .uk, .de and .jp.

U

Uberall

Uberall is an add-on that helps you with getting found locally. With Uberall you can manage location listings, monitor & manage reviews, and improve local SEO all in one place.

Ubivox

Ubivox is an add-on that helps you create and send newsletters to your customers and manage email campaigns.

URL

A URL is the web address that you type into your web browser to visit a webpage. It refers to the entire address, including the scheme ("https://"), the domain name and any additional paths, parameters or anchors.

V

VPS Hosting

A Virtual Private Server (VPS) provides virtualized server resources on a shared physical server. When you use VPS hosting, you have more control and flexibility compared to shared hosting because you get a dedicated amount of resources on the server.

W

Web Hosting

Web hosting is a service that allows you to publish your website on the internet. It involves storing all your website files on a server and providing a way for people to access those files through a web browser. Think of it like renting a space on the internet.

Webinar

A webinar is an online seminar or presentation where hosts share information with a live audience. It often includes a live chat with questions and answers.

Webmail

Webmail is a way to access your email through a web browser, without needing to download any software. This allows you to access your email from any device or location.

Website

A website is a collection web pages that are located under one domain name. Websites can be used for various purposes, such as sharing information, selling products or services, and providing entertainment.

Website Builder

A website builder is a tool that helps you create your own website without having to code. It provides starter templates and drag-and-drop features to make it as easy as possible to build a website.

WooCommerce

WooCommerce is an ecommerce plugin for WordPress websites. It is an easy and popular solution to build and manage an online shop with.

WordPress

WordPress is the most popular tool to create a website with. It allows you to easily build and manage your own website without needing to know how to code. WordPress is fairly easy to use and offers a wide variety of customizable themes and plugins.

WordPress Category

WordPress categories can be used to group related blog articles on a website. It helps users navigating content and can be benificial for SEO.

WordPress Hosting

WordPress hosting is a type of web hosting that is specifically designed for WordPress websites. It provides extra features and tools that enhance WordPress performance.

WordPress Plugin

A WordPress plugin is a tool that can be added to WordPress website and adds new features or functionality. Plugins play a crucial role in building a great WordPress website.

WordPress Tag

A WordPress tag is a label that you can assign to your blog post to help organize your content. Readers can click on tags to see an overview of all blog posts with this tag.

WordPress Template

A WordPress template defines the look and feel of a particular page on your WordPress website. It differs from a WordPress theme in the sense that a template can be used for a specific page, whereas a theme applies to the entire website.

WordPress Theme

A WordPress theme determines the layout, design, and functionality of a WordPress website. They allow users to build and customize a website without coding.

' html += '
' html += '' + ocKeys[locale].allPlans + '' html += '
' return html; } function ocGetLocale() { var localString = document.getElementsByTagName('html')[0].getAttribute("lang"); if (!localString) { return "en"; } if (localString.indexOf('-') === -1) { return localString; } return localString.split("-")[0] } function isInViewport(element) { var rect = element.getBoundingClientRect(); return ( rect.top >= 0 && rect.left >= 0 && rect.top <= (window.innerHeight || osShadowElement.documentElement.clientHeight) && rect.right <= (window.innerWidth || osShadowElement.documentElement.clientWidth) ); } function ocLogBuyClick(e) { if (!e.target.classList.contains("onecom_plans_cta_main")) { return; } var parent = e.target.parentNode.parentNode.parentNode.parentNode.parentNode; window.dataLayer.push({ event: "addToCart", ecommerce: { currencyCode: parent.getAttribute("data-currency"), add: { actionField: { list: document.getElementsByTagName('h1')[0].textContent }, products: [ { id: parent.getAttribute("data-title"), name: parent.getAttribute("data-title"), brand: "one.com", category: "pps", variant: parent.getAttribute("data-plan"), location: document.getElementsByTagName('h1')[0].textContent, price: parent.getAttribute("data-price"), quantity: 1 } ] } } }); } function ocLogTrackingInfo(e) { if ((e.getAttribute("data-marked") !== "1") || (!dataLayer)) { return; } e.removeAttribute("data-marked"); if (!e.getAttribute("data-title") || e.getAttribute("data-fresh") !== "1") { return; } console.info("push initiated") window.dataLayer.push({ id: e.getAttribute("data-title"), name: e.getAttribute("data-title"), brand: "one.com", category: "pps", variant: e.getAttribute("data-plan"), list: "/" + ocGetLocale() + "/", location: document.getElementsByTagName('h1')[0].textContent, price: e.getAttribute("data-price"), position: e.getAttribute("data-position") } ); e.setAttribute("data-fresh", "0"); } function ocSetImpression() { var plans = document.getElementsByClassName('oc-plan-container'); for (var i = 0; i < plans.length; i++) { if (isInViewport(plans[i])) { ocLogTrackingInfo(plans[i]); } } } function ocProductImpression(e) { var plans = document.getElementsByClassName('oc-plan-container'); for (var i = 0; i < plans.length; i++) { if (isInViewport(plans[i])) { plans[i].setAttribute("data-marked", "1"); ocTimeout = setTimeout(ocSetImpression, 2000) } } } /* var headingTag = window.location.hash.substr(1); if(headingTag.length > 0){ console.log(headingTag); osShadowElement.querySelector('#'+headingTag).scrollIntoView(); } */ //frontpage function scrollSmooth() { var elmntToView = osShadowElement.querySelector("#oc-plansandprices"); elmntToView.scrollIntoView({ behavior: "smooth", block: "start", inline: "nearest" }); } const rightBtn = osShadowElement.querySelector('#right-button'); const leftBtn = osShadowElement.querySelector('#left-button'); if (rightBtn && leftBtn) { rightBtn.addEventListener("click", function (event) { const conent = osShadowElement.querySelector('#content'); conent.scrollLeft += 100; event.preventDefault(); let activeElement = osShadowElement.querySelector(".banner-thumb.active"); if (osShadowElement.querySelector(".banner-menu li:last-child").classList.contains('active')) { osShadowElement.querySelector(".banner-menu li:first-child").click(); } else { if (activeElement.nextElementSibling) { activeElement.nextElementSibling.click(); } } }); leftBtn.addEventListener("click", function (event) { const conent = osShadowElement.querySelector('#content'); conent.scrollLeft -= 100; event.preventDefault(); let activeElement = osShadowElement.querySelector(".banner-thumb.active"); if (osShadowElement.querySelector(".banner-menu li:first-child").classList.contains('active')) { osShadowElement.querySelector(".banner-menu li:last-child").click(); } else { if (activeElement.previousElementSibling) { activeElement.previousElementSibling.click(); } } }); } function nextSlide(thumbClass) { if (thumbClass.length > 0) { var elements = osShadowElement.querySelectorAll(".banner-section"); for (var i = 0, len = elements.length; i < len; i++) { elements[i].style.display = "none"; } var elements = osShadowElement.querySelectorAll(".banner-thumb"); for (var i = 0, len = elements.length; i < len; i++) { elements[i].classList.remove("active"); } var elmntToView = osShadowElement.querySelector('.banner-section-' + thumbClass); elmntToView.scrollIntoView({ behavior: "smooth", block: "start", inline: "nearest" }); var menuClicked = osShadowElement.querySelector('.banner-thumb-' + thumbClass); menuClicked.classList.add("active"); menuClicked.scrollIntoView(); osShadowElement.querySelector('.banner-section-' + thumbClass).style.display = "block"; } } const accordionTitlesSuccess = osShadowElement.querySelectorAll(".success-steps-col"); accordionTitlesSuccess.forEach((accordionTitle) => { accordionTitle.addEventListener("click", () => { if (accordionTitle.classList.contains("active")) { accordionTitle.classList.remove("active"); } else { const accordionTitlesWithIsOpen = document.querySelectorAll(".success-steps-col"); accordionTitlesWithIsOpen.forEach((accordionTitleWithIsOpen) => { accordionTitleWithIsOpen.classList.remove("active"); }); accordionTitle.classList.add("active"); } }); }); const accordionTitlesFaq = osShadowElement.querySelectorAll(".faq-col"); accordionTitlesFaq.forEach((accordionTitle) => { accordionTitle.addEventListener("click", () => { if (accordionTitle.classList.contains("active")) { accordionTitle.classList.remove("active"); } else { const accordionTitlesWithIsOpen = document.querySelectorAll(".faq-col"); accordionTitlesWithIsOpen.forEach((accordionTitleWithIsOpen) => { accordionTitleWithIsOpen.classList.remove("active"); }); accordionTitle.classList.add("active"); } }); }); (function () { slide('right'); })(); /***script to call APIs starts here**/ function checkStatus(response) { if (response.status >= 200 && response.status < 300) { return Promise.resolve(response); } else { return Promise.reject(new Error(response.statusText)); } } function parseJson(response) { return response.json(); } function niceRounding(stringDigit) { var lastDigit = stringDigit.at(-1); if (lastDigit == 8) { stringDigit = stringDigit.replace(/.$/, "9"); } return stringDigit; } /***script to call APIs ends here**/ /**Glosssary page***/ function scrollSmoothGlossary(alphabet) { var alphaList = osShadowElement.querySelectorAll(".alphabet-list"); for (let i = 0; i < alphaList.length; i++) { alphaList[i].classList.remove("active"); } var activeAlpha = osShadowElement.querySelector(".alpha-" + alphabet); activeAlpha.classList.add("active"); var elmntToView = osShadowElement.querySelector("#div-" + alphabet); //elmntToView.scrollTop = elmntToView.scrollHeight; elmntToView.scrollIntoView({ behavior: "smooth" }); //elmntToView.scrollTop(elmntToView.scrollHeight); } /**searching**/ const $search = osShadowElement.getElementById('search-glossary'); if ($search) { $search.addEventListener('input', (event) => { const searchText = event.target.value; const regex = new RegExp(searchText, 'gi'); const noSearchDiv = osShadowElement.querySelector(".no-glossary-search-found"); const itemList = osShadowElement.querySelectorAll(".oc-glossary-item-articles"); //const articleList = osShadowElement.querySelectorAll(".item-article"); var mainCount = 0; for (let j = 0; j < itemList.length; j++) { var articleList = itemList[j].querySelectorAll(".item-article"); var countDisplayBlock = 0; for (let i = 0; i < articleList.length; i++) { var h3 = articleList[i].getElementsByTagName("a")[0]; var text = h3.innerHTML; text = text.replace(/(|<\/mark>)/gim, ''); const newText = text.replace(regex, '$&'); h3.innerHTML = newText; if (text !== newText) { articleList[i].style.display = "flex"; countDisplayBlock++; } else { articleList[i].style.display = "none"; } } if (countDisplayBlock === 0) { itemList[j].parentNode.parentNode.style.display = "none"; } else { itemList[j].parentNode.parentNode.style.display = "flex"; mainCount++; } } if (mainCount === 0) { noSearchDiv.classList.remove("hidden"); } else { noSearchDiv.classList.add("hidden"); } }); } var select = osShadowElement.getElementById('alphabet-mobile-select'); if (select) { select.onchange = function () { var alphabet = this.options[this.selectedIndex].value; this.options[this.selectedIndex].classList.add('active'); scrollSmoothGlossary(alphabet); //var elmntToView = osShadowElement.querySelector("#" + alphabet); //elmntToView.scrollIntoView({behavior: "smooth", block: "start", inline: "nearest"}); }; } var glossaryHeader = osShadowElement.getElementById("glossary-header"); var glossaryStickyHeader = osShadowElement.getElementById( "glossary-header-sticky" ); // Get the offset position of the navbar if (glossaryHeader) { var sticky = glossaryHeader.offsetTop; } var glossarySearch = osShadowElement.querySelector(".oc-glossary-search"); // Add the sticky class to the navbar when you reach its scroll position. Remove "sticky" when you leave the scroll position function stickyAlphabets() { if (window.pageYOffset > sticky) { glossaryHeader.classList.add("hidden"); glossaryStickyHeader.classList.remove("hidden"); glossaryStickyHeader.style.zIndex = "99999"; glossarySearch.classList.add("hidden"); } else { glossaryHeader.classList.remove("hidden"); glossaryStickyHeader.classList.add("hidden"); glossarySearch.classList.remove("hidden"); } } /** HIGHLIGHT ALPHABET NAVIGATION LINKS WHILE SCROLLING */ // cache the navigation list-items containing links var navigationLinks = osShadowElement.querySelectorAll('#glossary-header-sticky > .glossary-header-alphabets > ul > li'); // cache the alphabet sections var sections = osShadowElement.querySelectorAll('.oc-glossary-item > div > span.item-head'); // map each target section ID to the corresponding navigation list-items var sectionIdToNavigationLink = {}; for (var i = 0; i < sections.length; i++) { var id = sections[i].id; sectionIdToNavigationLink[id] = osShadowElement.querySelectorAll('#glossary-header-sticky > .glossary-header-alphabets > ul > li.alpha-' + id); } function getOffset(el) { var _x = 0; var _y = 0; while (el && !isNaN(el.offsetLeft) && !isNaN(el.offsetTop)) { _x += el.offsetLeft - el.scrollLeft; _y += el.offsetTop - el.scrollTop; el = el.offsetParent; } return { top: _y, left: _x }; } function highlightNavigation() { // get the current vertical position of the scroll bar var scrollPosition = window.pageYOffset || document.documentElement.scrollTop; // iterate the sections for (var i = sections.length - 1; i >= 0; i--) { var currentSection = sections[i]; // get the position of the section var sectionTop = getOffset(currentSection).top; // if the user has scrolled over the top of the section if (scrollPosition >= sectionTop - 250) { // get the section id var id = currentSection.id; // get the corresponding navigation link var navigationLink = sectionIdToNavigationLink[id]; // if the link is not active if (typeof navigationLink[0] !== 'undefined') { if (!navigationLink[0].classList.contains('active')) { // remove .active class from all the links for (i = 0; i < navigationLinks.length; i++) { navigationLinks[i].className = navigationLinks[i].className.replace(/ active/, ''); } // add .active class to the current link navigationLink[0].className += (' active'); } } else { // remove .active class from all the links for (i = 0; i < navigationLinks.length; i++) { navigationLinks[i].className = navigationLinks[i].className.replace(/ active/, ''); } } // we have found our section, so we return false to exit the each loop return false; } } } if (glossaryHeader) { window.addEventListener('scroll', highlightNavigation); } /** Glossary page ends here**/ /** NL frontpage modification - version 2.0 **/ // Get the HTML element you need. const imageOverlay = osShadowElement.getElementById('testimonial-video-section-block-image-overlay'); const playButton = osShadowElement.getElementById('testimonial-video-section-block-play'); if (playButton) { var vidId = playButton.getAttribute("data"); // Add the event listener for the play button. playButton.addEventListener('click', play) } // The function that is called when the button is clicked. function play(e) { e.preventDefault(); let iframe_tag = osShadowElement.getElementById('ytplayer'); iframe_tag.setAttribute('src', 'https://www.youtube.com/embed/' + vidId + '?autoplay=1&enablejsapi=1&origin=http%3A%2F%2Flocalhost&widgetid=1'); imageOverlay.style.opacity = '0'; playButton.style.opacity = '0'; window.setTimeout(function () { playButton.style.display = 'none'; imageOverlay.style.display = 'none'; }, 800); // timed to match animation-duration } // Glossary page navigationbar issue fix Start let elemWebTopMenu = document.querySelector(".WebTop-Nav"); let elemWebTopSearch = document.querySelector(".MegaMenuAndSearchWrapper"); let elem = document.querySelector("#glossary-header-sticky"); if (elem && ( elemWebTopMenu || elemWebTopSearch ) ) { let rect = elem.getBoundingClientRect(); let elemTop = rect.top; let elemBottom = rect.bottom; let rectWebTop = elemWebTopMenu.getBoundingClientRect(); let elemTopWebTop = rectWebTop.top; let elemBottomWebTop = rectWebTop.bottom; let rectWebTopSearch = elemWebTopSearch.getBoundingClientRect(); let elemTopWebTopSearch = rectWebTopSearch.top; let elemBottomWebTopSearch = rectWebTopSearch.bottom; if ( ( elemBottomWebTopSearch >= elemTop ) || ( elemBottomWebTop >= elemTop ) ) { elem.style.zIndex = 200; } else { elem.style.zIndex = 0; } document.addEventListener('scroll', function() { let rect = elem.getBoundingClientRect(); let elemTop = rect.top; let elemBottom = rect.bottom; let rectWebTop = elemWebTopMenu.getBoundingClientRect(); let elemTopWebTop = rectWebTop.top; let elemBottomWebTop = rectWebTop.bottom; let rectWebTopSearch = elemWebTopSearch.getBoundingClientRect(); let elemTopWebTopSearch = rectWebTopSearch.top; let elemBottomWebTopSearch = rectWebTopSearch.bottom; if ( ( elemBottomWebTopSearch >= elemTop ) || ( elemBottomWebTop >= elemTop ) ) { elem.style.zIndex = 200; } else { elem.style.zIndex = 0; } }); } let glossaryNav = document.querySelector("#glossary-header-sticky"); let topSearchBarGloss = document.querySelector(".MegaMenuAndSearchWrapper"); let navSpacer = document.querySelector(".NavSpacer"); if ( glossaryNav && topSearchBarGloss) { topSearchBarGloss.style.position = 'static'; navSpacer.style.display = 'none'; } // Glossary page navigationbar issue fix End /******* Custom YouTube video embed js start *******/ let yt_thumb_wraps = document.querySelectorAll('.yt-video-wrapper.yt-play-icon'); if (yt_thumb_wraps) { yt_thumb_wraps.forEach(yt_thumb_wrap => { yt_thumb_wrap.addEventListener("click", function(event) { event.preventDefault(); let vid = event.target.dataset.vid; let yt_thumb = event.target; let vtitle = yt_thumb.getAttribute("title"); if(!vid){ yt_thumb = yt_thumb.querySelector('.yt-thumb-image'); vid = yt_thumb.dataset.vid; vtitle = yt_thumb.getAttribute("title"); } if(vid && yt_thumb){ let ytvideo = ''; let yt_thumb_wrap = yt_thumb.closest('.yt-video-wrapper.yt-play-icon'); yt_thumb_wrap.innerHTML = ytvideo; yt_thumb_wrap.classList.remove("yt-play-icon"); } }); }); } /******* Custom YouTube video embed js end *******/