-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
22 lines (22 loc) · 1.01 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/bribes/mobile-obj-parser@master/css/mfobj-style.css"/>
<script src="https://cdn.jsdelivr.net/gh/bribes/mobile-obj-parser@master/mfobj-parser.js" type="text/javascript"></script>
<title>mobile obj parser</title>
</head>
<body>
<p id="example"> help me bro</p>
<p id="tooltip" data-toggle="tooltip" data-content=" help me bro"></p>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="./mfobj-parser.min.js"></script>
<script>
$(document).ready(function() {
$('body').tooltip({ selector: '[data-toggle=tooltip]' });
});
example.innerHTML = mfobj.parse(document.body.innerHTML, {color: "black"});
</script>
</body>
</html>