4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8" />
5 <title>SVG Whiteboard
</title>
7 <style type=
"text/css">
12 background-color: #000000;
26 <script src=
"qrc:/whiteboard/js/libs/json_parse.js" type=
"application/javascript"></script>
27 <script src=
"qrc:/whiteboard/js/libs/jquery-1.4.2.min.js" type=
"application/javascript"></script>
28 <script src=
"qrc:/whiteboard/js/libs/jquery.dataSelector.js" type=
"application/javascript"></script>
29 <script src=
"qrc:/whiteboard/js/libs/base64.js" type=
"application/javascript"></script>
30 <script src=
"qrc:/whiteboard/js/utils.js" type=
"application/javascript"></script>
31 <script src=
"qrc:/whiteboard/js/svgcanvas.js" type=
"application/javascript"></script>
32 <script src=
"qrc:/whiteboard/js/whiteboard.js" type=
"application/javascript"></script>
33 <script src=
"qrc:/whiteboard/js/thumbnail.js" type=
"application/javascript"></script>
34 <script src=
"qrc:/whiteboard/js/maknetowb.js" type=
"application/javascript"></script>
37 <script type=
"text/javascript">
38 $(document
).ready(function () {
39 $(document
)[0].oncontextmenu = function() {return false;}
40 MaknetoWhiteboard
.instance
= new MaknetoWhiteboard( $('#workArea') );
44 // we check document for multiple id - for debug
45 window
.addEventListener("DOMContentLoaded", function() {
46 // Warning Duplicate IDs
47 $('[id]').each(function(){
48 var ids
= $('[id='+this.id
+']');
49 if(ids
.length
>1 && ids
[0]==this)
50 console
.warn('Multiple IDs #'+this.id
);
59 <div id=
"workArea"></div>