diff --git a/fusion.php b/fusion.php
index 1fb0b67..defabe1 100644
--- a/fusion.php
+++ b/fusion.php
@@ -26,7 +26,14 @@ for($i = 0; $i < imagecolorstotal($from); $i++)
echo "\n";
}
- imagecolorset($from, $i, $colorFrom["red"], $colorFrom["green"], $colorFrom["blue"]);
+ if($getFrom == $getTo)
+ {
+ imagecolorset($from, $i, 255 - $colorFrom["red"], 255 - $colorFrom["green"], 255 - $colorFrom["blue"]);
+ }
+ else
+ {
+ imagecolorset($from, $i, $colorFrom["red"], $colorFrom["green"], $colorFrom["blue"]);
+ }
}
}
diff --git a/fusion_ajax.php b/fusion_ajax.php
index e2c53ce..df87c5d 100644
--- a/fusion_ajax.php
+++ b/fusion_ajax.php
@@ -30,7 +30,19 @@ if(!empty($from) && !empty($to))
?>
-
+
diff --git a/index.php b/index.php
index c109c87..7b2ac8c 100644
--- a/index.php
+++ b/index.php
@@ -194,9 +194,9 @@ else
var fromSelected = $("#from")[0].selectedIndex;
var toSelected = $("#to")[0].selectedIndex;
- $("#to")[0].options[fromSelected].disabled = true;
+ //$("#to")[0].options[fromSelected].disabled = true;
- $("#from")[0].options[toSelected].disabled = true;
+ //$("#from")[0].options[toSelected].disabled = true;
jQuery.get('fusion_ajax.php', {from: from, to: to}, function(data, textStatus, xhr) {
$("#resultDivContent").html(data);
diff --git a/zalgo.php b/zalgo.php
new file mode 100644
index 0000000..6b8f1b4
--- /dev/null
+++ b/zalgo.php
@@ -0,0 +1,125 @@
+
\ No newline at end of file