PageSourceSearch

http://www.activa.com.au/js/containers.js

js activa.com.au collected 2026-10-06 13:15:22 UTC 2,727 bytes, 7 lines download raw bytes

1var containerSetup={config:{containers:'.borderadius',wrap:false},init:function(userconfig){$.extend(this.config,userconfig);$(''+ containerSetup.config.containers+'').each(function(){var $this=$(this),width=$this.outerWidth();if(containerSetup.config.wrap==false){$this.addClass('w'+ width+'tile');$('<div class="top'+ width+'" />').insertBefore($this);$('<div class="bot'+ width+'" />').insertAfter($this);}else{$this.addClass('leg'+ width).wrapInner('<div class="w'+ width+'tile" />');$('<div class="top'+ width+'" />').prependTo($this);$('<div class="bot'+ width+'" />').appendTo($this);}});}}
2var plpContainerSetup={config:{containers:'.plpModule'},init:function(userconfig){$.extend(this.config,userconfig);$(''+ plpContainerSetup.config.containers+'').each(function(){var $this=$(this),id=$this.attr('id');$('<div class="plpHeader_'+ id+'" />').insertBefore($this);$('<div class="plpFoot" />').insertAfter($this);});}}
3var browseCatContainer={config:{containers:'.main_page_grey_block'},init:function(userconfig){$.extend(this.config,userconfig);$(''+ browseCatContainer.config.containers+'').each(function(){var $this=$(this);$this.addClass('legacyBrowseCat');$this.find('h3').wrap('<div class="mpgb_head_wrap" />')
4$('<div class="mpgb_bottom" />').insertAfter('.browse_cat_items');});}}
5var featureVid={config:{containers:'#article_content .vidright'},init:function(userconfig){$.extend(this.config,userconfig);$(''+ featureVid.config.containers+'').each(function(){var $this=$(this);$this.addClass('legacy').wrapInner('<div class="w276tile" />');$this.prepend('<img src="/images/box/top276.gif" alt="" width="276" height="10" />');$this.append('<img src="/images/box/bottom276.gif" alt="" width="276" height="10" />');});}}
6var featureImg={config:{containers:'.imgright'},init:function(userconfig){$.extend(this.config,userconfig);$(''+ featureImg.config.containers+'').each(function(){var $this=$(this);$this.addClass('legacy').find('img').wrap('<div class="w246tile" />');$('<img src="/images/box/top246.gif" alt="" width="246" height="10" />').insertBefore('.w246tile');$('<img src="/images/box/bottom246.gif" alt="" width="246" height="10" />').insertAfter('.w246tile');});}}
7var legacyArticleStub={config:{containers:'#article_stub'},init:function(userconfig){$.extend(this.config,userconfig);$(''+ legacyArticleStub.config.containers+'').each(function(){var $this=$(this);$this.removeAttr('id');$this.addClass('w480');$this.wrapInner('<div class="stubOgBg" />');$this.find('a').wrap('<p />');$('<img src="/images/box/TopOgStub460.png" width="480" height="15" />').prependTo('.stubOgBg');$('<img class="stubBottom" src="/images/box/BottomOgStub460.png" width="480" height="15" />').insertAfter('.stubOgBg');});}}

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.