Develop.js

From MidasWiki
Revision as of 22:00, 30 October 2026 by Bsmith (talk | contribs) (The midas documentation has moved to https://midas.triumf.ca/docs/)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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: