Develop.js: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Pagelinks}} = Links = <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3"> * mhttpd MIDAS web server * Custom Page </div> = Introduction =...") |
(The midas documentation has moved to https://midas.triumf.ca/docs/) |
||
| Line 1: | Line 1: | ||
<div style="border: 1px solid #a2a9b1; border-left: 6px solid #f28500; background-color: #fef6e7; padding: 0.5em 1em; margin-bottom: 1em;">'''This is a historical page.''' It is kept for reference, and is no longer updated. The current midas documentation is at [https://midas.triumf.ca/docs/develop/ midas.triumf.ca/docs]. develop.js no longer exists: its functions are now in resources/obsolete.js (see [https://midas.triumf.ca/docs/develop/api/javascript/deprecated/ Deprecated web features]).</div> | |||
{{Pagelinks}} | {{Pagelinks}} | ||
= Links = | = Links = | ||
Latest revision as of 22:00, 30 October 2026
This is a historical page. It is kept for reference, and is no longer updated. The current midas documentation is at midas.triumf.ca/docs. develop.js no longer exists: its functions are now in resources/obsolete.js (see Deprecated web features).
Links
Introduction
develop.js contains javascript function(s) wrappers for developing mhttpd custom pages for MIDAS experiments. Presently it contains only one function, getMouseXY(), which displays the position of the crosshairs if an element with ID="refimg" is defined (see Custom Page Features#Display mouse position).
develop.js is typically served by mhttpd from
$MIDASSYS/resources/develop.js.
<html>
<head>
...
<script type="text/javascript" src="develop.js"></script>
...
</head>
...
</html>
A copy of develop.js can be found here: