Skip to content
Permalink
Browse files

Merge branch 'master' of github.com:jquery/jquery-ui

  • Loading branch information
scottgonzalez committed Mar 22, 2010
2 parents 596d1ef + eeda4ea commit 7e79eee1b08b44ec464cab9cac2988f2526b0d2e
@@ -0,0 +1,7 @@
build/dist
docs
.project
*~
*.diff
*.patch
.DS_Store
@@ -1,8 +1,8 @@
jQuery UI Authors (http://ui.jquery.com/about)
jQuery UI Authors (http://jqueryui.com/about)

This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history
and logs, available at http://jquery-ui.googlecode.com/svn/
and logs, available at http://github.com/jquery/jquery-ui

Brandon Aaron
Paul Bakaus (paulbakaus.com)
@@ -0,0 +1,9 @@
[jQuery UI](http://jqueryui.com/) - Interactions and Widgets for the web
================================

jQuery UI provides interactions like Drag and Drop and widgets like Autocomplete, Tabs and Slider and makes these as easy to use as jQuery itself.

If you want to use jQuery UI, go to [jqueryui.com](http://jqueryui.com) to get started. Or visit the [Using jQuery UI Forum](http://forum.jquery.com/using-jquery-ui) for discussions and questions.

If you are interested in helping developing jQuery UI, you are in the right place.
To discuss development with team members and the community, visit the [Developing jQuery UI Forum](http://forum.jquery.com/developing-jquery-ui).
@@ -12,9 +12,10 @@
<script type="text/javascript" src="../../ui/jquery.ui.autocomplete.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<style type="text/css">
.ui-autocomplete-input {
margin: 0;
}
/* TODO shouldn't be necessary */
.ui-button { margin-left: -1px; }
.ui-button-icon-only .ui-button-text { padding: 0.35em; }
.ui-autocomplete-input { margin: 0; padding: 0.48em 0 0.47em 0.45em; }
</style>
<script type="text/javascript">
(function($) {
@@ -55,6 +56,7 @@
})
.addClass("ui-widget ui-widget-content ui-corner-left");
$("<button>&nbsp;</button>")
.attr("title", "Show All Items")
.insertAfter(input)
.button({
icons: {
@@ -82,11 +84,6 @@
$("select").combobox();
});
</script>
<style>
/* TODO shouldn't be necessary */
.ui-button-icon-only .ui-button-text { padding: 0.35em; }
.ui-autocomplete-input { padding: 0.48em 0 0.47em 0.45em; }
</style>
</head>
<body>

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Accordion Visual Test : Accordion</title>
<title>Accordion Visual Test : Default</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.4.2.js"></script>

This file was deleted.

File renamed without changes.
File renamed without changes.
@@ -2,112 +2,22 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Simple Datepicker</title>
<link rel="stylesheet" href="../all.css" type="text/css">
<title>Datepicker Visual Test : Default</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.datepicker.js"></script>
<script type="text/javascript">
$(function() {
// simple datepicker
$('#d1').datepicker();
$('button.disable-d1').click(function(event){
$('#d1').datepicker('disable');
event.preventDefault();
});
$('button.enable-d1').click(function(event){
$('#d1').datepicker('enable');
event.preventDefault();
});
$('button.destroy-d1').click(function(event){
$('#d1').datepicker('destroy');
event.preventDefault();
});

// multi datepicker
$('#d2').datepicker({numberOfMonths: 3, showButtonPanel: true});
$('button.disable-d2').click(function(event){
$('#d2').datepicker('disable');
event.preventDefault();
});
$('button.enable-d2').click(function(event){
$('#d2').datepicker('enable');
event.preventDefault();
});
$('button.destroy-d2').click(function(event){
$('#d2').datepicker('destroy');
event.preventDefault();
});

// inline datepicker
$('#inl').datepicker({minDate: -20, maxDate: '+1M +10D'});
$('button.disable-inl').click(function(event){
$('#inl').datepicker('disable');
event.preventDefault();
});
$('button.enable-inl').click(function(event){
$('#inl').datepicker('enable');
event.preventDefault();
});
$('button.destroy-inl').click(function(event){
$('#inl').datepicker('destroy');
event.preventDefault();
});

// disabled input datepicker
$('#d3').datepicker();

// bottom-right datepicker
$('#d4').datepicker({numberOfMonths: 3});
$('#datepicker').datepicker();
});
</script>
</head>
<body>

<ul class="plugins">
<li class="plugin">
<button class="disable-d1">Disable</button>
<button class="enable-d1">Enable</button>
<button class="destroy-d1">Destroy</button>

Datepicker Simple
<div>
<input type="text" id="d1" />
</div>
</li>
<li class="plugin">
<button class="disable-d2">Disable</button>
<button class="enable-d2">Enable</button>
<button class="destroy-d2">Destroy</button>

Datepicker Multi
<div>
<input type="text" id="d2" />
</div>
</li>
<li class="plugin">
<button class="disable-inl">Disable</button>
<button class="enable-inl">Enable</button>
<button class="destroy-inl">Destroy</button>

Datepicker Inline
<div id="inl"></div>
</li>
<li class="plugin">
Datepicker disabled input
<div>
<input type="text" id="d3" disabled="disabled" />
</div>
</li>
<li class="plugin" style="position: absolute; right: 0; bottom: 0; height: 40px">
Datepicker - positioned bottom-right
<div>
<input type="text" id="d4">
</div>
</li>
</ul>
<div id="datepicker"></div>

</body>
</html>
@@ -0,0 +1,113 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Simple Datepicker</title>
<link rel="stylesheet" href="../all.css" type="text/css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.datepicker.js"></script>
<script type="text/javascript">
$(function() {
// simple datepicker
$('#d1').datepicker();
$('button.disable-d1').click(function(event){
$('#d1').datepicker('disable');
event.preventDefault();
});
$('button.enable-d1').click(function(event){
$('#d1').datepicker('enable');
event.preventDefault();
});
$('button.destroy-d1').click(function(event){
$('#d1').datepicker('destroy');
event.preventDefault();
});

// multi datepicker
$('#d2').datepicker({numberOfMonths: 3, showButtonPanel: true});
$('button.disable-d2').click(function(event){
$('#d2').datepicker('disable');
event.preventDefault();
});
$('button.enable-d2').click(function(event){
$('#d2').datepicker('enable');
event.preventDefault();
});
$('button.destroy-d2').click(function(event){
$('#d2').datepicker('destroy');
event.preventDefault();
});

// inline datepicker
$('#inl').datepicker({minDate: -20, maxDate: '+1M +10D'});
$('button.disable-inl').click(function(event){
$('#inl').datepicker('disable');
event.preventDefault();
});
$('button.enable-inl').click(function(event){
$('#inl').datepicker('enable');
event.preventDefault();
});
$('button.destroy-inl').click(function(event){
$('#inl').datepicker('destroy');
event.preventDefault();
});

// disabled input datepicker
$('#d3').datepicker();

// bottom-right datepicker
$('#d4').datepicker({numberOfMonths: 3});
});
</script>
</head>
<body>

<ul class="plugins">
<li class="plugin">
<button class="disable-d1">Disable</button>
<button class="enable-d1">Enable</button>
<button class="destroy-d1">Destroy</button>

Datepicker Simple
<div>
<input type="text" id="d1" />
</div>
</li>
<li class="plugin">
<button class="disable-d2">Disable</button>
<button class="enable-d2">Enable</button>
<button class="destroy-d2">Destroy</button>

Datepicker Multi
<div>
<input type="text" id="d2" />
</div>
</li>
<li class="plugin">
<button class="disable-inl">Disable</button>
<button class="enable-inl">Enable</button>
<button class="destroy-inl">Destroy</button>

Datepicker Inline
<div id="inl"></div>
</li>
<li class="plugin">
Datepicker disabled input
<div>
<input type="text" id="d3" disabled="disabled" />
</div>
</li>
<li class="plugin" style="position: absolute; right: 0; bottom: 0; height: 40px">
Datepicker - positioned bottom-right
<div>
<input type="text" id="d4">
</div>
</li>
</ul>

</body>
</html>

This file was deleted.

This file was deleted.

0 comments on commit 7e79eee

Please sign in to comment.
You can’t perform that action at this time.