mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
demo code
This commit is contained in:
40
demo/wikimedia.html
Normal file
40
demo/wikimedia.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<style type="text/css">
|
||||
.results_div {
|
||||
align:center;
|
||||
width:800px; margin:0 auto;
|
||||
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-left: 1px solid #ddd;
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
.result_header {
|
||||
font-weight:bold;
|
||||
background-color: #eee;
|
||||
}
|
||||
.result_div {
|
||||
display:flex;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
.result_title {
|
||||
width:100%;
|
||||
padding:2px;
|
||||
}
|
||||
.result_score {
|
||||
width:80px;
|
||||
padding:2px;
|
||||
text-align:right;
|
||||
|
||||
border-left: 1px solid #ddd;
|
||||
}
|
||||
</style>
|
||||
<script src="wikimedia.js" type='text/javascript'></script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
<script>
|
||||
wm.category.run();
|
||||
</script>
|
||||
</html>
|
||||
Reference in New Issue
Block a user