mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
02033262ee
Move to using element stats rather then js class states remove ui-button-text spans. Removed button set
68 lines
1.4 KiB
HTML
68 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Button Visual Test</title>
|
|
<link rel="stylesheet" href="../../../themes/base/all.css">
|
|
<script src="../../../external/requirejs/require.js"></script>
|
|
<script src="../../../demos/bootstrap.js">
|
|
$( ".buttons" ).each(function() {
|
|
$( this ).children()
|
|
.eq( 0 )
|
|
.button({
|
|
showLabel: false,
|
|
icon: "ui-icon-help"
|
|
})
|
|
.end()
|
|
.eq( 1 )
|
|
.button({
|
|
icon: "ui-icon-help",
|
|
disabled: true
|
|
})
|
|
.end()
|
|
.eq( 2 )
|
|
.button();
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="buttons">
|
|
<button>button</button>
|
|
<button>button</button>
|
|
<button>button</button>
|
|
</div>
|
|
|
|
<div class="buttons">
|
|
<button type="button">button button</button>
|
|
<button type="button">button button</button>
|
|
<button type="button">button button</button>
|
|
</div>
|
|
|
|
<div class="buttons">
|
|
<button type="submit">button submit</button>
|
|
<button type="submit">button submit</button>
|
|
<button type="submit">button submit</button>
|
|
</div>
|
|
|
|
<div class="buttons">
|
|
<input type="button" value="input button">
|
|
<input type="button" value="input button">
|
|
<input type="button" value="input button">
|
|
</div>
|
|
|
|
<div class="buttons">
|
|
<input type="submit" value="input submit">
|
|
<input type="submit" value="input submit">
|
|
<input type="submit" value="input submit">
|
|
</div>
|
|
|
|
<div class="buttons">
|
|
<a href="#">anchor</a>
|
|
<a href="#">anchor</a>
|
|
<a href="#">anchor</a>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|