‘); jQuery(‘div#slideshowCaption2’).after(‘
‘) jQuery(‘#slideshow’).before(‘‘).after(‘‘).cycle({ fx: ‘fade’, speed: 300, timeout:0, pager: ‘#galleryNav’, next: ‘.next, .next2’, prev: ‘.prev, .prev2’, fit: 1, nowrap: true, height: ‘400px’, width: ‘600px’, startingSlide: jQuery.slideQuery(‘slideNum’, nSlides), after: function() { //var imgW = jQuery(this).find(‘img’).width(); //jQuery(this).find(‘img’).css(‘width’,imgW + ‘px’); var iAlt = jQuery(this).find(‘img’).attr(‘alt’); var iDesc = jQuery(this).find(‘p.imgDesc’).html(); if (iDesc == “null”) { iDesc = false; } //console.log(iDesc); if ( iAlt && iDesc ) { jQuery(‘#slideshowCaption2’).show().find(‘span’).html( iAlt + ‘
‘ + iDesc ); } else if ( iAlt ) { jQuery(‘#slideshowCaption2’).show().find(‘span’).html( iAlt ); } else if ( iDesc ) { jQuery(‘#slideshowCaption2’).show().find(‘span’).html( iDesc ); } else if ( !iAlt && !iDesc ) { jQuery(‘div#slideshowCaption2’).hide(); } var navW = Math.ceil(nSlides/8) * 488; jQuery(‘#galleryNav’).css(‘width’,navW + ‘px’); }, onPagerEvent: function(idx, isn) { //var newAdd = setUrlEncodedKey(“slideNum”,idx); jQuery(“h2#counter”).text( (idx + 1) + “/” + (nSlides) ); }, pagerAnchorBuilder: function(ind, el) { var nSrc = jQuery(el).find(“img”).attr(“src”); return ‘
‘; }, onPrevNextEvent: function (isn, idx, el) { var newAdd = setUrlEncodedKey(“slideNum”,idx); jQuery(“h2#counter”).text( (idx + 1) + “/” + (nSlides) ); idx++; if ( (isn == true) && ((idx-1) % 8 == 0) ) { var newM = ((idx-1)/8) * 488; jQuery(‘#galleryNav’).css({‘left’: -newM + ‘px’}); //window.location = newAdd; } else if ( (isn == false) && ( (idx) % 8 ==0) ) { var newM = ((idx/8) -1) * 488; jQuery(‘#galleryNav’).css({‘left’: -newM + ‘px’}); //window.location = newAdd; } //document.write = function(s) { // dfpContainer.append(s); //} /*dfpContainer.html(”); dfpContainer = dfpContainer.writeCapture(); dfpContainer.load(‘/jqueryO/adupdate.php’);*/ } }); /* document.write = function(s) { dfpContainer.append(‘‘); }*/ /* jQuery(‘.next, .next2, .prev, .prev2’).click( function() { // //alert(ord); jQuery.ajax({ url: ‘http://ad.doubleclick.net/adj/bnv.wtop.photogalleries/main;main=gallery;tile=2;pos=right1;sz=300×250,300×600;ord=’ + ord + ‘?’, //async: false, //context: jQuery(‘.rightsidebarOne .T2grid-right .default-dfp-container’), dataType: ‘html’, success: function(data){ jQuery(‘.rightsidebarOne .T2grid-right .default-dfp-container’).html(data); } }); });*/ jQuery(‘a.colorboxIframe’).colorbox({ iframe: true, innerHeight: ‘300px’, innerWidth: ‘400px’ }); });
Copyright
© 2024 Federal News Network. All rights reserved. This website is not intended for users located within the European Economic Area.