Fix ids, remove duplicated names for sliders
authorPrzemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Fri, 8 Mar 2013 13:38:23 +0000 (14:38 +0100)
committerYoumin Ha <youmin.ha@samsung.com>
Fri, 22 Mar 2013 11:20:36 +0000 (20:20 +0900)
Change-Id: Iecb428b11627289797a80cce9cfb1f0e21541d4c

demos/tizen-winsets/index.html

index f5fbe3a..0cc1600 100644 (file)
                <div data-role="content">
                        <ul data-role="listview">
                                <li data-role="list-divider">Normal Slider</li>
-                               <li><input id="mySlider" name="mySlider" data-popup='false' type="range" name="slider" value="5" min="0" max="10" /></li>
+                               <li><input id="mySlider1" name="mySlider1" data-popup='false' type="range" value="5" min="0" max="10" /></li>
                                <li data-role="list-divider">Popup Slider</li>
                                <li><input id="mySlider2" name="mySlider2" type="range" value="50" min="0" max="100" /></li>
                                <li data-role="list-divider">Icon Slider</li>
-                               <li><input id="mySlider3" name="mySlider3" data-popup='false' type="range" name="slider" value="5" min="0" max="10" data-icon='bright'/></li>
-                               <li><input id="mySlider4" name="mySlider4" data-popup='false' type="range" name="slider" value="5" min="0" max="10" data-icon='volume'/></li>
+                               <li><input id="mySlider3" name="mySlider3" data-popup='false' type="range" value="5" min="0" max="10" data-icon='bright'/></li>
+                               <li><input id="mySlider4" name="mySlider4" data-popup='false' type="range" value="5" min="0" max="10" data-icon='volume'/></li>
                                <li data-role="list-divider">Text Slider</li>
-                               <li><input id="mySlider5" name="mySlider5" data-popup='false' type="range" name="slider" value="50" min="0" max="99" data-icon='text' data-text-left='0' data-text-right='99'/></li>
-                               <li><input id="mySlider5" name="mySlider5" data-popup='false' type="range" name="slider" value="5" min="0" max="10" data-icon='text' data-text-left='Min' data-text-right='Max'/></li>
+                               <li><input id="mySlider5" name="mySlider5" data-popup='false' type="range" value="50" min="0" max="99" data-icon='text' data-text-left='0' data-text-right='99'/></li>
+                               <li><input id="mySlider6" name="mySlider6" data-popup='false' type="range" value="5" min="0" max="10" data-icon='text' data-text-left='Min' data-text-right='Max'/></li>
                                <li data-role="list-divider">data-highlight="false"</li>
-                               <li><input id="mySlider" name="mySlider" data-popup='false' type="range" name="slider" value="5" min="0" max="10" data-highlight="false" /></li>
+                               <li><input id="mySlider7" name="mySlider7" data-popup='false' type="range" value="5" min="0" max="10" data-highlight="false" /></li>
                        </ul>
                </div><!-- /content -->
                <div data-role="footer">