John Johann wrote: Wed Jan 05, 2022 10:50 am
That's exactly how I have set it -- no joy.
I've now just inserted a normal anchor at the top of the page and link to it. That works fine so it's not really an issue as long as I don't forget

.
Oops, thanks for reporting this. I only did a quick check in WebHelp, since it's the same code. It's a problem with script links with some kinds of content in eWriter. The Windows WebView component apparently doesn't like script links with a certain kind of characters in them. Here's how to solve this:
Edit the hm_webhelp.js file in the skin and locate this line of code:
Code: Select all
jQuery.cachedScript = function( url, options ) {
Then add this code directly ABOVE it:
Code: Select all
// Scroll to top for script link use
var ScrollTop = function() {
hmpage.$scrollBox.scrollTo(0,600);
}
Then for your script links to scroll to the top use:
I'm going to add the ScrollTop function to the scripts in the next update, so you will be able to go on using it without any changes.
