/* FILE ARCHIVED ON 20:04:12 Mar 29, 2016 AND RETRIEVED FROM THE AN OPENWAYBACK INSTANCE ON 8:41:42 Aug 11, 2024. JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ // NEW CAROUSEL JS $(document).ready(function(){ $('.slider').jCarouselLite({ btnNext: '.next', btnPrev: '.prev', visible: 14, scroll: 14 }); $('img.captify').captify({ // all of these options are... optional // --- // speed of the mouseover effect speedOver: 'fast', // speed of the mouseout effect speedOut: 'normal', // how long to delay the hiding of the caption after mouseout (ms) hideDelay: 500, // 'fade', 'slide', 'always-on' animation: 'slide', // text/html to be placed at the beginning of every caption prefix: '', // opacity of the caption on mouse over opacity: '0.7', // the name of the CSS class to apply to the caption box className: 'caption-bottom', // position of the caption (top or bottom) position: 'bottom', // caption span % of the image spanWidth: '100%' }); }); // POP-UP SURVEY // LOOK AT POPUP-SURVEY-CODE.JS TO GET THE FUNCTIONING JS CODE. // ADD CLASS JS $(document).ready(function () { $("ul.sub-feature li:eq(1)").addClass("middle"); }); // OLD CAROUSEL JS $(document).ready(function () { $('.pbskidsProgramsCarousel').infiniteCarousel(); }); // MENU DROPDOWN JS $(document).ready(function(){ $('#cssdropdown li.headlink').hover( function() { $('ul', this).css('display', 'block'); }, function() { $('ul', this).css('display', 'none'); }); }); // VIDEO MODAL POP-UP WINDOW $(document).ready(function(){ //Examples of how to assign the ColorBox event to elements $(".video-pop").colorbox({iframe:true, scrolling:false, innerWidth:512, innerHeight:288}); $(".tps-video-pop").colorbox({iframe:true, scrolling:false, innerWidth:640, innerHeight:360}); //Example of preserving a JavaScript event for inline calls. $("#click").click(function(){ $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here."); return false; }); });