JOBAD integration
In order to integrate JOBAD into various systems (as TNTBase and MMT), this guide should be followed. Minor modifications need to be made to the served documents which regard
i. The <head> of the document
To the head of the document, some JavaScript source files must be added. The code can be found here:
https://svn.omdoc.org/repos/jomdoc/src/prj/jobad/trunk/core/
<link href="https://svn.omdoc.org/repos/jomdoc/src/jomdoc/trunk/css/omdoc-default.css" type="text/css" rel="stylesheet" />
<link href="https://svn.omdoc.org/repos/jomdoc/src/prj/jobad/trunk/core/css/jobad.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="https://svn.omdoc.org/repos/jomdoc/src/prj/jobad/trunk//css/jqcontextmenu.css" />
<script src="https://svn.omdoc.org/repos/jomdoc/src/prj/jobad/trunk//classpath/jquery-1.3.js" type="text/javascript"></script>
<script src="https://svn.omdoc.org/repos/jomdoc/src/prj/jobad/trunk//classpath/jquery.xmlns.js" type="text/javascript"></script>
<script src="https://svn.omdoc.org/repos/jomdoc/src/prj/jobad/trunk//classpath/jquery-ui.min.js" type="text/javascript"></script>
<script type="text/javascript" src="https://svn.omdoc.org/repos/jomdoc/src/prj/jobad/trunk//classpath/jqcontextmenu.js"></script>
<script src="https://svn.omdoc.org/repos/jomdoc/src/prj/jobad/trunk/core/script/remake/service.js" type="text/javascript"></script>
<script type="text/javascript">
loadModule('_path_to_local_copy_of_jobad_core/script/remake/services', '_name_of_service_to_be_loaded_'); //name of services: folding, latin, definitionLookup
</script>
i. The <body> of the document
Before the end of the </body> tag, the following code should be placed:
<ul id="JOBADcontextMenu" class="jqcontextmenu">
<li><a href="#" class='JOBADcmenu'>Item 1a</a></li>
</ul>
<div id="_jobad_dialog" title="Basic dialog" />
