|
8 | 8 | <link type="text/css" rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
|
9 | 9 | <script src="http://code.jquery.com/jquery-1.7.js" type="text/javascript"></script>
|
10 | 10 | <script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js" type="text/javascript"></script>
|
11 |
| - --> |
| 11 | + --> |
12 | 12 | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>
|
13 | 13 | <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js" type="text/javascript"></script>
|
14 |
| - |
15 | 14 | <!-- Some custom library to enable 'taphold' events -->
|
16 | 15 | <script src="jquery-taphold/taphold.js" type="text/javascript"></script>
|
17 | 16 |
|
@@ -217,20 +216,20 @@ <h3>Sample 2</h3>
|
217 | 216 | </div>
|
218 | 217 |
|
219 | 218 | <ul id="options" style="display: none;">
|
220 |
| - <li><a href="#action1"><span class="ui-icon custom-icon-firefox"></span>Action 1</a> |
221 |
| - <li><a href="#action2"><span class="ui-icon ui-icon-heart"></span>Action 2</a> |
222 |
| - <li class="ui-state-disabled"><a href="#action3">Action 3</a> |
| 219 | + <li data-command="action1"><a href="#"><span class="ui-icon custom-icon-firefox"></span>Action 1</a> |
| 220 | + <li data-command="action2"><a href="#"><span class="ui-icon ui-icon-heart"></span>Action 2</a> |
| 221 | + <li data-command="action3" class="ui-state-disabled"><a href="#">Action 3</a> |
223 | 222 | <li>----
|
224 | 223 | <li><a>Extra</a>
|
225 | 224 | <ul>
|
226 |
| - <li><a href="#action4">sub4</a> |
227 |
| - <li><a href="#action5">sub5</a> |
| 225 | + <li data-command="action4"><a href="#">sub4</a> |
| 226 | + <li data-command="action5"><a href="#">sub5</a> |
228 | 227 | </ul>
|
229 | 228 | </ul>
|
230 | 229 |
|
231 | 230 | <ul id="options2" class="ui-helper-hidden">
|
232 |
| - <li><a href="#action2"><span class="ui-icon ui-icon-heart"></span>Action 2</a> |
233 |
| - <li class="ui-state-disabled"><a href="#action3">Action 3</a> |
| 231 | + <li data-command="action2"><a href="#action2"><span class="ui-icon ui-icon-heart"></span>Action 2</a> |
| 232 | + <li data-command="action3" class="ui-state-disabled"><a href="#">Action 3</a> |
234 | 233 | </ul>
|
235 | 234 |
|
236 | 235 | <h3>Sample 3</h3>
|
|
0 commit comments