Commit 14076830 by yuward

changed name of sliding js from frontSide to slide

parent 67f45f24
......@@ -111,7 +111,7 @@ function area_options()
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Area</h1>
</div>
......
......@@ -145,7 +145,7 @@ function length_options(){
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Length</h1>
</div>
......
......@@ -77,7 +77,7 @@ $speed_options = array(
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Speed</h1>
</div>
......@@ -97,7 +97,7 @@ $speed_options = array(
foreach ($speed_options as $unit) {
$opt = optionize($unit);
echo "<option value=\"{$opt}\"";
if ($from_unit == $opt) {
if ($_POST[$from_unit] == $opt) {
echo " selected";
}
echo ">{$unit}</option>";
......
......@@ -124,7 +124,7 @@ $temp_options = array(
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Temperature</h1>
</div>
......
......@@ -95,7 +95,7 @@ $volume_options = array(
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Volume</h1>
</div>
......
......@@ -130,7 +130,7 @@ $mass_options = array(
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Weight</h1>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment