Skip to content

Instantly share code, notes, and snippets.

@libbyschuknight
Last active August 29, 2015 14:26
Show Gist options
  • Save libbyschuknight/18d207f983dca8a29b18 to your computer and use it in GitHub Desktop.
Save libbyschuknight/18d207f983dca8a29b18 to your computer and use it in GitHub Desktop.
.ui-widget-header,.ui-state-default, ui-button{
background:#b9cd6d;
border: 1px solid #b9cd6d;
color: #FFFFFF;
font-weight: bold;
}
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="app.css">
<link href="http://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script type="text/javascript"src="app.js"></script>
<title>Alert</title>
</head>
<body>
<div id="dialog-1" title="Dialog Title goes here...">This my first jQuery UI Dialog!</div>
<button id="opener">Open Dialog</button>
</body>
</html>
$("<div>Connor you are the WINNER!!!</div>").dialog();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment