Saturday, March 3, 2012

jQuery UI - Dialog

jQuery UI - Dialog
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Mobile-Web-App: jQuery UI Dialog</title>

<link rel="stylesheet" href="http://jqueryui.com/themes/base/jquery.ui.all.css">
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/ui/1.8.18/jquery-ui.js"></script>

<script>
$(function() {
$("#mydialog").dialog();
});
</script>

</head>
<body>
<h1>Mobile-Web-App: jQuery UI Dialog</h1>

<div id="mydialog" title="Mobile-Web-App">
<p>Hello! It's a jQuery UI Dialog</p>
<img src="http://goo.gl/BlQEX"></img>
</div>

</body>
</html>

No comments:

Post a Comment