commit 6ffbe9b1112d8314674cd62b0344855a454783f9 parent 002cb0ceed770188864652c64719e7842d671833 Author: MTRNord <mtrnord1@gmail.com> Date: Mon, 24 Nov 2014 07:46:47 +0100 moremore fixes! Diffstat:
| M | themes/jumbotron/index.php | | | 37 | +++++++++++++++++++------------------ |
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -75,24 +75,24 @@ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> -<script type="text/javascript"> -function Go (select) { - var wert = select.options[select.options.selectedIndex].value; - if (wert == "leer") { - select.form.reset(); - parent.frames["unten"].focus(); - return; - } else { - if (wert == "ende") { - top.location.href = parent.frames[1].location.href; - } else { - parent.frames["unten"].location.href = wert; - select.form.reset(); - parent.frames["unten"].focus(); - } - } -} -</script> + <script type="text/javascript"> + function Go (select) { + var wert = select.options[select.options.selectedIndex].value; + if (wert == "leer") { + select.form.reset(); + parent.frames["unten"].focus(); + return; + } else { + if (wert == "ende") { + top.location.href = parent.frames[1].location.href; + } else { + parent.frames["unten"].location.href = wert; + select.form.reset(); + parent.frames["unten"].focus(); + } + } + } + </script> @@ -203,6 +203,7 @@ function Go (select) { <option value='../accentbox'>Accentbox</option> <option value='../parkzone'>ParkZone</option> <option value='../zResponsiv'>zResponsiv</option> + <option value='ende'>Beenden</option> </select></p> </form> <p><a class='btn btn-default' href='#' role='button'>$name_details »</a></p>