How to move scroll to pages?
Posted: Thu Nov 05, 2015 12:37 pm
Dear Support Team,
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
but the problem Tables variable dosen't retrive those tables.
My question can you catch with me what is problem, or if you have any alternative way to make this job.
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.