PageSourceSearch

https://www.alexianbrothers.org/graphics/scripts/utilities/CareWorks.Utilities.TextResizer.js

js alexianbrothers.org collected 2026-10-02 10:59:09 UTC 1,448 bytes, 1 lines download raw bytes

1namespace("CareWorks.Utilities"),function(){var n=CareWorks.Utilities;(typeof n.TextResizer=="undefined"||n.TextResizer==null)&&(n.TextResizer=function(n,t,i,r){this.parentContainerId=n,this.elementList=typeof t=="undefined"||t==null?["table","tr","td","div","span","font","p","h1","h2","h3","h4","h5","h6"]:t,this.currentSizeModifier=0,this.minFontSize=typeof i!="undefined"&&i!=null&&parseInt(i,10)>0?parseInt(i,10):1,this.maxFontSize=typeof r!="undefined"&&r!=null?parseInt(r,10):30},n.TextResizer.prototype={parentContainerId:null,elementList:null,currentSizeModifier:null,minReached:!1,minFontSize:1,maxFontSize:30,doResize:function(n){var o,e,r,u,i,f,t;if(this.elementList==null||this.elementList.length<=0||this.parentContainerId==null)return;o=document.getElementById(this.parentContainerId);if(o==null)return;for(e=this.currentSizeModifier,typeof n=="undefined"||parseInt(n,10)==0?this.currentSizeModifier=0:this.currentSizeModifier+=parseInt(n,10),r=0;r<this.elementList.length;r++)for(u=o.getElementsByTagName(this.elementList[r]),i=0;i<u.length;i++){f=u[i],t=parseInt($(f).css("font-size"),10),t+=e*-1,t+=this.currentSizeModifier;if(n<0&&t<=this.minFontSize||n>0&&t>=this.maxFontSize){this.currentSizeModifier=e;return}}for(r=0;r<this.elementList.length;r++)for(u=o.getElementsByTagName(this.elementList[r]),i=0;i<u.length;i++)f=u[i],t=parseInt($(f).css("font-size"),10),t+=e*-1,t+=this.currentSizeModifier,f.style.fontSize=t+"px"}})}()

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.