HTML Help Builder
scripting errors, single user
Gravatar is a globally recognized avatar based on your email address. scripting errors, single user
  bill
  All
  Jun 5, 2021 @ 10:10am

customer getting various errors; I can't replicate. No one else reporting problem.

obj doesn't support property or method: templates/scripts/jquery/jquery.min.js

jquery is undefined: templates/scripts/jquery/jquery.min.js

line 25, char 2, obj expected: segcalc.chm::/_4ph0lr7yu.htm

_4ph0lr7yu.htm code </>

User's Manual - Segmented Project Planner Help
 	<script src="templates/scripts/jquery/jquery.min.js"></script>	

	 <script src="templates/scripts/highlightjs/highlight.pack.js"></script>
 <link href="templates/scripts/highlightjs/styles/twilight.css" rel="stylesheet" />

<script src="templates/scripts/ww.jquery.min.js"></script>
<script src="templates/scripts/wwhelp.js"></script>

<topictype value="HEADER" />	

<script>		  
$(document).ready( function() {
	helpBuilder.initializeLayout();		  
	// expand all top level topics
	setTimeout( helpBuilder.tocExpandTop, 5);
});
</script>
Gravatar is a globally recognized avatar based on your email address. re: scripting errors, single user
  Rick Strahl
  bill
  Jun 5, 2021 @ 10:52am

Make sure you deployed all of your files and they're not running their browsers with JavaScript disabled...

If you duplicate that's a problem, otherwise use developer tools to see what actual errors you can find in the page. Most likely not finding the libraries, or JS disabled.

Script errors that pop into the browsers suggests they're using Internet Explorer and probably some ancient version of it (not IE10/11) which will also not work. Script errors shouldn't break the page either unless script errors are explicitly turned on. Pages won't work right without script (the TOC on the right won't render), but the topic itself would render even without any JS code executing.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: scripting errors, single user
  bill
  bill
  Jun 6, 2021 @ 11:10am

My install consists of .cnt and .chm files only. User says javascript is enabled. I'll ask re browser version. No scripting errors indicated as same help file displays here with no errors (internet explorer and edge).

Gravatar is a globally recognized avatar based on your email address. re: scripting errors, single user
  Rick Strahl
  bill
  Jun 6, 2021 @ 12:02pm

Most likely an old version of IE. XP or Vista machine?

Min version for IE to work is IE 10. Nobody should be using any version of IE at this point.

+++ Rick ---

© 1996-2024