1/* ------------------------------------------------------------------------ 2 prettyPhoto custom settings for "U-Design" theme 3 Version: 3.1.5 4------------------------------------------------------------------------- */ 5 6(function($){ 7 "use strict"; 8 var ppMinWidthToEnable = parseInt(pretty_photo_custom_params.window_width_to_disable_pp); 9 var ppStyleTheme = pretty_photo_custom_params.pretty_photo_style_theme; 10 var ppGalleryOverlay = (pretty_photo_custom_params.disable_pretty_photo_gallery_overlay === "yes") ? false : true; 11 12 if ( $(window).width() > ppMinWidthToEnable ) { 13 14 $("a[rel*='wp-prettyPhoto'], a[rel*='prettyPhoto'], a[data-rel*='prettyPhoto']").prettyPhoto({ 15 animation_speed: 'normal', /* fast/slow/normal */ 16 slideshow: 5000, /* false OR interval time in ms */ 17 autoplay_slideshow: false, /* true/false */ 18 opacity: 0.80, /* Value between 0 and 1 */ 19 show_title: true, /* true/false */ 20 allow_resize: true, /* Resize the photos bigger than viewport. true/false */ 21 default_width: 500, 22 default_height: 344, 23 counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */ 24 theme: ppStyleTheme, /* pp_default / light_rounded / dark_rounded / light_square / dark_square / facebook */ 25 horizontal_padding: 20, /* The padding on each side of the picture */ 26 hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */ 27 wmode: 'opaque', /* Set the flash wmode attribute */ 28 autoplay: true, /* Automatically start videos: True/False */ 29 modal: false, /* If set to true, only the close button will close the window */ 30 deeplinking: false, /* Allow prettyPhoto to update the url to enable deeplinking. */ 31 overlay_gallery: ppGalleryOverlay, /* If set to true, a gallery will overlay the fullscreen image on mouse over */ 32 keyboard_shortcuts: true, /* Set to false if you open forms inside prettyPhoto */ 33 changepicturecallback: function(){}, /* Called everytime an item is shown/changed */ 34 callback: function(){}, /* Called when prettyPhoto is closed */ 35 ie6_fallback: true, 36 markup: '<div class="pp_pic_holder"> \ 37 <div class="ppt"> </div> \ 38 <div class="pp_top"> \ 39 <div class="pp_left"></div> \ 40 <div class="pp_middle"></div> \ 41 <div class="pp_right"></div> \ 42 </div> \ 43 <div class="pp_content_container"> \ 44 <div class="pp_left"> \ 45 <div class="pp_right"> \ 46 <div class="pp_content"> \ 47 <div class="pp_loaderIcon"></div> \ 48 <div class="pp_fade"> \ 49 <a href="#" class="pp_expand" title="Expand the image">Expand</a> \ 50 <div class="pp_hoverContainer"> \ 51 <a class="pp_next" href="#">next</a> \ 52 <a class="pp_previous" href="#">previous</a> \ 53 </div> \ 54 <div id="pp_full_res"></div> \ 55 <div class="pp_details"> \ 56 <div class="pp_nav"> \ 57 <a href="#" class="pp_arrow_previous">Previous</a> \ 58 <p class="currentTextHolder">0/0</p> \ 59 <a href="#" class="pp_arrow_next">Next</a> \ 60 </div> \ 61 <p class="pp_description"></p> \ 62 <div class="pp_social">{pp_social}</div> \ 63 <a class="pp_close" href="#">Close</a> \ 64 </div> \ 65 </div> \ 66 </div> \ 67 </div> \ 68 </div> \ 69 </div> \ 70 <div class="pp_bottom"> \ 71 <div class="pp_left"></div> \ 72 <div class="pp_middle"></div> \ 73 <div class="pp_right"></div> \ 74 </div> \ 75 </div> \ 76 <div class="pp_overlay"></div>', 77 gallery_markup: '<div class="pp_gallery"> \ 78 <a href="#" class="pp_arrow_previous">Previous</a> \ 79 <div> \ 80 <ul> \ 81 {gallery} \ 82 </ul> \ 83 </div> \ 84 <a href="#" class="pp_arrow_next">Next</a> \ 85 </div>', 86 image_markup: '<img id="fullResImage" src="{path}" />', 87 flash_markup: '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>', 88 quicktime_markup: '<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>', 89 iframe_markup: '<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>', 90 inline_markup: '<div class="pp_inline">{content}</div>', 91 custom_markup: '', 92 social_tools: '<div class="twitter"><a href="https://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>' /* html or false to disable */ 93 }); 94 } 95})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.