<html>
<head>
<title>KendoUI Test Page</title>
<link href="http://cdn.kendostatic.com/2013.1.514/styles/kendo.common.min.css" rel="stylesheet" />
<link href="http://cdn.kendostatic.com/2013.1.514/styles/kendo.default.min.css" rel="stylesheet" />
<link href="http://cdn.kendostatic.com/2013.1.514/styles/kendo.dataviz.min.css" rel="stylesheet" />
<link href="http://cdn.kendostatic.com/2013.1.514/styles/kendo.mobile.all.min.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://cdn.kendostatic.com/2013.1.514/js/kendo.all.min.js"></script>
</head>
<body>
<div data-role="view" id="tabstrip-profile" data-title="Profile" data-layout="mobile-tabstrip">
<ul data-role="listview" data-style="inset" data-type="group">
<li>Profile
<ul>
<li>
<h2>Carine <span>Callahan</span></h2>
<img src="http://demos.kendoui.com/content/mobile/overview/carine.jpg" /></li>
<li>Weekly average sales <span class="sales-up">$ 8,250</span></li>
<li>Monthly average sales <span class="sales-up">$ 32,000</span></li>
</ul>
</li>
<li>Languages
<ul>
<li>English <span class="value">Native</span></li>
<li>Hungarian <span class="value">Advanced</span></li>
<li>French <span class="value">Advanced</span></li>
<li>Chinese <span class="value">Beginner</span></li>
</ul>
</li>
<li>Sales commodity
<ul>
<li>Beverages</li>
<li>Condiments</li>
<li>Confections</li>
<li>Diary Products</li>
<li>Grains/Cereals</li>
<li>Meat/Poultry</li>
<li>Produce</li>
<li>Seafood</li>
</ul>
</li>
<li>PC Skills
<ul>
<li>MS Word</li>
<li>MS Excel</li>
<li>MS Outlook</li>
<li>MS PowerPoint</li>
<li>MS Project</li>
<li>Windows (XP, Vista)</li>
<li>Internet</li>
<li>SAP - Sales and Marketing Module</li>
<li>MS Visual Studio</li>
<li>Adobe Acrobat</li>
<li>CorelDraw</li>
</ul>
</li>
</ul>
</div>
<div data-role="view" id="tabstrip-sales" data-title="Sales History" data-layout="mobile-tabstrip">
<ul data-role="listview" data-style="inset" data-type="group">
<li>Sales 2011
<ul>
<li>January <span class="sales-up">↑ $ 35,000</span></li>
<li>February <span class="sales-down">↓ $ 25,000</span></li>
<li>March <span class="sales-down">↓ $ 23,000</span></li>
<li>April <span class="sales-up">↑ $ 30,000</span></li>
<li>May <span class="sales-up">↑ $ 31,000</span></li>
<li>June <span class="sales-down">↓ $ 29,000</span></li>
<li>July <span class="sales-up">↑ $ 35,000</span></li>
<li>August <span class="sales-up">↑ $ 37,000</span></li>
<li>September <span class="sales-hold">→ $ 37,000</span></li>
<li>October <span class="sales-hold">→ $ 37,000</span></li>
<li>November <span class="sales-up">↑ $ 38,000</span></li>
<li>December <span class="sales-up">↑ $ 40,000</span></li>
</ul>
</li>
</ul>
</div>
<div data-role="view" id="tabstrip-rating" data-title="Rating" data-layout="mobile-tabstrip">
<ul data-role="listview" data-style="inset" data-type="group">
<li>Sales Representatives
<ul>
<li data-icon="toprated">1. Andrew Fuller</li>
<li data-icon="toprated">2. Janet Leverling</li>
<li data-icon="toprated" style="background-color: #3589e7; color: #fff;">3. Carine Callahan</li>
<li data-icon="toprated">4. Margaret Johnson</li>
<li data-icon="toprated">5. Steve Collins</li>
<li data-icon="toprated">6. Maria Steward</li>
</ul>
</li>
</ul>
</div>
<div data-role="view" id="tabstrip-settings" data-title="Settings" data-layout="mobile-tabstrip">
<ul data-role="listview" data-style="inset" data-type="group">
<li>Carine Callahan
<ul>
<li>Notify when online
<input type="checkbox" data-role="switch" checked></li>
<li>Administrator
<input type="checkbox" data-role="switch"></li>
<li>Access to stats
<input type="checkbox" data-role="switch" checked></li>
</ul>
</li>
</ul>
</div>
<div data-role="layout" data-id="mobile-tabstrip">
<header data-role="header">
<div data-role="navbar">
<!--<a class="nav-button" data-align="left" data-role="backbutton">Back</a>-->
<span data-role="view-title"></span>
<a data-align="right" data-role="button" class="nav-button" href="#index">Index</a>
</div>
</header>
<p>TabStrip</p>
<div data-role="footer">
<div data-role="tabstrip">
<a href="#tabstrip-profile" data-icon="contacts">Profile
</a><a href="#tabstrip-sales" data-icon="history">Sales
</a><a href="#tabstrip-rating" data-icon="favorites">Rating
</a><a href="#tabstrip-settings" data-icon="settings">Settings</a>
</div>
</div>
</div>
<style scoped>
#tabstrip-profile h2 {
display: inline-block;
font-size: 1.1em;
margin: 1.5em 0 0 1em;
}
#tabstrip-profile h2 span {
display: block;
clear: both;
font-size: 2em;
margin: .2em 0 0 0;
}
#tabstrip-profile img {
width: 5em;
height: 5em;
float: left;
margin: 1em;
box-shadow: 0 1px 3px #333;
box-shadow: 0 1px 3px #333;
border-radius: 8px;
border-radius: 8px;
}
.sales-down,
.sales-hold,
.sales-up,
.value {
float: right;
}
.sales-up {
color: green;
}
.sales-down {
color: red;
}
.sales-hold {
color: blue;
}
.value {
color: #bbb;
}
</style>
<script>
$(document.body).kendoTouch({
enableSwipe: true,
minXDelta: 20,
swipe: function (e) {
console.log("swipe " + e.direction);
alert("swipe " + e.direction);
if (e.direction == "right") {
if (app.pane.history.length > 1) {
app.navigate("#:back");
}
}
}
});
</script>
<script>
var app = new kendo.mobile.Application(document.body);
</script>
</body>
</html>
Output
300px
You can jump to the latest bin by adding /latest
to your URL
Keyboard 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. |