Best Dental Assistant Degree Programs of 2024 - Intelligent (2024)

Dental assistants are essential in dental practices, helping with administrative, customer service, and clerical responsibilities. Students can earn an associate degree or post-secondary certificate in dental assisting, enabling them to enter this fast-growing field and launch a promising career.

Employment of dental assistants is predicted to grow by 7% over the next decade, according to the Bureau of Labor Statistics. The agency reports that there will be, on average, 55,100 new positions available each year. The median annual salary for dental assistants is $46,540. Dental hygienists, who earn a median annual salary of $87,530, are also in demand.

Students who pursue an associate degree in dental assisting can expect to earn their degree in 2-3 years, depending on whether they enroll full-time or part-time. Certificate programs tend to be shorter, taking 1-2 years to complete, depending on the total number of credits the program requires. The cost for a dental assistant program varies based on the number of credits the program requires and whether the school is a public or private institution.

How to Choose a Dental Assistant Program

Choose your area of study

The first step in selecting a dental assistant program is deciding whether you want a program that awards a certificate or an associate degree. A post-secondary certificate is the minimum education required for certification as a dental assistant, but having an associate degree can increase your earning potential and prepare you for further undergraduate study. Consider how much time you want to spend in school before entering the workforce. Dental assistant certificate programs typically take about one year to complete, while most associate degree programs are two years.

Also, consider how a dental assistant program will fit into your life. Can you attend classes during regular business hours on weekdays or do you need a program with evening and weekend classes? Are you enrolling full-time or part-time? Establishing these parameters will help you narrow your search as you begin looking at available programs.

Research schools and programs

Start researching schools and programs by visiting their websites, where you’ll find key information like program curriculum, cost, financial aid, faculty bios, admissions requirements, and more. If you have questions, contact the school’s admissions office to speak to an admissions counselor. Virtual and in-person information sessions and open houses are also opportunities to gain more insight into whether a program is a good fit.

Asking the following questions can help you learn more about a program:

  • What does the program’s curriculum include? Does it align with your interests and goals?
  • Does the program award an associate degree or a certificate?
  • Does the program meet the Dental Assisting National Board’s national and state educational standards for professional certification?
  • Is there an experiential learning component, such as an internship?
  • Who are the faculty members, and what are their qualifications?
  • What are the admission requirements?
  • How much does the program cost, and what financial aid options are available?
  • Does the school have regional accreditation from a recognized accrediting agency?

Prepare for applications

The application processes for dental assistant programs will vary by school, so contact the admissions office for the programs you’re considering for the most accurate information about how to apply. Also, confirm application and enrollment deadlines. Some programs have multiple start terms and enroll new students on a rolling basis, while others only offer one or two start terms per year and have hard-and-fast application deadlines.

Students should prepare the following to submit with their dental assistant program application:

  • Completed application and required application fee
  • Official transcripts from high school or GED program
  • Letter(s) of recommendation
  • Personal statement
  • Resume
  • SAT or ACT scores

Select your program

Once you have a shortlist of dental assistant programs you’re considering, compare them based on the criteria you outlined in step one. If several programs meet your needs, you can apply to all of them and select one based on where you’re accepted. Some things to consider when choosing a program include cost and available financial aid, curriculum, faculty areas of expertise, and completion time.

Determine how you’ll pay for your certificate or degree

As part of your research, collect information about how much programs cost and what forms of financial aid are available. While most associate degree programs are eligible for financial assistance through the Federal Student Aid program, not all certificate programs are. If you’re planning on using this type of financial aid, which includes federal student loans and grants, to pay for a certificate program, confirm that your selected program is eligible. Financial aid counselors can provide the most accurate information about a program’s cost and financial aid eligibility.

Students who want to be considered for federal student loans and other forms of aid must submit the Free Application for Federal Student Aid (FAFSA). Schools use the information from this application to determine eligibility for need-based aid like federal student loans, grants, scholarships, and more. Schools may also offer financial support in the form of merit-based scholarships.

Other sources of financial support include private education loans, scholarships, and employer tuition assistance benefits for students who are working while getting their dental assistant education.

Best 50 Accredited Dental Assistant Degree Programs

Best Dental Assistant Degree Programs of 2024 - Intelligent (1)
01Sacramento City College
01Allan Hanco*ck Community College
01Cypress College
01Ozarks Technical Community College
01Del Mar College
01Sinclair College
01Rochester Community and Technical College
01Anne Arundel Community College
01Lake Area Technical College
01Pasadena City College
01Pima Community College
01Western Iowa Tech Community College
01Phoenix College
01Middlesex Community College
01Odessa College
01Cerritos College
01Monroe Community College
01Dental Assistant Academy of Chicago
01Minneapolis Community and Technical College
01Mountainland Technical College
01North Dakota State College of Science

Discover More Options

'); elem.parentNode.removeChild(elem); //document.querySelector('.program-structure .block .title-with-img h2').insertAdjacentHTML('afterend', '

'); document.querySelector('.program-structure .block .title-with-img .beige-h2-wrap').appendChild(pTag); document.querySelector('.program-structure .block .title-with-img .beige-h2-wrap p').classList.add('p-under-h2'); document.querySelector('.program-structure .block .title-with-img .beige-h2-wrap .p-under-h2').innerHTML = 'These rankings were compiled using our methodology here, and include sponsored results from our partners.'; const popupDivTag = document.createElement('div'); document.querySelector('.program-structure .block .title-with-img p span').appendChild(popupDivTag); document.querySelector('.program-structure .block .title-with-img p span div').classList.add('sponsored-popup-div'); document.querySelector('.program-structure .block .title-with-img p span div').innerHTML = 'www.intelligent.com is an advertising-supported site. Featured or trusted partner programs and all school search, finder, or match results are for schools that compensate us. This compensation does not influence our school rankings, resource guides, or other editorially-independent information published on this site.'; // Show popup on click document.addEventListener('click', function(){ let sponsoredLink = document.querySelector('#sponsored-link'); if (sponsoredLink.contains(event.target)) { document.querySelector('.sponsored-popup-div').classList.add('show-popup'); } else { if(document.querySelector('.sponsored-popup-div')) document.querySelector('.sponsored-popup-div').classList.remove('show-popup'); } }); // const styleToolTip = document.createElement('style'); // styleToolTip.textContent = `.advertisem*nt {color:#3f3f46 !important; font-size: 11px !important; height: 16px!important; left:0;} // @media(max-width:1185px){ // .advertisem*nt{ // margin-left:-45px !important; // left: 50% !important; // } // } // `; // const styleAdvertisem*ntText = document.createElement('style'); // styleAdvertisem*ntText.textContent = ` // button { // --label-font-size: 14px !important; // text-transform: none !important; // } // `; // const sonicTooltipStyle = document.createElement('style'); // sonicTooltipStyle.textContent = ` // :host sonic-tooltip { // --label-font-size: 14px !important; // --label-text-transform: none !important; // } // `; //document.querySelectorAll('.red-ventures-widget he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper .advertisem*nt').appendChild(styleToolTip); // Append stylesheet under red venture swidget document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.appendChild(style); // if(document.querySelectorAll('.red-ventures-widget he-custom-editorial-listings')[0]) { // document.querySelectorAll('.red-ventures-widget he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper .advertisem*nt').innerHTML = advPopupContent; // setTimeout(() => { // document.querySelectorAll('.red-ventures-widget he-custom-editorial-listings')[0].shadowRoot.querySelectorAll('.sonic-el-wrapper sonic-tooltip')[0].shadowRoot.querySelector('button').style.textTransform = 'none'; // document.querySelectorAll('.red-ventures-widget he-custom-editorial-listings')[0].shadowRoot.querySelector('sonic-tooltip').appendChild(sonicTooltipStyle); // }, 100); // } function repeatingFunc() { let prod_block = document.querySelectorAll('.product-container .program-listing .block'); let currentDefaultDetailItem = 1; // if (prod_block.length <= 3) { // currentDefaultDetailItem = (prod_block.length - 1); // } var sch_degree = document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('button.button-expand-toggle'); if(sch_degree !== null){ // clone content of detail box for red ventures widgets let cloneSvg = document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('.expand-close').cloneNode(true); // let cloneDetail = document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('.h-full.grid').cloneNode(true); //Add Detail box and styling document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.appendChild(wrapper); document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('div.red-venture-detail-box').appendChild(innerItem); // Append close button of red ventures document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('div.red-venture-detail-box').appendChild(cloneSvg); let storeLoader = document.getElementById('d-loader'); document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('div.red-venture-detail-box .item').appendChild(storeLoader); storeLoader.style.display = 'block'; // Append stylesheet under red venture swidget let cloneDetail2 = document.querySelector('.hidden-listings'); // Append detailed content of red ventures document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('div.red-venture-detail-box .item').appendChild(cloneDetail2); // Append stylesheet in red venture detail box setTimeout(() => { if(document.querySelectorAll('.red-venture-detail-box.height-increase').length > 0){ if (document.querySelectorAll('.red-venture-detail-box.height-increase he-custom-editorial-listings')[0]) { document.querySelectorAll('.red-venture-detail-box.height-increase he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper').classList.add('expanded'); document.querySelectorAll('.red-venture-detail-box.height-increase he-custom-editorial-listings')[0].shadowRoot.appendChild(styleExpanded); //document.querySelectorAll('.red-venture-detail-box.height-increase he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper .advertisem*nt').innerHTML = advPopupContent; // setTimeout(() => { // document.querySelectorAll('.red-venture-detail-box he-custom-editorial-listings')[0].shadowRoot.querySelectorAll('.sonic-el-wrapper sonic-tooltip')[0].shadowRoot.querySelector('button').appendChild(styleAdvertisem*ntText); // }, 100); //document.querySelectorAll('.red-venture-detail-box.height-increase he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper .advertisem*nt').style.marginLeft = '7px'; //document.querySelectorAll('.red-venture-detail-box.height-increase he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper .advertisem*nt .block').style.textTransform = 'none'; //document.querySelectorAll('.red-venture-detail-box.height-increase he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper .advertisem*nt').appendChild(styleToolTip); } if (document.querySelector('.hidden-listings')) { document.querySelector('.hidden-listings').style.display = 'block'; } document.querySelector('.red-venture-detail-box.height-increase .animated-loader').style.display = 'none'; //document.querySelectorAll('.red-ventures-widget he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper .advertisem*nt').innerHTML = advPopupContent; document.querySelector('.red-venture-detail-box').style.overflow = 'visible'; breakStringWithSpecialCharacter(19); } }, 3000); //CLICK EVENT sch_degree.addEventListener('click', function(){ // remove all open detail box if(document.querySelector('.detail-content.height-increase') !== null){ document.querySelector('.detail-content.height-increase').remove(); document.querySelector('.column.selected').classList.remove('selected'); } // remove existing expanded functionality from red ventures document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper').classList.remove('expanded'); // clone detail box of red venture widgets let detailClone = document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('.red-venture-detail-box').cloneNode(true); // show block after 3rd card logic detailClone.style.display = "block"; let placeAfter = ''; var total_items = prod_block.length; if(document.querySelector('.red-ventures-widget')) { total_items = total_items + 1; if (total_items == 3) { currentDefaultDetailItem = 1; } if (total_items < 3) { currentDefaultDetailItem = 0; } } if(window.innerWidth > 1000){ placeAfter = document.querySelector(`[data-counter="${currentDefaultDetailItem}"]`); } else { placeAfter = document.querySelector('.red-ventures-widget'); } if(document.querySelector('.red-venture-detail-box') == null){ if (placeAfter) placeAfter.insertAdjacentHTML('afterend', detailClone.outerHTML); this.classList.add('active'); // Append stylesheet in red venture detail box setTimeout(() => { if(document.querySelectorAll('.red-venture-detail-box he-custom-editorial-listings')[0]) { if(document.querySelectorAll('.red-venture-detail-box he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper')) { document.querySelectorAll('.red-venture-detail-box he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper').classList.add('expanded'); } document.querySelectorAll('.red-venture-detail-box he-custom-editorial-listings')[0].shadowRoot.appendChild(styleExpanded); //document.querySelectorAll('.red-venture-detail-box he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper .advertisem*nt').innerHTML = advPopupContent; // setTimeout(() => { // document.querySelectorAll('.red-venture-detail-box he-custom-editorial-listings')[0].shadowRoot.querySelectorAll('.sonic-el-wrapper sonic-tooltip')[0].shadowRoot.querySelector('button').appendChild(styleAdvertisem*ntText); // }, 100); // document.querySelectorAll('.red-venture-detail-box he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper .advertisem*nt').appendChild(styleToolTip); } if(document.querySelector('.hidden-listings')) { document.querySelector('.hidden-listings').style.display = 'block'; } if(document.querySelector('.red-venture-detail-box .animated-loader')) document.querySelector('.red-venture-detail-box .animated-loader').style.display = 'none'; if(document.querySelector('.red-venture-detail-box')) document.querySelector('.red-venture-detail-box').style.overflow = 'visible'; breakStringWithSpecialCharacter(19); }, 2000); setTimeout(function(){ if(document.querySelector('.red-venture-detail-box')) document.querySelector('.red-venture-detail-box').style.maxHeight = '2500px'; },1); } else { if(document.querySelectorAll('.red-venture-detail-box.height-increase he-custom-editorial-listings')[0]) { document.querySelector('.red-venture-detail-box').style.overflow = 'visible'; } document.querySelector('.red-venture-detail-box').style.maxHeight = '0'; this.classList.remove('active'); setTimeout(function(){ document.querySelector('.red-venture-detail-box').remove(); }, 300) } // red ventures box close button and logic closeRedVenture = document.querySelector('.expand-close'); if(closeRedVenture) { closeRedVenture.addEventListener('click', function(){ document.querySelector('.red-venture-detail-box').style.maxHeight = '0'; sch_degree.classList.remove('active'); console.log('2') setTimeout(function(){ document.querySelector('.red-venture-detail-box').remove(); }, 1000) }); } }) setTimeout(() => { // red ventures box close button and logic closeRedVenture = document.querySelector('.expand-close'); if(closeRedVenture !== null){ closeRedVenture.addEventListener('click', function(){ document.querySelector('.red-venture-detail-box').style.maxHeight = '0'; sch_degree.classList.remove('active'); console.log('3') setTimeout(function(){ document.querySelector('.red-venture-detail-box').remove(); }, 500) }) }; }, 2500); } else { setTimeout(repeatingFunc, 2000); } } setTimeout(() => { repeatingFunc(); }, 3000); }}function breakStringWithSpecialCharacter(maxLength=12) { if(maxLength == 19) { var school = document.querySelectorAll('.red-venture-detail-box he-custom-editorial-listings')[0].shadowRoot.querySelector('.school').innerHTML; } else { if(document.querySelectorAll('.red-ventures-widget he-custom-editorial-listings')[0].shadowRoot.querySelector('.school')) var school = document.querySelectorAll('.red-ventures-widget he-custom-editorial-listings')[0].shadowRoot.querySelector('.school').innerHTML; } if(school) { school = school.replace('

', ''); school = school.replace('

', ''); if(/\s/g.test(school) == false && school.length > maxLength ) { const SpecialChars = ['@']; SpecialChars.forEach(function (item){ if(school.includes(item)) { var res = school.split(item); var changeString = ''+res[0]+''+item; school = changeString + res[1]; } }); if(maxLength == 19) { document.querySelectorAll('.red-venture-detail-box he-custom-editorial-listings')[0].shadowRoot.querySelector('.school').innerHTML = school; } else { document.querySelectorAll('.red-ventures-widget he-custom-editorial-listings')[0].shadowRoot.querySelector('.school').innerHTML = school; } } } }function mainDirectory(){ // DOM element let prod_container = document.querySelectorAll('.product-container'); let prod_block = document.querySelectorAll('.product-container .program-listing .block'); // if container length more than 0 if(prod_container.length > 0){ // initialize variable let counter = 0; let number = 1; // reduce heading text font size in case text is large let headingText = document.querySelector('.title-with-img h2'); let splitText = headingText.textContent.split(''); if(splitText.length > 30){ headingText.style.cssText = 'font-size: 70px; letter-spacing: -2px; line-height: 80px;'; } // set product length in h2 under title with image let setInnerText = document.querySelector('.prod-length'); if(setInnerText){ setInnerText.innerHTML = prod_block.length; //Update the H2 name at everywhere it is used in anchor document. querySelectorAll(`a[href='#${headingText.getAttribute('id')}']`)?. forEach( node => (node.innerHTML = headingText.textContent) ); } // set hidden div if module is 2 if(window.innerWidth > 1000){ var e = document.createElement('div'); e.classList.add('block'); e.style.border = 'none'; e.setAttribute('data-counter', prod_block.length); if(document.querySelector('.red-venutre-box') != null){ if((prod_block.length - 2) % 3 == 2){ document.querySelector('.program-listing').appendChild(e); } } else { if(prod_block.length > 2 && prod_block.length % 3 == 2){ document.querySelector('.program-listing').appendChild(e); } } } // looping for each block for(i = 0; i < prod_block.length; i++){ // set data-counter attribute prod_block[i].setAttribute('data-counter', counter); // hide tag if inner text is empty let hideBlankTag = prod_block[i].children[1].getElementsByClassName('check-inner-text'); for(j = 0; j < hideBlankTag.length; j++){ if(hideBlankTag[j].innerText.trim() == '' || hideBlankTag[j].innerText.trim() == 'No'){ hideBlankTag[j].parentNode.classList.add('hide-empty-attr'); } } let hideRankingBox = prod_block[i].children[1].getElementsByClassName('middle-outer-column'); for(k = 0; k < hideRankingBox.length; k++){ // console.log(hideRankingBox[k].children[0].querySelector('.check-inner-text').innerText); if(hideRankingBox[k].children[0].querySelector('.check-inner-text').innerText.trim() == ''){ hideRankingBox[k].classList.add('hide-empty-attr'); } } // added 0 if number less than 10 if(number < 10){ number = '0'+number; } if(number < 11){ prod_block[i].classList.add('top-ten'); } // add dynamically number prod_block[i].querySelector('.number').innerHTML = number; // open detail box when click on small boxes prod_block[i].addEventListener('click', function(){ if(document.querySelector('.red-venture-detail-box') !== null){ document.querySelector('.red-venture-detail-box').remove(); document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('button.button-expand-toggle').classList.remove('active'); } //Mobile view var w = window.innerWidth; //below is workaround var current = parseInt(this.getAttribute('data-counter')); if(document.querySelector('.detail-content.height-increase') !== null || document.querySelector('.red-venture-detail-box.height-increase') !== null){ var total = this.parentNode.children.length - 1; } else { var total = this.parentNode.children.length; } // remove selected class from each single box for(k = 0; k < prod_block.length; k++){ prod_block[k].children[0].classList.remove('selected'); } // add selected class when click on single box this.children[0].classList.add('selected'); // condition added for open detail box after 3 small box if(w > 1000){ if(document.querySelector('.red-venutre-box') != null){ var total_items = prod_block.length + 1; if(current == 0 || current == 1){ position = 1; if (total_items == 3) { position = 1; //(total_items - 1); } if (total_items < 3) { position = 0; //(total_items - 1); } } else { var temp = 4 + 3 * Math.floor((current - 2) / 3); position = (temp >= total ? total-2 : temp); } } else { var temp = 3 + 3 * Math.floor(current / 3); position = (temp > total ? total : temp) - 1; } } else{ position = current; } // remove detail box let countDetailBox = document.querySelectorAll('.program-listing > .detail-content'); let countDetailBox1 = document.querySelector('.program-listing > .detail-content'); // clone detail box and insert after 3rd single box let detailClone = this.children[1].cloneNode(true); // open detail box if counter detail box lenth is 0 and id is not equal to data id of detail box if(countDetailBox.length == 0 || this.children[0].getAttribute('id') != countDetailBox1.getAttribute('data-id')){ // remove detail box for(k = 0; k < countDetailBox.length; k++){ countDetailBox[k].remove(); } // adding class on clone element detailClone.classList.add('height-increase'); detailClone.style.display = 'block'; // place detail box after 3rd box let placeAfter = document.querySelector(`[data-counter="${position}"]`); placeAfter.insertAdjacentHTML('afterend', detailClone.outerHTML); // settimeout is added for animation setTimeout(function(){ document.querySelector('.program-listing > .detail-content').style.maxHeight = '2500px'; window.scrollTo({ top: placeAfter.offsetTop - 71, behavior: "smooth" }); },1); } // close detail box when click toggle on same item else if(this.children[0].getAttribute('id') == countDetailBox1.getAttribute('data-id')) { this.children[0].classList.remove('selected'); detailClone.style.display = 'none'; document.querySelector('.program-listing > .detail-content').style.maxHeight = '0'; setTimeout(function(){ for(k = 0; k < countDetailBox.length; k++){ countDetailBox[k].remove(); } },1000); } }); // close detailed clone box counter++; number++; } } // Open team detail according to name in URL on load window if(prod_container.length > 0){ let getCurrentUrl = window.location.href; let getId = getCurrentUrl.split('#'); // open box on run time where find the same id of url if(getId[1] !== undefined){ let loadedItem; Object.keys(prod_container).map(item => { loadedItem = prod_container[item].children[0].children; let currentId = document.querySelector(`[data-id="${getId[1]}"]`); let getDataIdAttr = currentId.getAttribute('data-id'); if(getDataIdAttr == getId[1]){ //Mobile view var w = window.innerWidth; //below is workaround var current = parseInt(currentId.parentNode.getAttribute('data-counter')); var total = loadedItem.length; // console.log(total); // add selected class when click on single box currentId.parentNode.children[0].classList.add('selected'); // condition added for open detail box after 3 small box if(w > 1000){ if(document.querySelector('.red-venutre-box') != null){ breakStringWithSpecialCharacter(); if(current == 0 || current == 1){ position = 1; if(prod_block.length < 3) { position = (prod_block.length) -1; } } else { var temp = 4 + 3 * Math.floor((current - 2) / 3); position = (temp >= total ? total-2 : temp); } } else { var temp = 3 + 3 * Math.floor(current / 3); position = (temp > total ? total : temp) - 1; } } else{ position = current; } // clone detail box let detailClone = currentId.cloneNode(true); detailClone.classList.add('height-increase'); detailClone.style.display = 'block'; // place detail box after 3rd small box let placeAfter = document.querySelector(`[data-counter="${position}"]`); // insert html after 3rd small box placeAfter.insertAdjacentHTML('afterend', detailClone.outerHTML); // setimeout added for animation setTimeout(function(){ document.querySelector('.program-listing > .detail-content').style.maxHeight = '2500px'; },1); } }); } else { // if hash is not present in url then open first card by default if(document.querySelector('.red-venutre-box') != null){ breakStringWithSpecialCharacter(); let currentDefaultDetailItem = 1; var total_items = prod_block.length + 1; if (total_items < 3) { currentDefaultDetailItem = 0; //(total_items - 1); } if (total_items == 3) { currentDefaultDetailItem = 1; //(total_items - 1); } setTimeout(() => { cloneFirstProd = document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('.red-venture-detail-box').cloneNode(true); document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('button.button-expand-toggle').classList.add('active'); cloneFirstProd.classList.add('height-increase'); cloneFirstProd.style.display = 'block'; let placeAfter; if(window.innerWidth > 1000){ placeAfter = document.querySelector(`[data-counter="${currentDefaultDetailItem}"]`); } else { placeAfter = document.querySelector('.red-ventures-widget'); } if(placeAfter) placeAfter.insertAdjacentHTML('afterend', cloneFirstProd.outerHTML); setTimeout(function(){ if(document.querySelector('.red-venture-detail-box')) { document.querySelector('.red-venture-detail-box').style.maxHeight = '2500px'; } },1); }, 3000); } else { let currentDefaultDetailItem = 2; if (prod_block.length <= 3) { currentDefaultDetailItem = (prod_block.length - 1); } cloneFirstProd = prod_container[0].children[0].children[0].children[1].cloneNode(true); cloneFirstProd.classList.add('height-increase'); cloneFirstProd.style.display = 'block'; // add selected class when click on single box prod_container[0].children[0].children[0].children[0].classList.add('selected'); // place detail box after 3rd small box let placeAfter = document.querySelector(`[data-counter="${currentDefaultDetailItem}"]`); placeAfter.insertAdjacentHTML('afterend', cloneFirstProd.outerHTML); setTimeout(function(){ document.querySelector('.program-listing > .detail-content').style.maxHeight = '2500px'; },1); } } // remove detail box when click on close button Object.keys(prod_container).map(item => { prod_container[item].addEventListener('click', function(e){ if(e.target.classList == 'close-button'){ prod_container[item].querySelector('.selected').classList.remove('selected'); document.querySelector('.program-listing > .detail-content').style.maxHeight = '0'; // settimeout is added for animation setTimeout(function(){ document.querySelector('.program-listing > .detail-content').style.display = 'none'; e.target.parentNode.parentNode.parentNode.remove(); },1000); } }); }); }}var tryCounter = 15;//Calling for this function is in footerfunction checkRegion(callbackRV, CallbackCond){ setTimeout(() => { let checkRedVentureModule; if(document.querySelector('.program-listing he-custom-editorial-listings') != null){ var hcel = document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot; if(hcel && document.querySelectorAll('.red-ventures-widget').length && document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelectorAll('.sonic-el-wrapper').length) { //Good to move fwd checkRedVentureModule = document.querySelectorAll('.program-listing he-custom-editorial-listings')[0].shadowRoot.querySelector('.sonic-el-wrapper'); document.querySelector('.red-ventures-widget').style.display = 'block'; callbackRV(); CallbackCond(); } else if(tryCounter > 0) {//Wait till widget loaded, it will also not work other than US. Still check for 20 times in case of internet delay tryCounter = tryCounter - 1; checkRegion(callbackRV, CallbackCond); return }else { if(document.querySelector('.red-ventures-widget')){ //important to remove it, otherwise block will not show properly document.querySelector('.red-ventures-widget').remove(); document.querySelector('.product-table').classList.remove('red-venutre-box'); } CallbackCond(); } }else CallbackCond(); //Normal use case when no RV add is added }, 200);}

Best Dental Assistant Degree Programs of 2024 - Intelligent (2024)
Top Articles
Latest Posts
Article information

Author: Allyn Kozey

Last Updated:

Views: 6507

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.