|
145 | 145 | .BindTo(new SelectList(Model.colorList)) |
146 | 146 | .SelectedIndex(0))</td--> |
147 | 147 | <td> |
148 | | - <input type="text" id="Color" style="height:28px;border-width:2px;width:180px;" class="demo" data-opacity=".5" data-swatches="#00ff00|#ff0000|#ffa07a|#000000|#bebebe|#ffffff|#ee82ee|#add8e6|#4682b4|#00ffff|#d8bfd8|#0000ff|#a020f0|#2e8b57|#b03060|#f5deb3|#d2691e|ffa500|#90ee90|#ebebeb|#ffff00|#a52a2a|#ffeeee|#c71585" value="#f00"> |
| 148 | + <input type="text" id="Color" style="height:28px;border-width:2px;width:180px;" class="demo" data-opacity="1" value="#f00"> |
149 | 149 | </td> |
150 | 150 | <td>Coordinate Type:</td> |
151 | 151 | <td> |
|
361 | 361 | keywords: $(this).attr('data-keywords') || '', |
362 | 362 | inline: $(this).attr('data-inline') === 'true', |
363 | 363 | letterCase: $(this).attr('data-letterCase') || 'lowercase', |
364 | | - opacity: $(this).attr('data-opacity'), |
| 364 | + //opacity: $(this).attr('data-opacity'), |
365 | 365 | position: $(this).attr('data-position') || 'bottom left', |
366 | | - swatches: $(this).attr('data-swatches') ? $(this).attr('data-swatches').split('|') : [], |
367 | | - change: function (hex, opacity) { |
368 | | - var log; |
369 | | - try { |
370 | | - log = hex ? hex : 'transparent'; |
371 | | - if (opacity) log += ', ' + opacity; |
372 | | - console.log(log); |
373 | | - } catch (e) { } |
374 | | - }, |
| 366 | + //change: function(value, opacity) { |
| 367 | + // if (!value) return; |
| 368 | + // if (opacity) value += ', ' + opacity; |
| 369 | + // if (typeof console === 'object') { |
| 370 | + // console.log(value); |
| 371 | + // } |
| 372 | + // }, |
375 | 373 | theme: 'default' |
376 | 374 | }); |
377 | 375 |
|
378 | 376 | }); |
379 | 377 |
|
380 | 378 | }); |
381 | 379 |
|
| 380 | + //function (hex, opacity) { |
| 381 | + // var log; |
| 382 | + // try { |
| 383 | + // log = hex ? hex : 'transparent'; |
| 384 | + // if (opacity) log += ', ' + opacity; |
| 385 | + // console.log(log); |
| 386 | + // } catch (e) { } |
| 387 | + //}, |
| 388 | +
|
382 | 389 | function ComboBox_onChange(e) { |
383 | 390 | var didntChange = $(".plotids").not(e); |
384 | 391 | didntChange.val(""); |
|
0 commit comments