forked from mathquill/mathquill
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.php
30 lines (30 loc) · 1.25 KB
/
test.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="src/main.css" type="text/css"/>
<link rel="stylesheet" href="mathquilled.css" type="text/css"/>
<!--[if lte IE 7]>
<style style="text/css">
.mathquill-editable.empty { width: 0.5em; }
.mathquill-rendered-math { min-width: 1.0em;}
.mathquill-rendered-math .numerator.empty, .mathquill-rendered-math .empty { padding: 0 0.25em;}
.mathquill-rendered-math sup { line-height: .9em; }
.mathquill-rendered-math .numerator {float: left; padding: 0; margin-bottom: 0;}
.mathquill-rendered-math .denominator { clear: both;width: auto;float: left;}
.mathquill-rendered-math .sqrt-prefix { margin-right: 0px !important;}
</style>
<![endif]-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
<script src="mathquill.php" type="text/javascript"></script>
<script src="AMtoMQ.js" type="text/javascript"></script>
<script src="mathquilled.js" type="text/javascript"></script>
</head>
<body>
<p>Click in the box, click the yellow arrow to open MathQuill</p>
<p><input type="text" class="use-mathquill" id="qn01" onfocus="showeedd('qn01',3,'int');" onblur="hideeedd()" /> </p>
<p style="font-family: Symbola">Whee</p>
<?php
require("mathquilled.html");
?>
</body>
</html>