From 081a46c490c826f573c75c91b36f4c5ef4c0aa3f Mon Sep 17 00:00:00 2001 From: Mukul Date: Fri, 2 Sep 2016 12:39:13 +0530 Subject: [PATCH] this is work of edit style popup checkbox --- 400-SOURCECODE/AIAHTML5.Web/index.html | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html index b84132d..8d10752 100644 --- a/400-SOURCECODE/AIAHTML5.Web/index.html +++ b/400-SOURCECODE/AIAHTML5.Web/index.html @@ -707,7 +707,7 @@
-
+
@@ -715,7 +715,7 @@
-
+
@@ -744,7 +744,7 @@ -
+
@@ -798,26 +798,39 @@ if (document.getElementById('fill-option').checked) { - $("#filloption1").css({ "pointer-events": "auto" }); - $("#filloption12").css({ "pointer-events": "auto" }); + //$("#filloption1").css({ "pointer-events": "auto" }); + //$("#filloption12").css({ "pointer-events": "auto" }); $("#edit-slider-3").css({ "pointer-events": "auto" }); $("#edit-slider-4").css({ "pointer-events": "auto" }); $("#editstylebackgroundcolor").css({ "pointer-events": "auto" }); $("#editstyleTexture").css({ "pointer-events": "auto" }); $(".filloptionopacity label").css({ "cursor": "pointer" }); $(".filloptionopacity").css({ "opacity": "1" }) + document.getElementById("filloption1").disabled = false; + document.getElementById("filloption2").disabled = false; + document.getElementById("filloption1").style.cursor = "default"; + document.getElementById("filloption2").style.cursor = "default"; + + + } else { - $("#filloption1").css({ "pointer-events": "none" }); - $("#filloption2").css({ "pointer-events": "none" }); + //$("#filloption1").css({ "pointer-events": "none" }); + //$("#filloption2").css({ "pointer-events": "none" }); $("#edit-slider-3").css({ "pointer-events": "none"}); $("#edit-slider-4").css({ "pointer-events": "none"}); $("#editstylebackgroundcolor").css({ "pointer-events": "none"}); $("#editstyleTexture").css({ "pointer-events": "none" }); $(".filloptionopacity label").css({ "cursor": "default" }); - $(".filloptionopacity").css({ "opacity": ".5"}) + $(".filloptionopacity").css({ "opacity": ".5" }) + document.getElementById("filloption1").disabled = true; + document.getElementById("filloption2").disabled = true; + document.getElementById("filloption1").style.cursor = "default"; + document.getElementById("filloption2").style.cursor = "default"; + + } -- libgit2 0.21.4