<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="http://www.primestudiosllc.com/css/reset.css" rel="stylesheet" type="text/css" media="screen" />
<link href="http://dev.primestudiosllc.com/riverbank/style.css" rel="stylesheet" type="text/css" media="screen" />
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">google.load("jquery", "1.3.2");google.load("jqueryui", "1.7.2");</script>
<script type="text/javascript" language="javascript" src="http://dev.primestudiosllc.com/riverbank/calendar.js"></script>
<style>
td, th {
border-left: 1px solid #999;
border-bottom: 1px solid #999;
width: 120px;
padding: 10px 0;
text-align: center;
}
table {
border-right: 1px solid #999;
border-top: 1px solid #999;
margin-top:10px;
}
th {
background: #666;
color: #fff;
}
.other-month {
background: #eee;
}
</style>
</head>
<body>
<div style="width:100%; height:50px"></div>
<div id="slider-range-min" style="width:70%; margin:0 auto"></div>
<div style="width:100%; height:30px"></div>
<div id="calendar" style="width:70%; margin:0 auto">
<p>Please enable Javascript to view this calendar.</p>
</div>
</body>
</html>
$(function() {
$("#slider-range-min").slider({
range: "min",
value: 3,
min: 1,
max: 18,
animate: true,
slide: function(event, ui) {
$("#calendar").calendarWidget({
month: (ui.value % 12),
year: 2010 + parseInt(ui.value/12, 10)
});
}
});
$("#calendar").calendarWidget({
month: 2,
year: 2010
})
;});
Output
This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account
Dismiss xKeyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |