1 2 3 4 5 6/* 7 FILE ARCHIVED ON 22:43:34 Oct 5, 2013 AND RETRIEVED FROM THE 8 INTERNET ARCHIVE ON 22:16:14 Mar 20, 2017. 9 JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. 10 11 ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. 12 SECTION 108(a)(3)). 13*/ 14/* 15articlepxfontsize_j15 - Plugin Article px Font Size for Joomla! 1.5x 16author karmany 17copyright (C) 2011 by karmany (../../../) 18license GNU/GPLv3 ../../../licenses/gpl-3.0.html 19 20Please retain this copyright notice. 21You can use this code if this copyright notice are included 22*/ 23 24//Los tags que seran modificados: 25var tgs = new Array( 'div', 'p', 'tr', 'td', 'table', 'ul', 'ol'); 26var sz = new Array(); 27var size_inicial = 9; 28 29function sz_default (por_defecto,contador){ 30 //Reinicializa la variable sz y guardamos dato 31 sz[contador] = por_defecto; 32 size_inicial = por_defecto; 33} 34 35function modify_size(busca,inc,contador) { 36 37 var doc = document,eldoc = null,busca_tgs,i,j; 38 39 if (inc == 0) 40 { 41 sz[contador] = size_inicial; 42 } 43 else 44 { 45 sz[contador] += inc; 46 if ( sz[contador] < 6 ) sz[contador] = 6; 47 if ( sz[contador] > 21 ) sz[contador] = 21; 48 } 49 busca = busca + contador; 50 //Buscamos el div con Id 51 if (!(eldoc = doc.getElementById(busca))) return; 52 eldoc.style.fontSize = sz[contador]+'px'; 53 54 for (i=0; i<tgs.length; i++) 55 { 56 busca_tgs = eldoc.getElementsByTagName( tgs[i] ); 57 for (j=0; j<busca_tgs.length; j++) busca_tgs[j].style.fontSize = sz[contador]+'px'; 58 } 59}
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.