r729 - branches/1.7/tests branches/1.7/tests/visual branches/experimental/autotest branches/exper...
Author: rdworth
Date: Sat Sep 20 10:30:51 2008
New Revision: 729
Modified:
branches/1.7/tests/datepicker.html
branches/1.7/tests/grid.html
branches/1.7/tests/visual/grid.html
branches/experimental/autotest/autodrag.html
branches/experimental/demos/accordion/index.html
branches/experimental/demos/accordion/nested.html
branches/experimental/demos/uploader/demo1/index.html
branches/experimental/demos/uploader/demo2/index.html
branches/experimental/demos/uploader/index.html
branches/experimental/layouts/layout.html
branches/experimental/rte/index.html
branches/experimental/rte/index_w_toolbars.html
branches/experimental/tests/auto.html
branches/experimental/tests/auto_2.html
branches/experimental/tests/blurtext.html
branches/experimental/tests/cropimage.html
branches/experimental/tests/demo.html
branches/experimental/tests/emboss.html
branches/experimental/tests/form.html
branches/experimental/tests/menu.html
branches/experimental/tests/modal.html
branches/experimental/tests/progress.html
branches/experimental/tests/toaster.html
branches/experimental/tests/toasterLite.html
branches/experimental/tests/toolbar.html
branches/experimental/tests/tree.html
branches/paul/webkit/depth/index.html
branches/paul/webkit/rotate/index.html
trunk/demos/functional/index.html
trunk/demos/real-world/accordion-drawers/index.html
trunk/demos/real-world/effects/index.html
trunk/demos/real-world/image-cropper/index.html
trunk/demos/real-world/photo-manager/index.html
trunk/demos/real-world/product-slider/index.html
trunk/demos/real-world/range-interface/index.html
trunk/demos/real-world/splitpane/index.html
trunk/tests/accordion.html
trunk/tests/all.html
trunk/tests/all_2.html
trunk/tests/autocomplete.html
trunk/tests/core.html
trunk/tests/datepicker.html
trunk/tests/dialog.html
trunk/tests/draggable.html
trunk/tests/progressbar.html
trunk/tests/resizable.html
trunk/tests/selectable.html
trunk/tests/slider.html
trunk/tests/sortable.html
trunk/tests/spinner.html
trunk/tests/visual/all.html
trunk/tests/visual/autocomplete/index.html
trunk/tests/visual/colorpicker.html
trunk/tests/visual/datepicker.html
trunk/tests/visual/dialog.html
trunk/tests/visual/draggable.handle.html
trunk/tests/visual/draggable.html
trunk/tests/visual/droppable.html
trunk/tests/visual/effects.all.html
trunk/tests/visual/magnifier.html
trunk/tests/visual/progressbar.html
trunk/tests/visual/resizable.html
trunk/tests/visual/selectable.html
trunk/tests/visual/slider.html
trunk/tests/visual/sortable.html
trunk/tests/visual/sortable_massive_scale.html
trunk/tests/visual/spinner.html
trunk/tests/visual/tree.html
Log:
HTML5 doctype
Modified: branches/1.7/tests/datepicker.html
==============================================================================
--- branches/1.7/tests/datepicker.html (original)
+++ branches/1.7/tests/datepicker.html Sat Sep 20 10:30:51 2008
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker Test Suite</title>
Modified: branches/1.7/tests/grid.html
==============================================================================
--- branches/1.7/tests/grid.html (original)
+++ branches/1.7/tests/grid.html Sat Sep 20 10:30:51 2008
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Sortable Test Suite</title>
Modified: branches/1.7/tests/visual/grid.html
==============================================================================
--- branches/1.7/tests/visual/grid.html (original)
+++ branches/1.7/tests/visual/grid.html Sat Sep 20 10:30:51 2008
@@ -1,6 +1,5 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
+<!doctype html>
+<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>grid</title>
Modified: branches/experimental/autotest/autodrag.html
==============================================================================
--- branches/experimental/autotest/autodrag.html (original)
+++ branches/experimental/autotest/autodrag.html Sat Sep 20 10:30:51 2008
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
<title>jQuery UI - Automated Tests</title>
Modified: branches/experimental/demos/accordion/index.html
==============================================================================
--- branches/experimental/demos/accordion/index.html (original)
+++ branches/experimental/demos/accordion/index.html Sat Sep 20 10:30:51
2008
@@ -1,12 +1,11 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
+<!doctype html>
+<html lang="en">
<head>
<title>jQuery UI Accordion</title>
<link rel="stylesheet" href="demo.css" />
- <script type="text/javascript"
src="../../../jquery/jquery-1.2.5.js"></script>
+ <script type="text/javascript"
src="../../../jquery/jquery-1.2.5.js"></script>
<script type="text/javascript" src="js/chili-1.7.pack.js"></script>
<script type="text/javascript" src="js/jquery.easing.js"></script>
@@ -14,7 +13,7 @@
<script type="text/javascript"
src="../../../ui/source/ui.accordion.js"></script>
<script type="text/javascript">
- jQuery().ready(function(){
+ jQuery().ready(function(){
// simple accordion
jQuery('#list1a').accordion();
jQuery('#list1b').accordion({
@@ -25,7 +24,7 @@
jQuery('#navigation').accordion({
active: false,
header: '.head',
- navigation: true,
+ navigation: true,
event: 'mouseover',
fillSpace: true,
animated: 'easeslide'
@@ -38,7 +37,7 @@
selectedClass: 'active',
animated: "bounceslide",
header: "dt"
- }).bind("changeaccordion", function(event, ui) {
+ }).bind("changeaccordion", function(event, ui) {
jQuery('<div>' + ui.oldHeader.text() + ' hidden, ' +
ui.newHeader.text() + ' shown</div>').appendTo('#log');
});
@@ -49,27 +48,27 @@
alwaysOpen: false,
animated: false,
autoHeight: false
- });
-
- var wizard = $("#wizard").accordion({
- header: '.title',
- event: false
- });
+ });
+
+ var wizard = $("#wizard").accordion({
+ header: '.title',
+ event: false
+ });
- var wizardButtons = $([]);
- $("div.title", wizard).each(function(index) {
+ var wizardButtons = $([]);
+ $("div.title", wizard).each(function(index) {
wizardButtons = wizardButtons.add($(this)
.next()
.children(":button")
.filter(".next, .previous")
- .click(function() {
- wizard.accordion("activate", index + ($(this).is(".next") ? 1 : -1))
- }));
- });
+ .click(function() {
+ wizard.accordion("activate", index + ($(this).is(".next") ? 1 : -1))
+ }));
+ });
// bind to change event of select to control first and seconds accordion
- // similar to tab's plugin triggerTab(), without an extra method
- var accordions = jQuery('#list1a, #list1b, #list2, #list3, #navigation,
#wizard');
+ // similar to tab's plugin triggerTab(), without an extra method
+ var accordions = jQuery('#list1a, #list1b, #list2, #list3, #navigation,
#wizard');
jQuery('#switch select').change(function() {
accordions.accordion("activate", this.selectedIndex-1 );
@@ -79,52 +78,52 @@
});
jQuery('#switch2').change(function() {
accordions.accordion("activate", this.value);
- });
- jQuery('#enable').click(function() {
- accordions.accordion("enable");
- });
- jQuery('#disable').click(function() {
- accordions.accordion("disable");
- });
- jQuery('#remove').click(function() {
+ });
+ jQuery('#enable').click(function() {
+ accordions.accordion("enable");
+ });
+ jQuery('#disable').click(function() {
+ accordions.accordion("disable");
+ });
+ jQuery('#remove').click(function() {
accordions.accordion("destroy");
- wizardButtons.unbind("click");
- });
+ wizardButtons.unbind("click");
+ });
});
</script>
</head>
-<body>
-
+<body>
+
<h1 id="banner"><a
href="http://bassistance.de/jquery-plugins/jquery-plugin-accordion/">jQuery
accordion Plugin</a> Demo</h1>
-<div id="main">
-
- <fieldset>
+<div id="main">
+
+ <fieldset>
<legend>Standard, container is a div, header is h3 and content div and
nested p</legend>
-
- <h3>Code</h3>
- <pre><code class="mix">jQuery('#list1a').accordion();
-jQuery('#list1b').accordion({
- autoHeight: false
-});</code></pre>
- <div class="basic" style="float:left;" id="list1a">
+ <h3>Code</h3>
+ <pre><code class="mix">jQuery('#list1a').accordion();
+jQuery('#list1b').accordion({
+ autoHeight: false
+});</code></pre>
+
+ <div class="basic" style="float:left;" id="list1a">
<a>There is one obvious advantage:</a>
<div>
You've seen it coming!<br/>
Buy now and get nothing for free!<br/>
Well, at least no free beer. Perhaps a bear,<br/>
- if you can afford it.
+ if you can afford it.
- </div>
+ </div>
<a>Now that you've got...</a>
<div>
your bear, you have to admit it!<br/>
No, we aren't selling bears.
- </div>
+ </div>
<a>Rent one bear, ...</a>
<div>
@@ -139,7 +138,7 @@
And now, for something completely different.<br/>
And now, for something completely different.<br/>
And now, for something completely different.<br/>
- Period.
+ Period.
</div>
</div>
@@ -179,66 +178,66 @@
</div>
</div>
-
- </fieldset>
-
- <fieldset>
- <legend>Navigation - Unordered List with anchors and nested
lists.</legend>
- Location-based state-saving: The active element is choosen based on
location.hash: Click one of the links, then reload the page to see it in
action.
-
- <h3>Code</h3>
- <pre><code class="mix">jQuery('#navigation').accordion({
- active: false,
- header: '.head',
- navigation: true,
- event: 'mouseover',
- fillSpace: true,
- animated: 'easeslide'
-});</code></pre>
- <div style="height:250px;margin-bottom:1em;">
- <ul id="navigation">
- <li>
- <a class="head" href="?p=1.1.1">Guitar</a>
- <ul>
- <li><a href="?p=1.1.1.1">Electric</a></li>
- <li><a href="?p=1.1.1.2">Acoustic</a></li>
- <li><a href="?p=1.1.1.3">Amps</a></li>
- <li><a href="?p=1.1.1.4.1">Effects A</a></li>
- <li><a href="?p=1.1.1.4.2">Effects B</a></li>
- <li><a href="?p=1.1.1.4.3">Effects C</a></li>
- <li><a href="?p=1.1.1.4.4">Effects D</a></li>
- <li><a href="?p=1.1.1.5">Accessories</a></li>
- </ul>
- </li>
- <li>
- <a class="head" href="?p=1.1.2">Bass</a>
- <ul>
- <li><a href="?p=1.1.2.1">Electric</a></li>
- <li><a href="?p=1.1.2.2">Acoustic</a></li>
- <li><a href="?p=1.1.2.3">Amps</a></li>
- <li><a href="?p=1.1.2.4">Effects</a></li>
- <li><a href="?p=1.1.2.5">Accessories</a></li>
- </ul>
- </li>
- <li>
- <a class="head" href="?p=1.1.3">Drums</a>
- <ul>
- <li><a href="?p=1.1.3.2">Acoustic Drums</a></li>
- <li><a href="?p=1.1.3.3">Electronic Drums</a></li>
- <li><a href="?p=1.1.3.4">Cymbals</a></li>
- <li><a href="?p=1.1.3.5">Hardware</a></li>
- <li><a href="?p=1.1.3.6">Accessories</a></li>
- </ul>
- </li>
- </ul>
- </div>
-
+
</fieldset>
-
- <fieldset>
- <legend>With options, container is a definition list, header dt, content
dd</legend>
-
- <h3>Code</h3>
+
+ <fieldset>
+ <legend>Navigation - Unordered List with anchors and nested
lists.</legend>
+ Location-based state-saving: The active element is choosen based on
location.hash: Click one of the links, then reload the page to see it in
action.
+
+ <h3>Code</h3>
+ <pre><code class="mix">jQuery('#navigation').accordion({
+ active: false,
+ header: '.head',
+ navigation: true,
+ event: 'mouseover',
+ fillSpace: true,
+ animated: 'easeslide'
+});</code></pre>
+ <div style="height:250px;margin-bottom:1em;">
+ <ul id="navigation">
+ <li>
+ <a class="head" href="?p=1.1.1">Guitar</a>
+ <ul>
+ <li><a href="?p=1.1.1.1">Electric</a></li>
+ <li><a href="?p=1.1.1.2">Acoustic</a></li>
+ <li><a href="?p=1.1.1.3">Amps</a></li>
+ <li><a href="?p=1.1.1.4.1">Effects A</a></li>
+ <li><a href="?p=1.1.1.4.2">Effects B</a></li>
+ <li><a href="?p=1.1.1.4.3">Effects C</a></li>
+ <li><a href="?p=1.1.1.4.4">Effects D</a></li>
+ <li><a href="?p=1.1.1.5">Accessories</a></li>
+ </ul>
+ </li>
+ <li>
+ <a class="head" href="?p=1.1.2">Bass</a>
+ <ul>
+ <li><a href="?p=1.1.2.1">Electric</a></li>
+ <li><a href="?p=1.1.2.2">Acoustic</a></li>
+ <li><a href="?p=1.1.2.3">Amps</a></li>
+ <li><a href="?p=1.1.2.4">Effects</a></li>
+ <li><a href="?p=1.1.2.5">Accessories</a></li>
+ </ul>
+ </li>
+ <li>
+ <a class="head" href="?p=1.1.3">Drums</a>
+ <ul>
+ <li><a href="?p=1.1.3.2">Acoustic Drums</a></li>
+ <li><a href="?p=1.1.3.3">Electronic Drums</a></li>
+ <li><a href="?p=1.1.3.4">Cymbals</a></li>
+ <li><a href="?p=1.1.3.5">Hardware</a></li>
+ <li><a href="?p=1.1.3.6">Accessories</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+
+ </fieldset>
+
+ <fieldset>
+ <legend>With options, container is a definition list, header dt, content
dd</legend>
+
+ <h3>Code</h3>
<pre><code class="mix">jQuery('#list2').accordion({
event: 'mouseover',
active: '.selected',
@@ -247,7 +246,7 @@
header: "dt"
}).bind("change.ui-accordion", function(event, ui) {
jQuery('<div>' + ui.oldHeader.text() + ' hidden, ' +
ui.newHeader.text() + ' shown</div>').appendTo('#log');
-});</code></pre>
+});</code></pre>
<dl id="list2">
<dt class="red">Red</dt>
@@ -263,20 +262,20 @@
Cool kids are blue.
</dd>
</dl>
-
- </fieldset>
+
+ </fieldset>
- <fieldset>
- <legend>Divitus structure, div container, div header (class title), div
- content, no active on startup and can be completely closed</legend>
-
- <h3>Code</h3>
- <pre><code class="mix">jQuery('#list3').accordion({
- header: 'div.title',
- active: false,
- alwaysOpen: false,
- animated: false,
- autoHeight: false
+ <fieldset>
+ <legend>Divitus structure, div container, div header (class title), div
+ content, no active on startup and can be completely closed</legend>
+
+ <h3>Code</h3>
+ <pre><code class="mix">jQuery('#list3').accordion({
+ header: 'div.title',
+ active: false,
+ &nb