public/js/index.js
/**
 * Displays the currently selected carousel item. If this is the same as the currently displayed item, will hide
 * @param {HTMLImageElement} item Image element of the currently selected item 
 */
Displays the currently selected carousel item. If this is the same as the currently displayed item, will hide
@param {HTMLImageElement} item Image element of the currently selected item
Displays the currently selected carousel item . If this is the same as the currently displayed item will hide @param { HTMLImageElement } item Image element of the currently selected item
function toggleCarouselItemHover(item) {
    if (document.querySelector("#active-tech-text").innerHTML === "&nbsp;" || document.querySelector("#active-tech-text").innerHTML !== item.dataset.hoverText)
        document.querySelector("#active-tech-text").innerHTML = item.dataset.hoverText;
    else
        document.querySelector("#active-tech-text").innerHTML = "&nbsp;";
}
function toggleCarouselItemHover ( item ) { if ( document . querySelector ( "#active-tech-text" ) . innerHTML === "&nbsp;" || document . querySelector ( "#active-tech-text" ) . innerHTML !== item . dataset . hoverText ) document . querySelector ( "#active-tech-text" ) . innerHTML = item . dataset . hoverText ; else document . querySelector ( "#active-tech-text" ) . innerHTML = "&nbsp;" ; }
Displays the currently selected carousel item.
Displays the currently selected carousel item .