PageSourceSearch

https://bp-tricks.com/wp-content/uploads/exports/bp-tricks-child/dynamic.js?ver=3.9.1

js bp-tricks.com collected 2026-10-03 23:26:13 UTC 6,437 bytes, 63 lines download raw bytes

1jQuery(document).ready(function($)
2{if($.fn.superfish){$('.base-menu ul.sf-menu').superfish({delay:400,animation:{opacity:'show',height:'show'},speed:'fast',autoArrows:false,dropShadows:false});}
3$('.comment-reply-link').addClass('button');$('.register #content').addClass('column sixteen');infinity_sidebar_height();$('#sidebar').bind('ajaxStop',function(){infinity_sidebar_height();});});function infinity_sidebar_height()
4{var height=jQuery('.main-wrap').height();jQuery('#sidebar').css('min-height',height);}
5jQuery(document).ready(function($){$('.base-menu a,.post-meta-data a,#logo-menu-wrap a,a[rel=twipsy],.widget_display_replies a,.generic-button a,.gallery-item a img').tooltip({delay:{show:500,hide:100},placement:'bottom'});$('.item-list-tabs a').tooltip({delay:{show:500,hide:100},placement:'right'});$('.register #content').addClass('column sixteen');$('#favorite-toggle a').attr('title','Add this topic to your favorites');$(".toggle_container").hide();$("h6.trigger").click(function(e){$(this).toggleClass("active").next().slideToggle("normal");e.preventDefault();});berlin_overlay();});function berlin_overlay()
6{jQuery('.wp-post-image,img.avatar, ul.item-list li img.avatar, .pie-easy-exts-features-header-logo, #primary-nav li a span, a.button-callout, #sidebar a img').hover(function(){jQuery(this).stop().animate({opacity:0.7},200);},function(){jQuery(this).stop().animate({opacity:1},200);});jQuery('.plus').hover(function(){jQuery(this).parent('.post-thumb').find('img').stop().animate({opacity:0.8},200);},function(){jQuery(this).parent('.post-thumb').find('img').stop().animate({opacity:1},200);});}
7!function($){"use strict";var Tooltip=function(element,options){this.init('tooltip',element,options)}
8Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut
9this.type=type
10this.$element=$(element)
11this.options=this.getOptions(options)
12this.enabled=true
13if(this.options.trigger=='click'){this.$element.on('click.'+ this.type,this.options.selector,$.proxy(this.toggle,this))}else if(this.options.trigger!='manual'){eventIn=this.options.trigger=='hover'?'mouseenter':'focus'
14eventOut=this.options.trigger=='hover'?'mouseleave':'blur'
15this.$element.on(eventIn+'.'+ this.type,this.options.selector,$.proxy(this.enter,this))
16this.$element.on(eventOut+'.'+ this.type,this.options.selector,$.proxy(this.leave,this))}
17this.options.selector?(this._options=$.extend({},this.options,{trigger:'manual',selector:''})):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,options,this.$element.data())
18if(options.delay&&typeof options.delay=='number'){options.delay={show:options.delay,hide:options.delay}}
19return options},enter:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type)
20if(!self.options.delay||!self.options.delay.show)return self.show()
21clearTimeout(this.timeout)
22self.hoverState='in'
23this.timeout=setTimeout(function(){if(self.hoverState=='in')self.show()},self.options.delay.show)},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type)
24if(this.timeout)clearTimeout(this.timeout)
25if(!self.options.delay||!self.options.delay.hide)return self.hide()
26self.hoverState='out'
27this.timeout=setTimeout(function(){if(self.hoverState=='out')self.hide()},self.options.delay.hide)},show:function(){var $tip,inside,pos,actualWidth,actualHeight,placement,tp
28if(this.hasContent()&&this.enabled){$tip=this.tip()
29this.setContent()
30if(this.options.animation){$tip.addClass('fade')}
31placement=typeof this.options.placement=='function'?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement
32inside=/in/.test(placement)
33$tip.remove().css({top:0,left:0,display:'block'}).appendTo(inside?this.$element:document.body)
34pos=this.getPosition(inside)
35actualWidth=$tip[0].offsetWidth
36actualHeight=$tip[0].offsetHeight
37switch(inside?placement.split(' ')[1]:placement){case'bottom':tp={top:pos.top+ pos.height,left:pos.left+ pos.width/2- actualWidth/2}
38break
39case'top':tp={top:pos.top- actualHeight,left:pos.left+ pos.width/2- actualWidth/2}
40break
41case'left':tp={top:pos.top+ pos.height/2- actualHeight/2,left:pos.left- actualWidth}
42break
43case'right':tp={top:pos.top+ pos.height/2- actualHeight/2,left:pos.left+ pos.width}
44break}
45$tip.css(tp).addClass(placement).addClass('in')}},setContent:function(){var $tip=this.tip(),title=this.getTitle()
46$tip.find('.tooltip-inner')[this.options.html?'html':'text'](title)
47$tip.removeClass('fade in top bottom left right')},hide:function(){var that=this,$tip=this.tip()
48$tip.removeClass('in')
49function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.
49support.transition.end).remove()},500)
50$tip.one($.support.transition.end,function(){clearTimeout(timeout)
51$tip.remove()})}
52$.support.transition&&this.$tip.hasClass('fade')?removeWithAnimation():$tip.remove()
53return this},fixTitle:function(){var $e=this.$element
54if($e.attr('title')||typeof($e.attr('data-original-title'))!='string'){$e.attr('data-original-title',$e.attr('title')||'').removeAttr('title')}},hasContent:function(){return this.getTitle()},getPosition:function(inside){return $.extend({},(inside?{top:0,left:0}:this.$element.offset()),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var title,$e=this.$element,o=this.options
55title=$e.attr('data-original-title')||(typeof o.title=='function'?o.title.call($e[0]):o.title)
56return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},validate:function(){if(!this.$element[0].parentNode){this.hide()
57this.$element=null
58this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass('in')?'hide':'show']()},destroy:function(){this.hide().$element.off('.'+ this.type).removeData(this.type)}}
59$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data('tooltip'),options=typeof option=='object'&&option
60if(!data)$this.data('tooltip',(data=new Tooltip(this,options)))
61if(typeof option=='string')data[option]()})}
62$.fn.tooltip.Constructor=Tooltip
63$.fn.tooltip.defaults={animation:true,placement:'top',selector:false,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:'hover',title:'',delay:0,html:true}}(window.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.