5,838
edits
Line 515: | Line 515: | ||
The '''webfiles/lib''' folder includes a number of software library items that are needed for the standard web pages included in the MX distribution. | The '''webfiles/lib''' folder includes a number of software library items that are needed for the standard web pages included in the MX distribution. | ||
This is fine if your web site is purely for the provided standard web pages, but if on your web server you also have web pages from third parties, or you have written your own web pages, then you may get conflict because all the library items used by MX are obsolete versions, and in one case MX uses a version of library software withdrawn by its originators due to compile error (so only available form some CDN who provide obsolete versions as its originators insist it must not be used)! | |||
#'''Highstock''' | #'''Highstock''' | ||
#*At the moment, as hinted in previous section, there is an old version of Highstocks included in the '''webfiles/lib''' folder. | #*At the moment, as hinted in previous section, there is an old version of Highstocks included in the '''webfiles/lib''' folder. | ||
Line 520: | Line 523: | ||
#*Be careful if you also load the current version for use on web pages not produced by MX, that the browser does not try to reuse your latest version and not recognise that MX wants an older version. | #*Be careful if you also load the current version for use on web pages not produced by MX, that the browser does not try to reuse your latest version and not recognise that MX wants an older version. | ||
#'''jQuery''' | #'''jQuery''' | ||
#* | #*Be aware that MX distribution is not consistent as different web pages use different obsolete versions of jQuery. | ||
#*#'''gauges.htm''' includes <tt><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script></tt> to load version 1.8.2 from the Google Content Delivery Node | |||
#*#*You will find at the end of this web template, if you bother to read it, some instructions about how you can change that CDN load, but the instruction is neither grammatically correct, nor understandable for me. | |||
#*#'''trends.htm''' includes <tt><script src="lib/jquery/jquery-latest.min.js"></script></tt> to load version 1.9.1 of jQuery loaded from this badly named file, there is nothing ''latest'' about it. | |||
#*#*Ironically, the old version of jQuery that has been selected by MX to be included in the '''webfiles/lib''' folder is the '''only old version that jQuery themselves withdrew, and warn you not to use''' because the error handling content is from a different jQuery version to the correct handling content making the two parts of the code incompatible. In other words, this version only works if everything is set up correctly and no error handling is invoked. | |||
##* | |||
##*Ironically, the old version of jQuery that has been selected to be included in the '''webfiles/lib''' folder is the '''only old version that jQuery themselves warn you not to use''' because | |||
= The provided web pages = | = The provided web pages = |
edits