30 lines
870 B
HTML
30 lines
870 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>Example</title>
|
|
|
|
<!-- jquery is not used in this example, it's just here to demo the compression -->
|
|
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
|
<!-- the widget -->
|
|
<script type="text/javascript" charset="utf-8" src="js/spectacularwidget.js"></script>
|
|
|
|
<!-- some css -->
|
|
<link rel="stylesheet" type="text/css" href="css/mywidget.css" />
|
|
<link rel="alternate stylesheet" type="text/css" href="css/mywidget.css" />
|
|
<link rel="stylesheet" type="text/css" href="css/more.css" />
|
|
</head>
|
|
<body>
|
|
|
|
<div id="mywidget"></div>
|
|
|
|
<script>
|
|
//widget init
|
|
spectacularwidget(document.getElementById('mywidget'));
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|