CINXE.COM
Triode - The Iconfactory, Inc - powered by HappyFox
<!DOCTYPE html> <html lang="en"> <head> <title>Triode - The Iconfactory, Inc - powered by HappyFox</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="The best way to enjoy your favorite Internet radio stations on any Apple device." /> <link rel="stylesheet" href="https://hf-files-oregon.s3.amazonaws.com/hdpiconfactory_user_customized/support_center_brand_primary_dynamic.css?key=a3ba09ba-8e74-4294-9ee6-d478003b6a5a"> <link rel="shortcut icon" href="/media/img/happyfox-favicon.png" /> <link href="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/css/vendor.css" rel="stylesheet" type="text/css"> <script src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/js/vendor.js"></script> </head> <body class="hf-support-center "> <div class=""> <div id="announcementBanner" style=" display: none; padding: 12px 0; border-bottom: 1px solid #a9d5de; background: #f8ffff; text-align: center; color: #333; font-size: 14px; clear: both;" class="hf-announcement-banner"> You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020. <div id="announcementClose" style="padding: 2px 10px; cursor: pointer; float: right;"> <img src="/media/svgs/close-icon.svg" alt="close" /> </div> </div> <div id="articlePreviewBanner" style=" display: none; padding: 12px 0; border-bottom: 1px solid #a9d5de; background: #f8ffff; text-align: center; color: #333; font-size: 14px; clear: both;" class="hf-announcement-banner"> You are viewing the article in preview mode. It is not live at the moment. </div> <div class="above_header"> </div> <div class="hf-header"> <div class="hf-user-profile-overlay" id="hf-user-profile-overlay"></div> <div data-printable="false" class="hf-header_wrap" id="hf-header-wrap_2"> <header id="hf-header_2" class="hf-header"> <div class="hf-u-vertically-centered-container"> <div class="hf-header_logo-wrap hf-mod-desktop"> <a href="https://iconfactory.happyfox.com/home"><img src="https://s3.us-west-2.amazonaws.com/hf-files-oregon/hdpiconfactory_user_customized/2025/01-09/89bd0835-072f-48cb-87b0-ddcd167631a1/tender_iflogo_bw_retina.png" class="hf-header_logo" alt="company logo"></a> </div> <a href="https://iconfactory.happyfox.com/home"><img src="https://s3.us-west-2.amazonaws.com/hf-files-oregon/hdpiconfactory_user_customized/2025/01-09/d4e8b149-3bb0-44de-84c2-78e6df24f78a/tender_iflogo_bw_retina.png" class="hf-header_logo hf-mod-mobile-logo" alt="company logo"></a> <div class="hf-sc-search-container hf-mod-desktop"> <input type="text" class="hf-header-search hf-sc-search-box" placeholder="Search the Support Center" value="" aria-label="Support Center search bar"/> <div class="hf-sc-search-loader loader" style="display: none;"></div> </div> </div> <nav class="hf-u-vertically-centered-container hf-margin-left-auto" aria-label="Main Menu"> <div class="hf-mobile-search-trigger"><img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/search.svg" alt="search icon" class="" /> </div> <a class="skip-to-content-link" href="#main"> Skip to content </a> <div class="hf-header_link"><a href="https://iconfactory.happyfox.com/new/" class="hf-header_link-text" title="Get in Touch">Get in Touch</a></div> <div class="hf-header_link"><a href="https://iconfactory.happyfox.com/kb" class="hf-header_link-text" title="Knowledge Base">Knowledge Base</a></div> </nav> <div class="hf-hamburger-menu-container"> <input type="checkbox" class="hf-open-hamburger-menu" id="hf-open-hamburger-menu"> <label for="hf-open-hamburger-menu" class="hf-hamburger-menu-toggle" role="navigation"> <p class="hf-menu-label-text">Menu</p> <div class="hf-spinner hf-diagonal hf-part-1"></div> <div class="hf-spinner hf-horizontal"></div> <div class="hf-spinner hf-diagonal hf-part-2"></div> </label> <nav id="hf-hamburger-menu"> <ul class="hf-hamburger-menu-inner"> <li class="hf-header_mobile-link"><a href="https://iconfactory.happyfox.com/new/" class="hf-header_link-text">Get in Touch</a></li> <li class="hf-header_mobile-link"><a href="https://iconfactory.happyfox.com/kb" class="hf-header_link-text">Knowledge Base</a></li> </ul> </nav> </div> </header> <div class="hf-mobile-search-bar"> <div class="hf-sc-search-container"> <input type="text" value="" class="hf-sc-search-box" aria-label="Support Center search bar" placeholder="Search the Support Center"> <div class="hf-sc-search-loader loader" style="display: none;"></div> </div> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/clear-icon.svg" alt="clear search" id="hf-clear-mobile-search" /> </div> </div> <style> .hf-sc-search-loader.loader { position: absolute; right: 10px; top: calc(50% - 10px); width: 20px; padding: 2px; aspect-ratio: 1; border-radius: 50%; background: rgba(32, 32, 45, 1); --mask: conic-gradient(#0000 10%,#000), linear-gradient(#000 0 0) content-box; -webkit-mask: var(--mask); mask: var(--mask); -webkit-mask-composite: source-out; mask-composite: subtract; animation: loader-spin 1s infinite linear; } @keyframes loader-spin {to{transform: rotate(1turn)}} .hf-mobile-search-bar .hf-sc-search-loader.loader { right: -5px; } .hf-banner_search-box { padding: 20px 35px 20px 40px; } @media only screen and (max-width : 812px) { .hf-banner_search-box { padding: 10px 35px 10px 40px; } } </style> <script type="text/javascript"> /** * TLS Deprecation announcement banner. This needs to be rendered above all widgets and hence the * HTML part is added in base.html above the user announcement section. The script to show/hide * is added here in order to get the SSL Protocol from the request which is set in the context * object for header. * **/ var isBannerDismissed = localStorage.getItem('hf-tls-deprecation_warning_dismissed'); var sslProtocol = "None"; if (['TLSv1', 'TLSv1.0', 'TLSv1.1'].indexOf(sslProtocol) > -1 && !isBannerDismissed) { var bannerElement = document.querySelector('#announcementBanner'); bannerElement.style.display = 'block'; bannerElement.classList.add('hf-announcement-banner-open'); document.querySelector('#announcementClose').addEventListener('click', function() { localStorage.setItem('hf-tls-deprecation_warning_dismissed', true); bannerElement.style.display = 'none'; bannerElement.classList.remove('hf-announcement-banner-open'); var ticketListWrap = $('.hf-ticket-list-wrap'); var ticketDetailsWrap = $('.hf-ticket-details'); var mySettingsWrap = $('.hf-settings-wrap'); var is_sticky = "True"; if (is_sticky == "True") { onScroll(); // To reset the sticky header positions } if (ticketListWrap.length) { ticketListWrap.css('top', ticketListWrap.position().top - 44); } if (ticketDetailsWrap.length) { ticketDetailsWrap.css('top', ticketDetailsWrap.position().top - 44); } if (mySettingsWrap.length) { mySettingsWrap.css('top', mySettingsWrap.position().top - 44); } }, { once: true }); } </script> <script type="text/javascript"> window.onscroll = function() { onScroll() }; function clearTicketSearch(){ var url = new URLSearchParams(window.location.search); url.delete('q'); window.location.href = '/tickets/?' + url.toString(); } function onScroll() { var is_sticky = "True"; if (is_sticky == "True") { var announcementHeight = $('.hf-announcement').outerHeight() || 0; var windowScrollValue = $(window).scrollTop() if ( windowScrollValue >= announcementHeight) { var bodyPadding = 60 + ($('.hf-announcement-banner-open').outerHeight() || 0); $('.hf-header, .hf-announcement-banner, .hf-mobile-search-bar').addClass('hf-mod-sticky'); $('body').css("padding-top", bodyPadding + 'px'); } else{ $('.hf-header, .hf-announcement-banner, .hf-mobile-search-bar').removeClass('hf-mod-sticky'); $('body').css("padding-top", '0'); } } if (window.pageYOffset > 50) { $('#hf-scroll-to-top').fadeIn(); } else { $('#hf-scroll-to-top').fadeOut(); } } $(document).ready(function() { $('.hf-mobile-search-trigger').click(function(){ $('.hf-mobile-search-bar').slideDown(); $('#hf-clear-mobile-search').click(function() { $('.hf-mobile-search-bar input').val(""); $('.hf-mobile-search-bar').slideUp(); }) }) $(window).resize(function() { if( $(this).width() > 812 ) { $('.hf-mobile-search-bar').hide(); } }); $('#hf-supportCenterLanguageSwitcher').on('keydown click', function(e) { if(e.keyCode === 13 || e.type == "click") { $('#hf-supportCenterLanguageSwitcher').addClass('hf-sc-dropdown-open'); $('.hf-sc-language-dropdown-option').attr('tabindex', '0'); $(document).on('click.languageSwitcher', function(event) { if (!$(event.target).parents().hasClass('hf-sc-custom-dropdown')) { $('#hf-supportCenterLanguageSwitcher').removeClass('hf-sc-dropdown-open'); $('.hf-sc-language-dropdown-option').removeAttr('tabindex'); $(document).off('.hf-languageSwitcher'); } }); } }); $('.hf-sc-language-dropdown-option').on('keydown click', function(e) { if(e.keyCode === 13 || e.type == "click") { var currentLocation = window.location; var language_code = $(this).data('value'); var language_id = $(this).data('index'); if (currentLocation.pathname.includes("/kb/article")){ var available_translations = ""; var available_translation_ids = available_translations.map(function(item) { return item.language_id }); var articleMapping = {}; available_translations.forEach(function(item){ articleMapping[item.language_id] = item.article_id }); if(available_translation_ids.indexOf(language_id) >= 0){ document.cookie = "sc_language=" + language_code + "; path=/ "; window.location = "/kb/article/" + articleMapping[language_id]; } } document.cookie = "sc_language=" + language_code + "; path=/ "; window.location.reload(); } }); $('#hf-user-profile-trigger').on('click', function() { if($('#hf-user-profile-dropdown').attr('data-open') == 'true') { $('#hf-user-profile-dropdown').attr('data-open', 'false'); $('#hf-user-profile-overlay').hide(); } else { var bannerHeight = $('.hf-announcement').is(':visible') ? $('.hf-announcement').outerHeight(true) : 0; var headerHeight = $('.hf-header').outerHeight(true); $('#hf-user-profile-dropdown').attr('data-open', 'true'); $('.hf-user-profile-overlay').css('top', bannerHeight + headerHeight); $('#hf-user-profile-overlay').show(); } return false; }); var delay = (function() { let timer = 0; return function (callback, ms) { clearTimeout(timer); timer = setTimeout(callback, ms); }; })(); $('.hf-sc-search-box').on({ keyup: function(e) { e.stopPropagation(); var search_text = encodeURIComponent($(this).val()); var search_suggestions_container = $(e.target).siblings('.hf-sc-search-suggestions'); var currentlyHighlightedOption = search_suggestions_container.find('.hf-sc-search-suggestion[aria-current=true]'); if (e.keyCode === 13) { if (currentlyHighlightedOption.length) { window.location.href = currentlyHighlightedOption.find('a').attr('href'); } else { const searchLoader = e.target.parentElement.querySelector('.hf-sc-search-loader'); if (searchLoader) { searchLoader.style.display = 'block'; } window.location.href = '/kb/search/?q=' + search_text; } } else if (e.keyCode === 40) { if (currentlyHighlightedOption.next().length) { currentlyHighlightedOption.attr('aria-current', false); currentlyHighlightedOption.next().attr('aria-current', true); } else { currentlyHighlightedOption.attr('aria-current', false); currentlyHighlightedOption = search_suggestions_container.find('li:first'); currentlyHighlightedOption.attr('aria-current', true); search_suggestions_container.scrollTop(0); } } else if (e.keyCode === 38) { if (currentlyHighlightedOption.prev().length) { currentlyHighlightedOption.attr('aria-current', false); currentlyHighlightedOption.prev().attr('aria-current', true); } } else { if (search_text.length >= 3) { $('.hf-sc-search-suggestions').remove(); $('.hf-sc-search-container').removeClass('hf-mod-open'); delay(function() { $.ajax('/get_related_kb_forums/', { contentType: 'application/json', data: { 'text': search_text }, success: function(results) { if (results.length) { $('.hf-sc-search-container').addClass('hf-mod-open'); $('<div class="hf-mobile-overlay"></div>').appendTo('body'); var $ul = $('<ul class="hf-sc-search-suggestions"></ul>'); results.forEach(function(result) { if (result.type === 'kb') { $ul.append('<li class="hf-sc-search-suggestion hf-mod-' + result.type +'"><a href="/kb/article/' + result["id"] +'/">' + '<span class="hf-sc-search-suggestion_title" title="Go to KB article">' + result["title"] + '</span>' +"</a></li>"); } if (result.type === 'forum') { $ul.append('<li class="hf-sc-search-suggestion hf-mod-' + result.type +'"><a href="/forum/post/' + result["id"] +'/">' + '<span class="hf-sc-search-suggestion_title" title="Go to forum post">' + result["title"] + '</span>' +"</a></li>"); } if (result.type === 'assist_ai_result') { $ul.append('<li class="hf-sc-search-suggestion hf-mod-' + result.type +'"><a href="' + result["url"] +'">' + '<span class="hf-sc-search-suggestion_title" title="Go to ' + result["source"] + ' article">' + result["title"] + '</span>' +'<em class="hf-sc-search-suggestion_source">' + result["source"] + '</em></a></li>'); } }); $ul.appendTo($('.hf-sc-search-container')); $ul.find('li:first').attr('aria-current', true); } } }) }, 600); } else { $('.hf-sc-search-suggestions').remove(); $('.hf-sc-search-container').removeClass('hf-mod-open'); $('.hf-mobile-overlay').remove(); } } if(search_suggestions_container.length && currentlyHighlightedOption.length) { var search_suggestions_container_top = search_suggestions_container.offset().top; var search_suggestions_container_bottom = search_suggestions_container_top + search_suggestions_container.height(); var elemTop = currentlyHighlightedOption.offset().top; var elemBottom = elemTop + currentlyHighlightedOption.height(); if (elemBottom >= search_suggestions_container_bottom) { search_suggestions_container.scrollTop(0); search_suggestions_container.scrollTop(currentlyHighlightedOption.offset().top - search_suggestions_container.height()); } } } }); $(document).click( function(){ $('.hf-sc-search-suggestions').remove(); $('.hf-sc-search-container').removeClass('hf-mod-open'); $('.hf-mobile-overlay').remove(); $('#hf-user-profile-dropdown').attr('data-open', 'false'); $('#hf-user-profile-overlay').hide(); }); }); window.addEventListener("pagehide", function(event) { $('.hf-sc-search-loader').hide(); } ); </script> </div> <style type="text/css" rel="stylesheet"> a { text-decoration: none; } </style> <div> <nav id="main" class="hf-flex-container hf-section-breadcrumb hf-banner_background-color" aria-label=breadcrumb> <div class="hf-custom-container"> <a href="/kb/" class="hf-banner_text-color">Home </a> <span class="hf-section-breadcrumb_seperator hf-banner_text-color"> > </span> <a href="/kb/section/15/" aria-current=page class="hf-banner_text-color"> Triode </a> </div> </nav> </div> <div class="hf-content"> <div class="hf-section-info-container hf-banner_background-color"> <div class="hf-custom-container"> <h2 class="hf-section-page-title hf-banner_text-color" role="heading" aria-level="1">Triode</h2> <div class="hf-section-description_wrap"> <p class="hf-section-description hf-banner_text-color" id="hf-section-desc">The best way to enjoy your favorite Internet radio stations on any Apple device.</p> </div> </div> </div> <div class="hf-section-direct-child_wrap"> <div class="hf-custom-container"> </div> </div> <script> function hfCollapsible(id, textLength) { $(id).addClass('hf-collapsible'); var collapseText = $(id).html(); if(collapseText.length > textLength){ $(id).wrap( "<div class='hf-collapsible_wrap'></div>" ); $(id).after("<span class='hf-collapsible_trigger hf-banner_text-color'>show more</span>"); collapseText = collapseText.substring(0, textLength) + "<span class='hf-collapsible_dots hf-banner_text-color'>...</span> <span class='hf-collapsible_more'>" + collapseText.substring(textLength)+"</span>"; $(id).html(collapseText); $(".hf-collapsible_trigger").click(function(){ $(this).prev('.hf-collapsible').children('.hf-collapsible_dots').hide(); $(this).prev('.hf-collapsible').children('.hf-collapsible_more').show(); $(this).hide(); }) } } $( document ).ready(function() { hfCollapsible("#hf-section-desc", 160); }); </script> <!-- <h4 class="borderbtm titletxt">Most viewed articles</h4> <div class="row"> <div class="col-md-12 toplinks"> <a href="/kb/article/4-my-radio-station-isn-t-listed-in-find-a-station/">My Radio Station Isn't Listed in "Find a Station"</a> <a href="/kb/article/85-use-menubar-icon-macos/">Use Menubar Icon on macOS</a> <a href="/kb/article/81-using-presentation-mode-ios/">Using Presentation Mode on iOS</a> <a href="/kb/article/78-subscription-Info/">Subscription Info</a> <a href="/kb/article/83-add-station-to-siri/">Add Station to Siri</a> <a href="/kb/article/77-getting-purchases-on-all-devices/">Getting Purchases on All Your Devices</a> <a href="/kb/article/86-bandwidth-data-usage/">Bandwidth and Data Usage</a> <a href="/kb/article/87-disable-apple-tv-screensaver/">Disable Apple TV Screen Saver</a> <a href="/kb/article/80-customizing-station-artwork/">Customizing Station Artwork</a> <a href="/kb/article/79-setting-up-airplay-2/">Setting Up AirPlay 2</a> </div> </div> --> <div class="hf-articles-container"> <div class="hf-custom-container"> <h4 class="hf-section-page-title" role="heading" aria-level="2">Articles</h4> <div class="hf-flex-container-wrap"> <a class="hf-article-item-link" href="/kb/article/83-add-station-to-siri/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Add Station to Siri">Add Station to Siri</span> </a> <a class="hf-article-item-link" href="/kb/article/86-bandwidth-data-usage/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Bandwidth and Data Usage">Bandwidth and Data Usage</span> </a> <a class="hf-article-item-link" href="/kb/article/80-customizing-station-artwork/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Customizing Station Artwork">Customizing Station Artwork</span> </a> <a class="hf-article-item-link" href="/kb/article/87-disable-apple-tv-screensaver/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Disable Apple TV Screen Saver">Disable Apple TV Screen Saver</span> </a> <a class="hf-article-item-link" href="/kb/article/84-download-triode-on-tvos/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Download Triode on tvOS">Download Triode on tvOS</span> </a> <a class="hf-article-item-link" href="/kb/article/77-getting-purchases-on-all-devices/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Getting Purchases on All Your Devices">Getting Purchases on All Your Devices</span> </a> <a class="hf-article-item-link" href="/kb/article/82-muting-audio-without-stopping-stream/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Muting Audio Without Stopping Stream">Muting Audio Without Stopping Stream</span> </a> <a class="hf-article-item-link" href="/kb/article/4-my-radio-station-isn-t-listed-in-find-a-station/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="My Radio Station Isn't Listed in "Find a Station"">My Radio Station Isn't Listed in "Find a Station"</span> </a> <a class="hf-article-item-link" href="/kb/article/79-setting-up-airplay-2/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Setting Up AirPlay 2">Setting Up AirPlay 2</span> </a> <a class="hf-article-item-link" href="/kb/article/76-streams-stopping-on-iphone-ipad/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Streams stopping after a few minutes on iPhone or iPad">Streams stopping after a few minutes on iPhone or iPad</span> </a> <a class="hf-article-item-link" href="/kb/article/78-subscription-Info/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Subscription Info">Subscription Info</span> </a> <a class="hf-article-item-link" href="/kb/article/85-use-menubar-icon-macos/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Use Menubar Icon on macOS">Use Menubar Icon on macOS</span> </a> <a class="hf-article-item-link" href="/kb/article/81-using-presentation-mode-ios/"> <img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/articles.svg" class="hf-section_folder-image" alt="folder-icon"/> <span class="hf-section-content hf-text-overflow" title="Using Presentation Mode on iOS">Using Presentation Mode on iOS</span> </a> </div> </div> </div> </div> <footer data-printable="false" class="hf-footer"> <div class="hf-footer_content"> <nav> <a href="https://iconfactory.happyfox.com/staff/login/" class="hf-footer-link">Staff Login</a> <span class="hf-dot-seperator"></span> </nav> <span class="hf-footer_copyright-text">Copyright 漏 The Iconfactory, Inc.</span> </div> <div class="hf-branding"> <span class="hf-branding_text"> <a href="https://www.happyfox.com/" class="hf-branding-link">Help Desk Software</a> by HappyFox </span> </div> </footer> <div id="hf-scroll-to-top" class="hf-scroll-to-top"><img src="https://d12tly1s0ox52d.cloudfront.net/static/170225095336/support_center/svgs/go-to-top.svg" alt="scroll to top icon"/></div> </div> </body> <script type="text/javascript"> $(document).ready(function() { $("#hf-scroll-to-top").click(function() { $("html, body").animate({ scrollTop: 0 }, "slow"); }); if($('.hf-toast-message').length) { setTimeout(closeToastMessage, 3500); } bodyBottomPadding(); $(window).resize(function() { bodyBottomPadding(); }); }); function closeToastMessage() { var toastMessageElement = $('.hf-toast-message').not('.hf-u-hide'); if(toastMessageElement.length) { toastMessageElement.addClass('hf-toast-message-collapse'); setTimeout(function() { toastMessageElement.remove(); }, 500); } } function getCookie(name) { var cookieValue = null; if (document.cookie && document.cookie !== '') { var cookies = document.cookie.split(';'); for (var i = 0; i < cookies.length; i++) { var cookie = cookies[i].trim(); if (cookie.substring(0, name.length + 1) === (name + '=')) { cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); break; } } } return cookieValue; } function showTopBanner(widget_id, cache_key) { if ('' == 'preview') { $('#hf-announcement-' + widget_id).slideDown('fast'); } else { var topBannerCookie = getCookie('top_banner_' + widget_id); if ((typeof topBannerCookie === "undefined") || (topBannerCookie != cache_key)) { $('#hf-announcement-' + widget_id).slideDown('fast'); } $('#top_banner_' + widget_id).click(function() { $('#hf-announcement-' + widget_id).slideUp('fast'); document.cookie = "top_banner_" + widget_id + "=" + cache_key + "; path=/"; if(typeof handleAnnouncementClose == 'function') { // callback function to handle repositioning elements if the announcement bar closes setTimeout(handleAnnouncementClose, 200); } }); } } function bodyBottomPadding() { if( $('.hf-footer').length ) { var footerHeight = $('.hf-footer').innerHeight(); $('body').css("padding-bottom", footerHeight); } } </script> <script type="text/javascript"> window.HAPPYFOX_CONTACT = {}; </script> </html>