Skip to content

Instantly share code, notes, and snippets.

@fidian
Created December 18, 2012 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fidian/4329772 to your computer and use it in GitHub Desktop.
Save fidian/4329772 to your computer and use it in GitHub Desktop.
Test for bug 251
<html><head><title>Test</title>
<!-- jQuery 1.8.x -- using whatever is newest -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<!-- Using the latest from the develop branch -->
<link rel="stylesheet" href="https://raw.github.com/pixelmatrix/uniform/develop/themes/default/css/uniform.default.css" media="screen">
<script src="https://raw.github.com/pixelmatrix/uniform/develop/jquery.uniform.js"></script>
<script>
// Uniform every form element
$(function () {
$('input, select').uniform({
autoHide: false
});
window.setTimeout(function () {
$('.hideMe').removeClass('hideMe');
$.uniform.update();
}, 1000);
});
</script>
<style type="text/css">
.hideMe {
display: none;
}
</style>
</html>
<body>
<!-- This form posts to a request inspector to ensure variables are being sent to the server -->
<form method="post" action="#">
<p>The form should appear here in 1 second.</p>
<div class="hideMe">
<input type="radio" name="r" value="1"> Radio 1<br>
<input type="radio" name="r" value="2"> Radio 2<br>
<select name="s">
<option value="1">Select 1</option>
<option value="2">Select 2</option>
</select>
</div>
</form>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment