i have button its function to move scroll to specific page. i see page source there is a tables that contain page with class assign to stiWebViewerPageShadow style. i try to get pages top position throw jquery below
Code: Select all
var TableID = '';
var TableTopPosition = '';
var Tables = jQuery(".stiWebViewerPageShadow");
for (var i = 0; i < Tables.length; i++) {
TableID = 'table[class="stiWebViewerPageShadow"]' + ':eq(' + i + ')'
TableTopPosition = TableTopPosition + ',' + jQuery(TableID).position().top
}
My question can you catch with me what is problem, or if you have any alternative way to make this job.