Commit 081a46c490c826f573c75c91b36f4c5ef4c0aa3f
1 parent
a19d5ae5
this is work of edit style popup checkbox
Showing
1 changed file
with
21 additions
and
8 deletions
400-SOURCECODE/AIAHTML5.Web/index.html
... | ... | @@ -707,7 +707,7 @@ |
707 | 707 | <div class="col-sm-6 no-padding marginTop10 filloptionopacity"> |
708 | 708 | <div class="row"> |
709 | 709 | <label class="pull-left" style="font-weight:normal;">Scale</label> |
710 | - <div class="pull-left" style="width:62%; margin-left:3%; margin-top:2%;"> | |
710 | + <div id="edit-slider-3" class="pull-left" style="width:62%; margin-left:3%; margin-top:2%;"> | |
711 | 711 | <div id="slider-range-min-3"></div> |
712 | 712 | <!--<p>Your slider has a value of <span id="slider-value"></span></p>--> |
713 | 713 | </div> |
... | ... | @@ -715,7 +715,7 @@ |
715 | 715 | |
716 | 716 | <div class="row"> |
717 | 717 | <label class="pull-left" style="font-weight:normal;">Opacity</label> |
718 | - <div class="pull-left" style="width:53%; margin-left:3%; margin-top:2%;"> | |
718 | + <div id="edit-slider-4" class="pull-left" style="width:53%; margin-left:3%; margin-top:2%;"> | |
719 | 719 | <div id="slider-range-min-4"></div> |
720 | 720 | </div> |
721 | 721 | </div> |
... | ... | @@ -744,7 +744,7 @@ |
744 | 744 | <!--<span class="demo " data-control="hue" style="float:left;"> </span>--> |
745 | 745 | |
746 | 746 | |
747 | - <div class="form-group" style="display:inline-flex;vertical-align:top;cursor:pointer;margin-right:36px;"> | |
747 | + <div class="form-group" id="editstylebordercolor" style="display:inline-flex;vertical-align:top;cursor:pointer;margin-right:36px;"> | |
748 | 748 | |
749 | 749 | <input type="text" class="form-control borderColorCanvasPreview" data-control="saturation" style="display:none;" value="#0088cc"> |
750 | 750 | </div> |
... | ... | @@ -798,26 +798,39 @@ |
798 | 798 | if (document.getElementById('fill-option').checked) |
799 | 799 | { |
800 | 800 | |
801 | - $("#filloption1").css({ "pointer-events": "auto" }); | |
802 | - $("#filloption12").css({ "pointer-events": "auto" }); | |
801 | + //$("#filloption1").css({ "pointer-events": "auto" }); | |
802 | + //$("#filloption12").css({ "pointer-events": "auto" }); | |
803 | 803 | $("#edit-slider-3").css({ "pointer-events": "auto" }); |
804 | 804 | $("#edit-slider-4").css({ "pointer-events": "auto" }); |
805 | 805 | $("#editstylebackgroundcolor").css({ "pointer-events": "auto" }); |
806 | 806 | $("#editstyleTexture").css({ "pointer-events": "auto" }); |
807 | 807 | $(".filloptionopacity label").css({ "cursor": "pointer" }); |
808 | 808 | $(".filloptionopacity").css({ "opacity": "1" }) |
809 | + document.getElementById("filloption1").disabled = false; | |
810 | + document.getElementById("filloption2").disabled = false; | |
811 | + document.getElementById("filloption1").style.cursor = "default"; | |
812 | + document.getElementById("filloption2").style.cursor = "default"; | |
813 | + | |
814 | + | |
815 | + | |
809 | 816 | } |
810 | 817 | else |
811 | 818 | { |
812 | 819 | |
813 | - $("#filloption1").css({ "pointer-events": "none" }); | |
814 | - $("#filloption2").css({ "pointer-events": "none" }); | |
820 | + //$("#filloption1").css({ "pointer-events": "none" }); | |
821 | + //$("#filloption2").css({ "pointer-events": "none" }); | |
815 | 822 | $("#edit-slider-3").css({ "pointer-events": "none"}); |
816 | 823 | $("#edit-slider-4").css({ "pointer-events": "none"}); |
817 | 824 | $("#editstylebackgroundcolor").css({ "pointer-events": "none"}); |
818 | 825 | $("#editstyleTexture").css({ "pointer-events": "none" }); |
819 | 826 | $(".filloptionopacity label").css({ "cursor": "default" }); |
820 | - $(".filloptionopacity").css({ "opacity": ".5"}) | |
827 | + $(".filloptionopacity").css({ "opacity": ".5" }) | |
828 | + document.getElementById("filloption1").disabled = true; | |
829 | + document.getElementById("filloption2").disabled = true; | |
830 | + document.getElementById("filloption1").style.cursor = "default"; | |
831 | + document.getElementById("filloption2").style.cursor = "default"; | |
832 | + | |
833 | + | |
821 | 834 | |
822 | 835 | } |
823 | 836 | ... | ... |