<html>
<head>
<meta charset="utf-8">
<title>Dropdown test page</title>
<link rel="stylesheet" href="//aui-cdn.atlassian.com/aui-adg/5.8.3/css/aui.css" media="all">
<link rel="stylesheet" href="//aui-cdn.atlassian.com/aui-adg/5.8.3/css/aui-experimental.css" media="all">
<script src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.14/require.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="//aui-cdn.atlassian.com/aui-adg/5.8.3/js/aui.js"></script>
<script src="//aui-cdn.atlassian.com/aui-adg/5.8.3/js/aui-experimental.js"></script>
</head>
<body>
<div style="padding: 20px;">
<h1>AUI Dropdown test page</h1>
<p>
<button class="aui-button aui-dropdown2-trigger" aria-controls="test-dropdown0" aria-haspopup="true" role="button">Account menu</button>
<div id="test-dropdown0" class="aui-dropdown2 aui-style-default" role="menu" aria-hidden="true">
<div role="application">
<div role="presentation" class="aui-dropdown2-section">
<strong role="presentation" class="aui-dropdown2-heading">Your account</strong>
<div role="group" aria-label="Your account">
<ul role="presentation">
<li role="presentation">
<a role="menuitem" href="#ViewProfile">View profile</a>
</li>
<li role="presentation">
<a role="button" class="aui-dropdown2-sub-trigger" aria-controls="sean" href="#Status">Status</a>
<div id="sean" class="aui-dropdown2 aui-style-default" role="menu" aria-hidden="true">
<div role="application">
<div role="presentation" class="aui-dropdown2-section">
<strong role="presentation" class="aui-dropdown2-heading">Status</strong>
<div role="group" aria-label="Status">
<ul role="presentation">
<li role="presentation">
<span role="menuitemradio" class="aui-dropdown2-radio aui-dropdown2-checked aui-dropdown2-interactive">Online</span>
</li>
<li role="presentation">
<span role="menuitemradio" class="aui-dropdown2-radio aui-dropdown2-interactive">Away</span>
</li>
<li role="presentation">
<span role="menuitemradio" class="aui-dropdown2-radio aui-dropdown2-interactive">Do not disturb</span>
</li>
<li role="presentation">
<span role="menuitemradio" class="aui-dropdown2-radio aui-dropdown2-interactive">Appear offline</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</li>
<li role="presentation">
<a role="menuitem" class="aui-dropdown2-disabled" href="#LogOut" aria-disabled="true">Log out</a>
</li>
</ul>
</div>
</div>
<div role="presentation" class="aui-dropdown2-section">
<strong role="presentation" class="aui-dropdown2-heading">Operating system</strong>
<div role="group" aria-label="Operating system">
<ul role="presentation">
<li role="presentation">
<span role="menuitemradio" class="aui-dropdown2-radio aui-dropdown2-checked aui-dropdown2-interactive">OSX</span>
</li>
<li role="presentation">
<span role="menuitemradio" class="aui-dropdown2-radio aui-dropdown2-interactive">Windows</span>
</li>
<li role="presentation">
<span role="menuitemradio" class="aui-dropdown2-radio aui-dropdown2-interactive">iOS</span>
</li>
<li role="presentation">
<span role="menuitemradio" class="aui-dropdown2-radio aui-dropdown2-disabled aui-dropdown2-interactive">Linux</span>
</li>
</ul>
</div>
</div>
<div role="presentation" class="aui-dropdown2-section">
<strong role="presentation" class="aui-dropdown2-heading">Installed browsers</strong>
<div role="group" aria-label="Installed browsers">
<ul role="presentation">
<li role="presentation">
<span role="menuitemcheckbox" class="aui-dropdown2-checkbox aui-dropdown2-checked aui-dropdown2-interactive">Chrome</span>
</li>
<li role="presentation">
<span role="menuitemcheckbox" class="aui-dropdown2-checkbox aui-dropdown2-interactive">Firefox</span>
</li>
<li role="presentation">
<span role="menuitemcheckbox" class="aui-dropdown2-checkbox aui-dropdown2-disabled aui-dropdown2-interactive">Internet Explorer</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</p>
</div>
</body>
</html>
Output
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. |