Search and Top Navigation
Ticket #4589: dialog_issue.html
File dialog_issue.html, 4.6 KB (added by kharpoh, June 09, 2009 07:38PM UTC)
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>jQuery UI Example Page</title>
<link type="text/css" href="css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript">
$(function() {
// Dialog
$('#dialog').dialog({
autoOpen: false,
modal: true,
width: 600,
buttons: {
"Ok": function() {
$(this).dialog("close");
},
"Cancel": function() {
$(this).dialog("close");
}
}
});
// Dialog Link
$('#dialog_link').click(function() {
$('#dialog').dialog('open');
return false;
});
});
</script>
<style type="text/css">
/*demo page css*/body
{
font: 62.5% "Trebuchet MS" , sans-serif;
margin: 50px;
}
.demoHeaders
{
margin-top: 2em;
}
#dialog_link
{
padding: .4em 1em .4em 20px;
text-decoration: none;
position: relative;
}
#dialog_link span.ui-icon
{
margin: 0 5px 0 0;
position: absolute;
left: .2em;
top: 50%;
margin-top: -8px;
}
ul#icons
{
margin: 0;
padding: 0;
}
ul#icons li
{
margin: 2px;
position: relative;
padding: 4px 0;
cursor: pointer;
float: left;
list-style: none;
}
ul#icons span.ui-icon
{
float: left;
margin: 0 4px;
}
</style>
</head>
<body>
<h1>
Welcome to jQuery UI!</h1>
<p style="font-size: 1.3em; line-height: 1.5; margin: 1em 0; width: 50%;">
This page demonstrates the widgets you downloaded using the theme you selected in
the download builder. We've included and linked to minified versions of <a href="js/jquery-1.3.2.min.js">
jQuery</a>, your personalized copy of <a href="js/jquery-ui-1.7.2.custom.min.js">jQuery
UI (js/jquery-ui-1.7.2.custom.min.js)</a>, and <a href="css/smoothness/jquery-ui-1.7.2.custom.css">
css/smoothness/jquery-ui-1.7.2.custom.css</a> which imports the entire
jQuery UI CSS Framework. You can choose to link a subset of the CSS Framework depending
on your needs.
</p>
<p style="font-size: 1.2em; line-height: 1.5; margin: 1em 0; width: 50%;">
You've downloaded components and a theme that are compatible with jQuery 1.3+. Please
make sure you are using jQuery 1.3+ in your production environment. <em>If you need
jQuery UI components that work with an earlier version of jQuery, you can choose
an older version in the <a href="http://jqueryui.com/download">jQuery UI download builder</a>.</em></p>
<p style="font-weight: bold; margin: 2em 0 1em; font-size: 1.3em;">
YOUR COMPONENTS:</p>
<!-- Dialog NOTE: Dialog is not generated by UI in this demo so it can be visually styled in themeroller-->
<h2 class="demoHeaders">
Dialog</h2>
<p>
<a href="#" id="dialog_link" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-newwin">
</span>Open Dialog</a></p>
<!-- ui-dialog -->
<div id="dialog" title="Dialog Title">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<form>
<input type="radio" id="radio1" name="radio1" value="1" />1
<input type="radio" id="radio1" name="radio1" value="2" />2
<input type="radio" id="radio1" name="radio1" value="3" />3
<br />
<input type="checkbox" id="checkbox1" value="1" />1
<input type="checkbox" id="checkbox2" value="2" />2
<input type="checkbox" id="checkbox3" value="3" />3
</form>
</div>
</body>
</html>
Download in other formats:
Original Format
File dialog_issue.html, 4.6 KB (added by kharpoh, June 09, 2009 07:38PM UTC)
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>jQuery UI Example Page</title>
<link type="text/css" href="css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript">
$(function() {
// Dialog
$('#dialog').dialog({
autoOpen: false,
modal: true,
width: 600,
buttons: {
"Ok": function() {
$(this).dialog("close");
},
"Cancel": function() {
$(this).dialog("close");
}
}
});
// Dialog Link
$('#dialog_link').click(function() {
$('#dialog').dialog('open');
return false;
});
});
</script>
<style type="text/css">
/*demo page css*/body
{
font: 62.5% "Trebuchet MS" , sans-serif;
margin: 50px;
}
.demoHeaders
{
margin-top: 2em;
}
#dialog_link
{
padding: .4em 1em .4em 20px;
text-decoration: none;
position: relative;
}
#dialog_link span.ui-icon
{
margin: 0 5px 0 0;
position: absolute;
left: .2em;
top: 50%;
margin-top: -8px;
}
ul#icons
{
margin: 0;
padding: 0;
}
ul#icons li
{
margin: 2px;
position: relative;
padding: 4px 0;
cursor: pointer;
float: left;
list-style: none;
}
ul#icons span.ui-icon
{
float: left;
margin: 0 4px;
}
</style>
</head>
<body>
<h1>
Welcome to jQuery UI!</h1>
<p style="font-size: 1.3em; line-height: 1.5; margin: 1em 0; width: 50%;">
This page demonstrates the widgets you downloaded using the theme you selected in
the download builder. We've included and linked to minified versions of <a href="js/jquery-1.3.2.min.js">
jQuery</a>, your personalized copy of <a href="js/jquery-ui-1.7.2.custom.min.js">jQuery
UI (js/jquery-ui-1.7.2.custom.min.js)</a>, and <a href="css/smoothness/jquery-ui-1.7.2.custom.css">
css/smoothness/jquery-ui-1.7.2.custom.css</a> which imports the entire
jQuery UI CSS Framework. You can choose to link a subset of the CSS Framework depending
on your needs.
</p>
<p style="font-size: 1.2em; line-height: 1.5; margin: 1em 0; width: 50%;">
You've downloaded components and a theme that are compatible with jQuery 1.3+. Please
make sure you are using jQuery 1.3+ in your production environment. <em>If you need
jQuery UI components that work with an earlier version of jQuery, you can choose
an older version in the <a href="http://jqueryui.com/download">jQuery UI download builder</a>.</em></p>
<p style="font-weight: bold; margin: 2em 0 1em; font-size: 1.3em;">
YOUR COMPONENTS:</p>
<!-- Dialog NOTE: Dialog is not generated by UI in this demo so it can be visually styled in themeroller-->
<h2 class="demoHeaders">
Dialog</h2>
<p>
<a href="#" id="dialog_link" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-newwin">
</span>Open Dialog</a></p>
<!-- ui-dialog -->
<div id="dialog" title="Dialog Title">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<form>
<input type="radio" id="radio1" name="radio1" value="1" />1
<input type="radio" id="radio1" name="radio1" value="2" />2
<input type="radio" id="radio1" name="radio1" value="3" />3
<br />
<input type="checkbox" id="checkbox1" value="1" />1
<input type="checkbox" id="checkbox2" value="2" />2
<input type="checkbox" id="checkbox3" value="3" />3
</form>
</div>
</body>
</html>