Skip to content
Browse files

Added a second element w/o any options

  • Loading branch information...
1 parent 7f5748e commit c263f055ce8073c788ce846927c25b0d07216b05 @fgnass committed
Showing with 14 additions and 3 deletions.
  1. +14 −3 example/jquery.html
View
17 example/jquery.html
@@ -7,7 +7,7 @@
font-family: Helvetica, Arial, sans-serif;
font-size: 16px;
}
- #preview {
+ #preview1 {
background: #aaa;
color: black;
width: 220px;
@@ -16,11 +16,21 @@
float: left;
border-radius: 10px;
}
+ #preview2 {
+ background: #666;
+ color: red;
+ width: 220px;
+ height: 220px;
+ margin: 0 20px;
+ float: left;
+ border-radius: 10px;
+ }
</style>
</head>
<body>
-<div id="preview"></div>
+<div id="preview1"></div>
+<div id="preview2"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="../spin.js"></script>
@@ -40,7 +50,8 @@
});
return this;
};
- $('#preview').spin({lines: 8});
+ $('#preview1').spin();
+ $('#preview2').spin({color: '#fff'});
</script>
</body>
</html>

0 comments on commit c263f05

Please sign in to comment.
Something went wrong with that request. Please try again.