Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a basic demo

  • Loading branch information...
commit f1b60589f91588630bf974cb433b6e1d20fc0f1a 1 parent bd1fe6b
@jzaefferer authored
Showing with 23 additions and 0 deletions.
  1. +23 −0 demos/index.html
View
23 demos/index.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
+<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
+<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.js"></script>
+<link href="../jquery.nmk.colorswatch.css" rel="stylesheet" type="text/css" />
+<script src="../jquery.nmk.colorswatch.js"></script>
+<meta charset=utf-8 />
+<title>jQuery Colorswatch plugin demo</title>
+<script type="text/javascript">
+ $(function() {
+ $("#foreground, #background").colorswatch({
+ rowSize: 12
+ });
+ });
+</script>
+</head>
+<body>
+ <input id="foreground" />
+ <div style="position: absolute; right: 0" id="background"></div>
+</body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.