1/** 2 * Scroll article excerpt 3 * 4 * @package Scroll article excerpt 5 * @subpackage Scroll article excerpt 6 * @version 3.6 7 * @author Gopi Ramasamy 8 * @copyright Copyright (C) 2010 - 2016 www.gopiplus.com, LLC 9 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only 10 * 11 */ 12 13// ------------------------------------------------------------------------------------------------------------------- 14// Lide Demo: http://www.gopiplus.com/extensions/2011/09/scroll-article-excerpt-joomla-module/ 15// Technical Support: http://www.gopiplus.com/extensions/2011/09/scroll-article-excerpt-joomla-module/ 16// ------------------------------------------------------------------------------------------------------------------- 17 18function saevsra_scroll() { 19 saecrs_obj.scrollTop = saecrs_obj.scrollTop + 1; 20 saecrs_scrollPos++; 21 if ((saecrs_scrollPos%saecrs_heightOfElm) == 0) { 22 saecrs_numScrolls--; 23 if (saecrs_numScrolls == 0) { 24 saecrs_obj.scrollTop = '0'; 25 saevsra_content(); 26 } else { 27 if (saecrs_scrollOn == 'true') { 28 saevsra_content(); 29 } 30 } 31 } else { 32 setTimeout("saevsra_scroll();", 20); 33 } 34} 35var saecrs_Num = 0; 36function saevsra_content() { 37 var tmp_vsrp = ''; 38 39 w_vsrp = saecrs_Num - parseInt(saecrs_numberOfElm); 40 if (w_vsrp < 0) { 41 w_vsrp = 0; 42 } else { 43 w_vsrp = w_vsrp%saecrs_array.length; 44 } 45 46 // Show amount of vsrru 47 var elementsTmp_vsrp = parseInt(saecrs_numberOfElm) + 1; 48 for (i_vsrp = 0; i_vsrp < elementsTmp_vsrp; i_vsrp++) { 49 50 tmp_vsrp += saecrs_array[w_vsrp%saecrs_array.length]; 51 w_vsrp++; 52 } 53 54 saecrs_obj.innerHTML = tmp_vsrp; 55 56 saecrs_Num = w_vsrp; 57 saecrs_numScrolls = saecrs_array.length; 58 saecrs_obj.scrollTop = '0'; 59 // start scrolling 60 setTimeout("saevsra_scroll();", 3000); 61}
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.