Skip to content

Instantly share code, notes, and snippets.

@fidian
Created January 8, 2013 22:46
Show Gist options
  • Save fidian/4488742 to your computer and use it in GitHub Desktop.
Save fidian/4488742 to your computer and use it in GitHub Desktop.
Sample page for uniform issue #256
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="themes/default/css/uniform.default.css" type="text/css" media="screen">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="jquery.uniform.js"></script>
</head>
<body>
<a href="#" onclick="alert('link click'); return false;">
<img src="http://mxk.ru/style-admin/images/buttons/save16.png">
</a>
<form method=post action="#" onsubmit="return false">
<button>
<img src="http://mxk.ru/style-admin/images/buttons/save16.png">
</button>
</form>
<script>
$(function(){
$('button').click(function () {
alert('button click');
});
$("input, button, a").uniform();
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment