Lines Matching refs:settings

128 								if(!settings.modal)
144 settings = pp_settings;
146 if(settings.theme == 'pp_default') settings.horizontal_padding = 16;
149 theRel = $(this).attr(settings.hook);
154 …pp_images = (isSet) ? jQuery.map(matchedObjects, function(n, i){ if($(n).attr(settings.hook).index…
155 …pp_titles = (isSet) ? jQuery.map(matchedObjects, function(n, i){ if($(n).attr(settings.hook).index…
156 …pp_descriptions = (isSet) ? jQuery.map(matchedObjects, function(n, i){ if($(n).attr(settings.hook)…
158 if(pp_images.length > settings.overlay_gallery_max) settings.overlay_gallery = false;
161 rel_index = (isSet) ? set_position : $("a["+settings.hook+"^='"+theRel+"']").index($(this));
165 if(settings.allow_resize)
182 …if(typeof settings == "undefined"){ // Means it's an API call, need to manually get the settings a…
183 settings = pp_settings;
192 …if(settings.hideflash) $('object,embed,iframe[src*=youtube],iframe[src*=vimeo]').css('visibility',…
198 if(settings.deeplinking)
202 if(settings.social_tools){
203 …facebook_like_link = settings.social_tools.replace('{location_href}', encodeURIComponent(location.…
209 $pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity);
212 …$pp_pic_holder.find('.currentTextHolder').text((set_position+1) + settings.counter_separator_label…
222 …_images[set_position])) ) ? getParam('width',pp_images[set_position]) : settings.default_width.toS…
223 …images[set_position])) ) ? getParam('height',pp_images[set_position]) : settings.default_height.to…
233 …(settings.show_title && pp_titles[set_position] != "" && typeof pp_titles[set_position] != "undefi…
249 …$pp_pic_holder.find('#pp_full_res')[0].innerHTML = settings.image_markup.replace(/{path}/g,pp_imag…
286 if(settings.autoplay) movie += "&autoplay=1";
288 …ject = settings.iframe_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_di…
299 if(settings.autoplay) movie += "&autoplay=1;";
303 …toInject = settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,pp_dimension…
310settings.quicktime_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimens…
322 …ject = settings.flash_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_di…
331 …toInject = settings.iframe_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,p…
341 toInject = settings.inline_markup.replace(/{content}/g,responseHTML);
351 toInject = settings.custom_markup;
356 …images[set_position]).clone().append('<br clear="all" />').css({'width':settings.default_width}).w…
361 toInject = settings.inline_markup.replace(/{content}/g,$(pp_images[set_position]).html());
397 if(settings.allow_expand) {
422 slide_speed = (direction == 'next' || direction == 'previous') ? settings.animation_speed : 0;
439 pp_slideshow = setInterval($.prettyPhoto.startSlideshow,settings.slideshow);
469 …$('div.pp_pic_holder,div.ppt,.pp_fade').fadeOut(settings.animation_speed,function(){ $(this).remov…
471 $pp_overlay.fadeOut(settings.animation_speed, function(){
473 …if(settings.hideflash) $('object,embed,iframe[src*=youtube],iframe[src*=vimeo]').css('visibility',…
481 settings.callback();
487 delete settings;
501 $ppt.fadeTo(settings.animation_speed,1);
508 },settings.animation_speed);
515 },settings.animation_speed,function(){
518 $pp_pic_holder.find('.pp_fade').fadeIn(settings.animation_speed); // Fade the new content
523 if(settings.allow_expand) {
531 if(settings.autoplay_slideshow && !pp_slideshow && !pp_open) $.prettyPhoto.startSlideshow();
533 settings.changepicturecallback(); // Callback!
548 $pp_pic_holder.find('.pp_fade').fadeOut(settings.animation_speed,function(){
577 …h > windowWidth) || (pp_containerHeight > windowHeight)) && doresize && settings.allow_resize && !…
607 containerWidth:Math.floor(pp_containerWidth) + (settings.horizontal_padding * 2),
628 $pp_details = $pp_details.clone().addClass(settings.theme).width(width).appendTo($('body')).css({
711 if(isSet && settings.overlay_gallery && _getFileType(pp_images[set_position])=="image") {
713 …navWidth = (settings.theme == "facebook" || settings.theme == "pp_default") ? 50 : 30; // Define t…
750 if(settings.social_tools)
751 …facebook_like_link = settings.social_tools.replace('{location_href}', encodeURIComponent(location.…
753 settings.markup = settings.markup.replace('{pp_social}','');
755 $('body').append(settings.markup); // Inject the markup
760 if(isSet && settings.overlay_gallery) {
774 toInject = settings.gallery_markup.replace(/{gallery}/g,toInject);
814 if(settings.slideshow){
822 $pp_pic_holder.attr('class','pp_pic_holder ' + settings.theme); // Set the proper theme
831 if(!settings.modal) $.prettyPhoto.close();
837 if(settings.allow_expand) {