Commit 14076830 by yuward

changed name of sliding js from frontSide to slide

parent 67f45f24
...@@ -111,7 +111,7 @@ function area_options() ...@@ -111,7 +111,7 @@ function area_options()
</div> </div>
<script src="../js/frontSide.js"></script> <script src="../js/slide.js"></script>
<div id="title"> <div id="title">
<h1>Area</h1> <h1>Area</h1>
</div> </div>
......
...@@ -145,7 +145,7 @@ function length_options(){ ...@@ -145,7 +145,7 @@ function length_options(){
</div> </div>
<script src="../js/frontSide.js"></script> <script src="../js/slide.js"></script>
<div id="title"> <div id="title">
<h1>Length</h1> <h1>Length</h1>
</div> </div>
......
...@@ -77,7 +77,7 @@ $speed_options = array( ...@@ -77,7 +77,7 @@ $speed_options = array(
</div> </div>
<script src="../js/frontSide.js"></script> <script src="../js/slide.js"></script>
<div id="title"> <div id="title">
<h1>Speed</h1> <h1>Speed</h1>
</div> </div>
...@@ -97,7 +97,7 @@ $speed_options = array( ...@@ -97,7 +97,7 @@ $speed_options = array(
foreach ($speed_options as $unit) { foreach ($speed_options as $unit) {
$opt = optionize($unit); $opt = optionize($unit);
echo "<option value=\"{$opt}\""; echo "<option value=\"{$opt}\"";
if ($from_unit == $opt) { if ($_POST[$from_unit] == $opt) {
echo " selected"; echo " selected";
} }
echo ">{$unit}</option>"; echo ">{$unit}</option>";
......
...@@ -124,7 +124,7 @@ $temp_options = array( ...@@ -124,7 +124,7 @@ $temp_options = array(
</div> </div>
<script src="../js/frontSide.js"></script> <script src="../js/slide.js"></script>
<div id="title"> <div id="title">
<h1>Temperature</h1> <h1>Temperature</h1>
</div> </div>
......
...@@ -95,7 +95,7 @@ $volume_options = array( ...@@ -95,7 +95,7 @@ $volume_options = array(
</div> </div>
<script src="../js/frontSide.js"></script> <script src="../js/slide.js"></script>
<div id="title"> <div id="title">
<h1>Volume</h1> <h1>Volume</h1>
</div> </div>
......
...@@ -130,7 +130,7 @@ $mass_options = array( ...@@ -130,7 +130,7 @@ $mass_options = array(
</div> </div>
<script src="../js/frontSide.js"></script> <script src="../js/slide.js"></script>
<div id="title"> <div id="title">
<h1>Weight</h1> <h1>Weight</h1>
</div> </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