]> source.dussan.org Git - jquery-ui.git/commitdiff
Fix various issues in our html files, first batch
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 23 Apr 2012 16:29:18 +0000 (18:29 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 23 Apr 2012 16:29:35 +0000 (18:29 +0200)
demos/autocomplete/custom-data.html
demos/demos.css
demos/draggable/snap-to.html
demos/index.html
demos/menu/topalignmenu.html
demos/position/cycler.html
demos/sortable/empty-lists.html
demos/tooltip/custom-content.html

index c04c6905ab7acc07f3a9046223986552af39584d..8f6eaa633f356d8474ad53bdef2a85212e4e4160 100644 (file)
@@ -79,7 +79,7 @@
 
 <div class="demo">
        <div id="project-label">Select a project (type "j" for a start):</div>
-       <img id="project-icon" src="images/transparent_1x1.png" class="ui-state-default">
+       <img id="project-icon" src="images/transparent_1x1.png" class="ui-state-default" alt="">
        <input id="project">
        <input type="hidden" id="project-id">
        <p id="project-description"></p>
index cf6da8bd16de4a52d715402f675a092e8eb38f67..807d025b57af0d9818ba5b45b6d03517b91d638c 100644 (file)
@@ -18,6 +18,8 @@ body {
 
 .layout-grid {
        width: 960px;
+       border-spacing: 0;
+       border-collapse: collapse;
 }
 
 .layout-grid td {
index 320cb7947b8db3d1b084fcfe3071c658de469667..a0f38f866864fb51c1709734f1dd83d2acbc80b4 100644 (file)
 <body>
 
 <div class="demo">
-       
+
 <div id="snaptarget" class="ui-widget-header">
        <p>I'm a snap target</p>
 </div>
 
-<br clear="both" />
+<br style="clear:both" />
 
 <div id="draggable" class="draggable ui-widget-content">
        <p>Default (snap: true), snaps to all other draggable elements</p>
index f96753d372216aec56beb3933b6f2c83106af107..678c9961f048b821fc5f50ff095134d3d44bbccf 100644 (file)
 </head>
 <body>
 
-<table class="layout-grid" cellspacing="0" cellpadding="0">
+<table class="layout-grid">
        <tr>
                <td class="left-nav">
                        <dl class="demos-nav">
index deb8fbb6f0af1d717812ace1636a1097e383e95f..42721fe9decec4cb60e4139541aef8d051a1b08b 100644 (file)
@@ -1,15 +1,16 @@
 <!doctype html>
 <html>
 <head>
+       <meta charset="UTF-8" />
        <title>Menu Demo: Top-aligned Menu</title>
-       <link rel="stylesheet" href="../demos.css" type="text/css" />
-       <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
-       <script type="text/javascript" src="../../jquery-1.7.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.position.js"></script>
-       <script type="text/javascript" src="../../ui/jquery.ui.menu.js"></script>
-       <script type="text/javascript">
+       <link type="text/css" href="../demos.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
+       <script src="../../jquery-1.7.2.js"></script>
+       <script src="../../ui/jquery.ui.core.js"></script>
+       <script src="../../ui/jquery.ui.widget.js"></script>
+       <script src="../../ui/jquery.ui.position.js"></script>
+       <script src="../../ui/jquery.ui.menu.js"></script>
+       <script>
        $(function() {
                $("#topMenu").menu({
                        position: { of: "ul:has(a.ui-state-focus):last" }
index 084b10fc10bd60aa6200765a5da798db3b93b792..490d88fcb78f889e1c08689560e9bbd50172ec08 100644 (file)
 
 <div class="demo">
 
-<img src="images/earth.jpg" width="458" height="308" />
-<img src="images/flight.jpg" width="512" height="307" />
-<img src="images/rocket.jpg" width="300" height="353" />
+<img src="images/earth.jpg" width="458" height="308" alt="earth" />
+<img src="images/flight.jpg" width="512" height="307" alt="flight" />
+<img src="images/rocket.jpg" width="300" height="353" alt="rocket" />
 
 <a id="previous" href="#">Previous</a>
 <a id="next" href="#">Next</a>
index f49b1072f7c640414325ccea0bf39d7b14b3b7d1..87b581844729b3de0c8fd14c6f9c28364a4bb79f 100644 (file)
@@ -51,7 +51,7 @@
 <ul id="sortable3" class='droptrue'>
 </ul>
 
-<br clear="both" />
+<br style="clear:both" />
 
 </div><!-- End demo -->
 
index 41739cfa78a2a245874c4e75210558c81bd58bd9..d6ce27f69069cf0828954e8445b6ea10c5dd477a 100644 (file)
@@ -52,7 +52,7 @@
 <div class="ui-widget photo">
        <div class="ui-widget-header ui-corner-all">
                <h2>St. Stephen's Cathedral</h2>
-               <h3><a href="http://maps.google.com/maps?q=vienna,+austria&z=11" data-geo>Vienna, Austria</a></h3>
+               <h3><a href="http://maps.google.com/maps?q=vienna,+austria&amp;z=11" data-geo>Vienna, Austria</a></h3>
        </div>
        <a href="http://en.wikipedia.org/wiki/File:Wien_Stefansdom_DSC02656.JPG">
                <img src="images/st-stephens.jpg" alt="St. Stephen's Cathedral" class="ui-corner-all">
@@ -62,7 +62,7 @@
 <div class="ui-widget photo">
        <div class="ui-widget-header ui-corner-all">
                <h2>Tower Bridge</h2>
-               <h3><a href="http://maps.google.com/maps?q=london,+england&z=11" data-geo>London, England</a></h3>
+               <h3><a href="http://maps.google.com/maps?q=london,+england&amp;z=11" data-geo>London, England</a></h3>
        </div>
        <a href="http://en.wikipedia.org/wiki/File:Tower_bridge_London_Twilight_-_November_2006.jpg">
                <img src="images/tower-bridge.jpg" alt="Tower Bridge" class="ui-corner-all">