')} else {$media.html('')}break;case 1:if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {$media.html('')} else {$media.html('')}break;case 2:if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {$media.html('')} else {$media.html('')}break;case 3:if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {$media.html('')} else {$media.html('')}break;case 4:if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {$media.html('')} else {$media.html('')}break;case 5:if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {$media.html('')} else {$media.html('')}break;case 6:if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {$media.html('')} else {$media.html('')}break;case 7:if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {$media.html('')} else {$media.html('')}break;case 8:if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {$media.html('')} else {$media.html('')}break;case 9:if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {$media.html('')} else {$media.html('')}break;case 10:if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {$media.html('')} else {$media.html('')}break;case 11:if (/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {$media.html('')} else {$media.html('')}break;default:break;}}$(function () { var $container = $("#g-items"); var $items = $(".g-item.g-copyblock, .g-item.g-asset, .g-item.g-coda"); $container.scrollStory({ triggerOffset: "100%", content: $items, autoActivateFirstItem: true, itemfocus: onItemFocus, }); });