You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
906 B
HTML
34 lines
906 B
HTML
12 years ago
|
<html>
|
||
|
<head>
|
||
|
<link href="bootstrap-magic-button.css" rel="stylesheet">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="display2" style="width: 200px; height:200px; border: 1px solid blue;"></div>
|
||
|
|
||
|
<div id="display1" style="width: 200px; height:200px; border: 1px solid red;">
|
||
|
<p>test adsgdsgds</p>
|
||
|
<br />
|
||
|
|
||
|
<button class="magicBtn" data-image="magicBtn-pin-off.png" data-toggle="magicBtn" data-toggle-image="magicBtn-pin-on.png"/>
|
||
|
<button class="magicBtn" data-image="magicBtn-pin-off.png" data-toggle="magicBtn" data-toggle-image="magicBtn-pin-on.png"/>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<!-- <button class="magicBtn" data-toggle="magicBtn" data-image="magicBtn-pin-off.png" data-toggle-image="magicBtn-pin-on.png"/> -->
|
||
|
|
||
|
|
||
|
|
||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||
|
<script src="bootstrap-magic-button.js"></script>
|
||
|
<script>
|
||
|
$(function () {
|
||
|
$('.magicBtn').magicBtn();
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
</body>
|
||
|
</html>
|