]> source.dussan.org Git - jquery-ui.git/commitdiff
improved: import needed files only
authorFelix Nagel <info@felixnagel.com>
Wed, 11 Jul 2012 22:39:07 +0000 (00:39 +0200)
committerFelix Nagel <info@felixnagel.com>
Wed, 11 Jul 2012 22:39:07 +0000 (00:39 +0200)
demos/selectmenu/ajax.html
demos/selectmenu/background_image.html
demos/selectmenu/default.html
demos/selectmenu/dependency.html
demos/selectmenu/disable_enable.html
demos/selectmenu/methods.html
demos/selectmenu/overlay.html
demos/selectmenu/positioning.html
demos/selectmenu/refresh.html
demos/selectmenu/typeahead.html

index 3b6ba8b3f418a3dd0f7377a61f3a6f362b1e7c0a..afa65bf292ee82e8ed6355f9ca6283b66599d320 100644 (file)
@@ -4,7 +4,8 @@
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>Demo Page for jQuery UI selectmenu</title>
        
-       <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.core.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.theme.css" rel="stylesheet" />
        <link type="text/css" href="../../themes/base/jquery.ui.selectmenu.css" rel="stylesheet" />
        <script type="text/javascript" src="../../jquery-1.7.2.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
index e388127665030def76af12c758d5de7031abef57..6d152b33ae3cf3cbff64eefef0eff79c3151757f 100644 (file)
@@ -4,7 +4,8 @@
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>Demo Page for jQuery UI selectmenu</title>
        
-       <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.core.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.theme.css" rel="stylesheet" />
        <link type="text/css" href="../../themes/base/jquery.ui.selectmenu.css" rel="stylesheet" />
        <script type="text/javascript" src="../../jquery-1.7.2.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
index 1ea4d392e34e1786278dd972709c955fff358c8a..9b515c365cab31e3f63d58093927d7ed979bf0ec 100644 (file)
@@ -3,57 +3,58 @@
        <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>Demo Page for jQuery UI selectmenu</title>
-       
-       <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
+
+       <link type="text/css" href="../../themes/base/jquery.ui.core.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.theme.css" rel="stylesheet" />
        <link type="text/css" href="../../themes/base/jquery.ui.selectmenu.css" rel="stylesheet" />
        <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.selectmenu.js"></script>
 
        <style type="text/css">
                /* demo styles */
                body {font-size: 62.5%; font-family:"Verdana",sans-serif; }
-               fieldset { border:0; }  
+               fieldset { border:0; }
                label,select,.ui-select-menu { float: left; margin-right: 10px; }
                select { width: 200px; }
                .wrap ul.ui-selectmenu-menu-popup li a { font-weight: bold; }
        </style>
-       <script type="text/javascript"> 
-               $(function(){                   
+       <script type="text/javascript">
+               $(function(){
                        $('select#speedA').selectmenu({style:'popup'});
-                                               
+
                        $('select#speedAa').selectmenu({
-                               style:'popup', 
+                               style:'popup',
                                maxHeight: 150
                        });
                        $('select#speedAa').selectmenu("widget").addClass("wrap");
-                       
+
                        $('select#speedB').selectmenu({
-                               style:'popup', 
+                               style:'popup',
                                width: 300,
                                format: addressFormatting
                        });
-                       
+
                        $('select#speedC').selectmenu();
-                       
+
                        $('select#speedD').selectmenu({
                                menuWidth: 400,
                                format: addressFormatting
                        });
-                       
+
                        $('select#filesC').selectmenu({
-                               style:'popup', 
+                               style:'popup',
                                positionOptions: {
                                        my: "left center",
                                        at: "right center",
                                        offset: "10 0"
                                }
-                       });     
-               });             
-               
+                       });
+               });
+
                //a custom format option callback
                var addressFormatting = function(text){
                        var newText = text;
                                {find:/([^\|><\(\)]+)$/g, rep: '<span class="ui-selectmenu-item-content">$1</span>'},
                                {find:/(\([^\|><]+\))$/g, rep: '<span class="ui-selectmenu-item-footer">$1</span>'}
                        ];
-                       
+
                        for(var i in findreps){
                                newText = newText.replace(findreps[i].find, findreps[i].rep);
                        }
                        return newText;
-               }               
-               
+               }
+
                // add themeswitcher
-               $(function(){ 
+               $(function(){
                        var ts = $('<div class="ui-button ui-widget ui-state-default ui-corner-all" style="padding: 5px; position: absolute; top: 20px; right: 10px;">Click here to add Themeswitcher!</div>')
                        .appendTo('body')
                        .bind("click", function() {
                                ts.text("Loading Themeswitcher...");
                                $.getScript('http://ui.jquery.com/applications/themeroller/themeswitchertool/', function() {
-                                       ts.removeClass("ui-button ui-widget ui-state-default ui-corner-all").text("").unbind("click").themeswitcher(); 
+                                       ts.removeClass("ui-button ui-widget ui-state-default ui-corner-all").text("").unbind("click").themeswitcher();
                                });
-                       }); 
+                       });
                });
        </script>
 </head>
                                <option value="Faster">6 Faster</option>
                        </select>
                </fieldset>
-               
+
                <h2>Same with option text formatting</h2>
                <fieldset>
                        <label for="speedB">Select an Address:</label>
                                <option>Mad Doe Kiiid - 78 West Main St Apt 3A | Bloomsburg, PA 12345 (footer text)</option>
                        </select>
                </fieldset>
-               
+
                <h2>"dropdown" Style</h2>
                <fieldset>
                        <label for="speedC">Select a Speed:</label>
                                <option value="Fast">Fast</option>
                                <option value="Faster">Faster</option>
                        </select>
-               </fieldset>             
-               
+               </fieldset>
+
                <h2>"dropdown" Style with menuWidth wider than menu and text formatting</h2>
                <fieldset>
                        <label for="speedD">Select an Address:</label>
                                <option>Mad Doe Kiiid - 78 West Main St Apt 3A, Bloomsburg, PA 12345</option>
                        </select>
                </fieldset>
-               
+
                <h2>"popup" Style with custom positioning and optgroups</h2>            <fieldset>
                        <label for="filesC">Select a File:</label>
                        <select name="filesC" id="filesC">
index c0cbfde950fe31e8840155bb1f71f483c3108bee..b0fbb90bf9947d2084b7671d6d927899b6391744 100644 (file)
@@ -4,7 +4,8 @@
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>Demo Page for jQuery UI selectmenu</title>
        
-       <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.core.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.theme.css" rel="stylesheet" />
        <link type="text/css" href="../../themes/base/jquery.ui.selectmenu.css" rel="stylesheet" />
        <script type="text/javascript" src="../../jquery-1.7.2.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
index ff015db6996ed9210062fcbefeaf68026954763c..fd3191d789aa4da0d3d7b272ec9adaec5c9b7852 100644 (file)
@@ -4,7 +4,8 @@
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>Demo Page for jQuery UI selectmenu</title>
        
-       <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.core.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.theme.css" rel="stylesheet" />
        <link type="text/css" href="../../themes/base/jquery.ui.selectmenu.css" rel="stylesheet" />
        <script type="text/javascript" src="../../jquery-1.7.2.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
index d44581d80476dbf76f6b553b854747930dc4040e..f415d7741e38c8b94488e54758e8a07a978d0fba 100644 (file)
@@ -4,7 +4,8 @@
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>Demo Page for jQuery UI selectmenu</title>
        
-       <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.core.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.theme.css" rel="stylesheet" />
        <link type="text/css" href="../../themes/base/jquery.ui.selectmenu.css" rel="stylesheet" />
        <script type="text/javascript" src="../../jquery-1.7.2.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
index 4fb7942f6929d90810cba310ce1666bd4ece68b9..3f439d75b2cab5c636273ae48fbfe9f181501c86 100644 (file)
@@ -8,7 +8,8 @@
     <link rel="stylesheet" href="http://openlayers.org/dev/examples/style.css" type="text/css" />\r
     <!-- this gmaps key generated for http://openlayers.org/dev/ -->\r
 \r
-       <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />\r
+       <link type="text/css" href="../../themes/base/jquery.ui.core.css" rel="stylesheet" />\r
+       <link type="text/css" href="../../themes/base/jquery.ui.theme.css" rel="stylesheet" />\r
        <link type="text/css" href="../../themes/base/jquery.ui.selectmenu.css" rel="stylesheet" />\r
        <script type="text/javascript" src="../../jquery-1.7.2.js"></script>\r
        <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>\r
index a7711391efd31e7a9d8cef1d8219789264a5d570..ab8dfeafae8ab74c69759f116acf57891b34afd7 100644 (file)
@@ -4,7 +4,8 @@
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>Positioning Demos for jQuery UI selectmenu</title>
        
-       <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.core.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.theme.css" rel="stylesheet" />
        <link type="text/css" href="../../themes/base/jquery.ui.selectmenu.css" rel="stylesheet" />
        <script type="text/javascript" src="../../jquery-1.7.2.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
index cc029a7df388911dc9701fea1152390cb98c33ea..eba3e9e248972092d56aba73049d52722daefd08 100644 (file)
@@ -4,7 +4,8 @@
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>Demo Page for jQuery UI selectmenu</title>
        
-       <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.core.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.theme.css" rel="stylesheet" />
        <link type="text/css" href="../../themes/base/jquery.ui.selectmenu.css" rel="stylesheet" />
        <script type="text/javascript" src="../../jquery-1.7.2.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
index 6abd27498f53ac9ba43173d8c67d9889275b9269..fd8fa7bbe68d09231d56f51a1ea5d979f042ec58 100644 (file)
@@ -4,7 +4,8 @@
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>Demo Page for jQuery UI selectmenu</title>
        
-       <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.core.css" rel="stylesheet" />
+       <link type="text/css" href="../../themes/base/jquery.ui.theme.css" rel="stylesheet" />
        <link type="text/css" href="../../themes/base/jquery.ui.selectmenu.css" rel="stylesheet" />
        <script type="text/javascript" src="../../jquery-1.7.2.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>